This article uses a specific example to illustrate how to configure the access to ADSL through the vro. What problems should we pay attention to during access? The following articles will benefit you a lot.
Note: In this case, a common adsl modem and a cisco 25001841) router (dual Ethernet port) and IOS 12.2 (15) T need to be used to connect to the China Telecom adsl PPPoE, able to achieve LAN Internet sharing.
The configuration of this case is divided into seven steps:
Step 1: Configure vpdn
Router (config) # vpdn enable (enable VPC-vpnd of the router)
Router (config) # vpdn-group office creates a vpdn group office)
Router (config-vpdn) # request-dialin (initialize a vpnd tunnel and create a vpdn sub-group for the request to be dial in ,)
Router (config-vpdn-req-in) # protocol pppoe (vpdn sub-groups use pppoe to establish a session tunnel)
Step 2: configure the interface for connecting the router to the adsl modem
Router (config) # interface fastEthernet 0/1
Router (config-if) # no ip address
Router (config-if) # pppoe enable allows the Ethernet interface to run pppoe
Router (config-if) # pppoe-client dial-pool-number1 Add the pppoe dial-up client of the Ethernet interface to dial-up pool 1
Step 3: configure the logical dialing interface:
Router (config) # interface dialer1 configure the logical dialing interface)
Router (config-if) # ip address negotiated obtains the ip address from the dynamic negotiation of the adsl service provider)
Router (config-if) # ip nat outside enables NAT for this interface)
Router (config-if) # encapsulation ppp encapsulates the PPP protocol for this interface)
Router (config-if) # dialer pool 1 this interface uses the dialing pool No. 1 for dialing)
Router (config-if) # dialer-group 1 this command is of little significance to pppoe)
Router (config-if) # enable ppp pap verification for ppp authentication pap callin)
Router (config-if) # $ t-username fsDSL86257576@163.gd password 12345678
Use the applied user name and password)
Step 4: Configure internal network interfaces
Router (config) # interface fastethernet0/0 configure the internal network interface)
Router (config-if) # ip address 10.10.10.1 255.255.255.0 configure the ip address)
Router (config-if) # enable nat for ip NAT inside)
Step 5: configure the router to provide dhcp service for the internal network host
Router (config) # ip dhcp excluded-address 10.10.10.1
Router (config) # ip dhcp pool ABC creates an address pool)
Router (dhcp-config) # import all (import dns and wins server to obtain DNS information from the carrier)
Router (dhcp-config) # network 10.10.10.0 255.255.255.0
Router (dhcp-config) # default-router 10.10.10.1
Step 6: Configure NAT:
Router (config) # access-list 1 permit 10.10.10.0 0.0.255
Router (config) # ip nat inside source list 1 interface dialer 1 overload
Step 7: configure the default route
Router (config) ip route 0.0.0.0 0.0.0.0 Dialer1