Cisco 2500 router to use a lot of users, customers gave the following brief on the cisco 2500 router, ADSL access, how to realize the hope of help to you, give you better understanding of this route.
The first step: Configure vpdn
vpdn enable (enabled cisco 2500 router, virtual private dial-up --- vpnd)
vpdn-group office (a vpdn group)
request-dialin (initialize a vpnd tunnel, a sub-group vpdn incoming request),
protocol pppoe (vpdn pppoe set up sub-group sessions using the tunnel)
Step Two: Configure cisco 2500 router adsl modem interface
interface Ethernet1
no ip address
pppoe enable pppoe allowed to run Ethernet interface
pppoe-client dial-pool-number 1 dial-up will be too interface pppoe client dial-pool 1 by adding
The third step: configuration logical dial interface,
interface Dialer1
ip address negotiated from the service provider adsl dynamic ip address negotiation are
ip nat outside interface to enable the NAT
encapsulation ppp encapsulation ppp protocol for the interfaces
dialer pool 1 1, the interface used for dial-up dial-up pool
dialer-group 1 of the order is insignificant for the pppoe
ppp authentication pap callin ppp pap authentication enabled
ppp pap sent-username xxxxxxx password 0 yyyyyyy has been used for the user name and password
Step Four: Configure the internal network interface
interface Ethernet0 (internal network interface)
ip address 10.1.1.1 255.255.255.0
ip nat inside the interface to enable NAT
Step Five: Configure cisco 2500 router for internal network hosts to provide dhcp services
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 Six: Configuring NAT
access-list 1 permit 10.1.1.0 0.0.0.255
ip nat inside source list 1 interface Dialer1 overload
Step Seven: Configure the default route
ip route 0.0.0.0 0.0.0.0 Dialer1