Describes how a router Implements ADSL Access: For a Cisco router, the configuration of the router Implements ADSL access is divided into seven steps: The following gives a detailed introduction.
◆ Vro for ADSL Access Step 1: Configure vpdn
Vpdn enable (VPC-enabled dial-up network --- vpnd)
Vpdn-group office (create a vpdn group ,)
Request-dialin (initialize a vpnd tunnel and create a vpdn sub-group to which the request is dial ,)
Protocol pppoe (vpdn sub-group uses pppoe to establish a session tunnel)
◆ Vro Implements ADSL Access Step 2: configure the interface for connecting the vro to the adsl modem
Interface Ethernet1
No ip address
Pppoe enable allows the Ethernet interface to run pppoe
Pppoe-client dial-pool-number 1 Add the pppoe dialing client of the Ethernet interface to the dialing pool 1
◆ Vro Implements ADSL Access Step 3: configure the logical dialing interface:
Interface Dialer1
Ip address negotiated obtains the ip address from the dynamic negotiation of the adsl service provider
Ip nat outside enables NAT for this interface
Encapsulation ppp encapsulates the ppp protocol for this interface
Dialer pool 1 this interface uses the dial-up pool No. 1 for dialing
Dialer-group 1 this command is of little significance to pppoe
Ppp authentication pap callin enables ppp pap Verification
Ppp pap sent-username xxxxxxx password 0 yyyyyyy use the applied user name and password
◆ Vro Implements ADSL Access Step 4: Configure internal network interfaces
Interface Ethernet0 (internal network interface)
Ip address 10.1.1.1 255.255.255.0
Ip nat inside enables NAT for this interface
◆ Vro Implements ADSL Access Step 5: configure the vro to provide dhcp services for internal network hosts
Ip dhcp excluded-address 10.1.1.1
Ip dhcp pool ABC
Import all (import dns and wins server)
Network 10.1.1.0 255.255.255.0
Default-router 10.1.1.1
◆ Step 6 of realizing ADSL access through a vro: Configure NAT:
Access-list 1 permit 10.1.1.0 0.0.255
Ip nat inside source list 1 interface Dialer1 overload
◆ Step 7 of realizing ADSL access through a vro: configure the default route
Ip route 0.0.0.0 0.0.0.0 Dialer1