Cisco DSL Router Configuration and Troubleshooting Guide - Step-by-Step Configuration of PPPoE with a Dynamic IP Address

From thelinuxwiki
Revision as of 20:37, 12 May 2013 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD>

       <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
       <TITLE></TITLE>
       <META NAME="GENERATOR" CONTENT="LibreOffice 4.0.2.2 (Linux)">
       <META NAME="CREATED" CONTENT="20130512;15261600">
       <META NAME="CHANGED" CONTENT="20130512;15335300">
       <STYLE TYPE="text/css">
       </STYLE>

</HEAD> <BODY LANG="en-US" DIR="LTR">

<A NAME="intro"></A> Introduction

Your Internet Service Provider (ISP) has assigned a dynamic public IP address to your Cisco Digital Subscriber Line (DSL) Router.

<A NAME="prereq"></A> Prerequisites

<A NAME="req"></A> Requirements

There are no specific requirements for this document.

<A NAME="hw"></A> Components Used

This document is not restricted to specific software and hardware versions.

<A NAME="conv"></A> Conventions

Refer to <A HREF="http://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a00 80121ac5.shtml" ONCLICK="s_objectID="http://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080121ac5.shtml_1& quot;;return this.s_oc?this.s_oc(e):true">Cisco Technical Tips Conventions</A> for more information on document conventions.

<A NAME="maintask1"></A> Configuration Procedures

Important: Before you begin, close all programs on the PC that might be monitoring your COM port. Devices such as PDAs and digital cameras often place programs in the system tray that render your COM port unusable for the configuration of your Cisco DSL Router.

<A NAME="c1"></A> Connect the Cisco DSL Router and Your PC

A console connection is made with a rolled cable and connects the console port of the Cisco DSL Router to a COM port on a PC. The console cable that is included with the Cisco DSL Router is a flat light blue cable. For more information on the pinouts of a rolled cable, or the pinouts of an RJ-45 to DB9 converter, refer to <A HREF="http://www.cisc o.com/en/US/products/hw/routers/ps332/products_tech_note09186a0080094ce6.shtml" ONCLICK="s_objectID="http://www.cisco.com/en/US /products/hw/routers/ps332/products_tech_note09186a0080094ce6.shtml_1";return this.s_oc?this.s_oc(e):true">Cabling Guide for Console and AUX Ports</A>.

  1. Connect the RJ-45 connector on one end of a Cisco console cable to the console port of the Cisco DSL Router.

  2. Connect the RJ-45 connector at the other end of the console cable to an RJ-45 to DB9 converter.

  3. Connect the DB9 connector to an open COM port on your PC.

<A NAME="c2"></A> Start and Set Up HyperTerminal

Complete these steps:

  1. Start the HyperTerminal program on the PC.

  2. Set up your HyperTerminal session.

    1. Assign a name to your session and click OK.

    2. In the Connect To window, click Cancel.

    3. Choose F ile > Properties.

    4. From the Properties window, go to the Connect Using list and select the COM port where you connect the DB9 end of the console cable.

    5. From the Properties window click Configure and fill in these values:

      • Bits per second: 9600

      • Data bits: 8

      • Parity:& nbsp;None

      • Stop bits: 1

      • Flow Control: None

    6. Click OK .

    7. From the Call menu, click Disconnect.

    8. From the Call menu, click Call.

    9. Press En ter until you see a router prompt on your HyperTerminal window.

<A NAME="c3"></A> Clear Existing Configurations on the Cisco DSL Router

Complete these steps:

  1. Type enable& nbsp;at the router prompt in order to enter privileged mode.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router><B>enable</B></FONT></FONT></FON
    T>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#</FONT></FONT></FONT>
    
    <FONT COLOR="#0000ff"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><I>!--- The # symbol indicates 
    that you are in privileged mode.</I></FONT></FONT></FONT>
    
  2. Clear existing configurations on the router.

    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>write eras
    e</B></FONT></FONT></FONT>
  3. Reload the router so that it boots with a blank startup configuration.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>reload</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">System configuration has been m
    odified. Save? [yes/no]:<B>no</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Proceed with reload? [confirm]<
    B>yes</B></FONT></FONT></FONT>
    
    <FONT COLOR="#0000ff"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><I>!--- The router reload can t
    ake a few minutes.</I></FONT></FONT></FONT>
    
  4. After the router has reloaded, enter enable mode again.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router><B>enable</B></FONT></FONT></FON
    T>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#</FONT></FONT></FONT></P
    RE>
    </OL>
    <H3 CLASS="western" STYLE="font-variant: normal; font-style: normal"><A NAME="c4"></A>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif">Configure
    the Cisco DSL Router</FONT></FONT></H3>
    <P STYLE="font-variant: normal; font-style: normal; font-weight: normal">
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=2 STYLE="font-size: 9pt">Complete
    these steps.</FONT></FONT></FONT></P>
    <OL>
            <LI><P STYLE="font-variant: normal; font-style: normal; font-weight: normal">
            <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=2 STYLE="font-size: 9pt">Configure <B>servic
    e
            timestamp</B> to properly log and display <B>debug</B> output
            in the troubleshooting section.</FONT></FONT></FONT></P>
            <PRE CLASS="western" STYLE="margin-right: 0.39in; font-variant: normal; font-style: normal; font-weight: normal"><FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>configure terminal</B></FONT></F
    ONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>service times
    tamps debug datetime msec</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>service times
    tamps log datetime msec</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>end</B></FONT
    ></FONT></FONT>
  5. Disable the logging console on your Cisco DSL Router in order to suppress console messages that might be triggered while you configure the router.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>configure terminal</B></FONT></F
    ONT></FONT>
    <FONT COLOR="#000000">      <FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><SPAN STYLE="font-style: 
    normal"><SPAN STYLE="font-weight: normal">Router(config)#</SPAN></SPAN></FONT></FONT><FONT FACE="arial, helvetica, sans-serif"><FONT
     SIZE=3 STYLE="font-size: 11pt"><SPAN STYLE="font-style: normal"><B>no logging console</B></SPAN></FONT></FONT></FONT>
    <FONT COLOR="#000000">      <FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><SPAN STYLE="font-style: 
    normal"><SPAN STYLE="font-weight: normal">Router(config)#</SPAN></SPAN></FONT></FONT><FONT FACE="arial, helvetica, sans-serif"><FONT
     SIZE=3 STYLE="font-size: 11pt"><SPAN STYLE="font-style: normal"><B>end</B></SPAN></FONT></FONT></FONT>
  6. Configure ip routingip subnet-zero, and ip classless in order to provide flexibility in routing configuration options.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>configure terminal</B></FONT></F
    ONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>ip routing</B
    ></FONT></FONT></FONT>
    
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>ip subnet-zer
    o</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>ip classless<
    /B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>end</B></FONT
    ></FONT></FONT>
  7. Configure global Point-to-Point Protocol over Ethernet (PPPoE) parameters.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>configure terminal</B></FONT></F
    ONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>vpdn enable</
    B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>no vpdn loggi
    ng</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>vpdn-group pp
    poe</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-vpdn)#<B>request-
    dialin</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-vpdn-req-in)#<B>p
    rotocol pppoe</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-vpdn-req-in)#<B>e
    nd</B></FONT></FONT></FONT>
  8. Configure an IP address and subnet mask on the Cisco DSL Router Ethernet interface.

    For Network Address Translation (NAT): (Optional) Enable NAT inside on the Ethernet interface.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>configure terminal</B></FONT></F
    ONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>interface eth
    ernet 0</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>ip tcp adj
    ust-mss 1452</B></FONT></FONT></FONT>
    
    <FONT COLOR="#0000ff"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><I>!--- If the <B>ip tcp adjust
    -mss 1452</B> command is not supported, try </I></FONT></FONT></FONT>
    <FONT COLOR="#0000ff"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><I>!--- <B>ip adjust-mss 1452</
    B>. If this command is not supported, </I></FONT></FONT></FONT>
    <FONT COLOR="#0000ff"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><I>!--- upgrade to the latest C
    isco DSL Router software or follow the </I></FONT></FONT></FONT>
    <SPAN STYLE="font-variant: normal"><FONT COLOR="#0000ff"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11
    pt"><I><SPAN STYLE="font-weight: normal">!--- procedure in the </SPAN></I></FONT></FONT></FONT></SPAN><A HREF="http://www.cisco.com/
    en/US/tech/tk175/tk15/technologies_configuration_example09186a008071a6c3.shtml#poss" ONCLICK="s_objectID="http://www.cisco.com/
    en/US/tech/tk175/tk15/technologies_configuration_example09186a008071a6c3.sht_2";return this.s_oc?this.s_oc(e):true"><SPAN STYLE
    ="font-variant: normal"><FONT COLOR="#003399"><SPAN STYLE="text-decoration: none"><FONT FACE="arial, helvetica, sans-serif"><FONT SI
    ZE=1 STYLE="font-size: 8pt"><I><SPAN STYLE="font-weight: normal">Possible Required Configuration Steps on the PC</SPAN></I></FONT></
    FONT></SPAN></FONT></SPAN></A><SPAN STYLE="font-variant: normal"><FONT COLOR="#0000ff"><FONT FACE="arial, helvetica, sans-serif"><FO
    NT SIZE=3 STYLE="font-size: 11pt"><I><SPAN STYLE="font-weight: normal">.</SPAN></I></FONT></FONT></FONT></SPAN>
    
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>ip address
     <ip address> <subnet mask></B></FONT></FONT></FONT>
    
    <FONT COLOR="#0000ff"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><I>!--- For NAT:</I></FONT></FO
    NT></FONT>
    
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>ip nat ins
    ide</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>no shut</B
    ></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>end</B></F
    ONT></FONT></FONT>
  9. Configure the ATM interface of your Cisco DSL Router with an ATM permanent virtual circuit (PVC), encapsulation type, and Dialer pool.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>configure terminal</B></FONT></F
    ONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>interface atm
     0</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>pvc <vp
    i/vci></B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if-atm-vc)#<B>ppp
    oe-client dial-pool-number 1</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if-atm-vc)#<B>no 
    shut</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if-atm-vc)#<B>end
    </B></FONT></FONT></FONT>
  10. Configure the Dialer interface of your Cisco DSL Router for Point-to-Point Protocol over ATM (PPPoA) in order to enable a dynamic IP address to be assigned.

    For NAT: (Optional) Enable NAT outside on the Dialer interface.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>configure terminal</B></FONT></F
    ONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>interface dia
    ler 1</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>ip address
     negotiated</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>mtu 1492</
    B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>no ip dire
    cted-broadcast</B></FONT></FONT></FONT>
    
    <FONT COLOR="#0000ff"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><I>!--- For NAT:</I></FONT></FO
    NT></FONT>
    <FONT COLOR="#000000"> </FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>ip nat out
    side</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>encapsulat
    ion ppp</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>dialer poo
    l 1</B>  </FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>ppp chap h
    ostname <username></B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>ppp chap p
    assword <password></B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>ppp pap se
    nt-username <username> password <password></B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config-if)#<B>end</B></F
    ONT></FONT></FONT>
  11. Configure a default route using Dialer1 as the outbound interface.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>configure terminal</B></FONT></F
    ONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>ip route 0.0.
    0.0 0.0.0.0 dialer1</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>end</B></FONT
    ></FONT></FONT>
  12. For NAT: Configure global NAT commands on the Cisco DSL Router to allow sharing of the dynamic public IP address of the Dialer interface.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>configure terminal</B></FONT></F
    ONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>ip nat inside
     source list 1 interface dialer1 overload</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>access-list 1
     permit <ip network address of ethernet0> </B></FONT></FONT></FONT>
    <FONT COLOR="#000000"> <FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><SPAN STYLE="font-style: norma
    l"><B><wildcard mask></B></SPAN></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>end</B></FONT
    ></FONT></FONT>

           Optional
    
    Configurations

    NAT Pool, if additional IP addresses have been provided by your ISP.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>ip nat inside source lis
    t 1 interface dialer1 overload </B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>ip nat pool &
    lt;nat pool name> <first ip address> </B></FONT></FONT></FONT>
    <FONT COLOR="#000000"> <FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><SPAN STYLE="font-style: norma
    l"><B><last ip address> netmask <subnet mask></B></SPAN></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>end</B></FONT
    ></FONT></FONT>

           Static
    
    NAT, if Internet users require access to internal servers.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>ip nat inside source sta
    tic tcp <inside ip address of server></B> </FONT></FONT></FONT>
    <FONT COLOR="#000000"> <FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><SPAN STYLE="font-style: norma
    l"><B>{80 or 25} <outside well-known ip address of server> {80 or 25} extendable</B></SPAN></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>end</B></FONT
    ></FONT></FONT>
  13. For Dynamic Host Configuration Protocol (DHCP): (Optional) Configure the Cisco DSL Router as a DHCP server with a pool of IP addresses to assign to hosts connected to the Ethernet interface of the Cisco DSL Router. The DHCP server dynamically assigns an IP address, Domain Name Server (DNS), and the default gateway IP address to your hosts.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>configure terminal</B></FONT></F
    ONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>ip dhcp exclu
    ded-address <ip address of ethernet0></B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>ip dhcp pool 
    <dhcp pool name></B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(dhcp-config)#<B>network 
    <ip network address of ethernet0> <subnet mask></B>  </FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(dhcp-config)#<B>default-
    router <ip address of ethernet0> </B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(dhcp-config)#<B>dns-serv
    er <ip address of primary dns server> </B></FONT></FONT></FONT>
    <FONT COLOR="#000000"> <FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt"><SPAN STYLE="font-style: norma
    l"><B><ip address of secondary dns server></B></SPAN></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(dhcp-config)#<B>end</B><
    /FONT></FONT></FONT>
  14. Enable the logging console on the Cisco DSL Router, and write all the changes to memory.

    <FONT COLOR
    ="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>configure terminal</B></FONT></F
    ONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>logging conso
    le</B></FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router(config)#<B>end</B></FONT
    ></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">*Jan 1 00:00:00.100: %SYS-5-CON
    FIG_I: Configured from console by console</FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#<B>write memory</B></FON
    T></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Building configuration... [OK]<
    /FONT></FONT></FONT>
    <FONT COLOR="#000000"><FONT FACE="arial, helvetica, sans-serif"><FONT SIZE=3 STYLE="font-size: 11pt">Router#</FONT></FONT></FONT></P
    RE>
    </OL>
    <H3 CLASS="western" STYLE="font-variant: normal; font-style: normal"><BR><BR>
    </H3>
    <P STYLE="margin-bottom: 0in"><BR>
    </P>
    </BODY>
    </HTML>
    
    
    [[category:cisco]]