This article describes how to configure ADSL with specific operation examples. I believe that you will learn the detailed configuration process through the following configuration. You also have some knowledge about configuration commands.
Cisco adsl configuration instructions
!
Vpdn enable
No vpdn logging
<= Because the PPPoE application of ADSL is implemented through virtual dialing, VPDN must be used in the router.
!
Vpdn-group pppoe <= started the vpdn process for PPPoE
Request-dialin
Protocol pppoe <= set the dialing protocol to PPPoE
!
Interface FastEthernet0 <= set the company's internal network address
Ip address 192.168.0.1 255.255.255.0
Ip nat inside <= Enable NAT translation and set the Fast ethernet port to the internal network,
Convert the original address of the data received from the internal network to the Public Address
!
Interface ATM0 <= set the ADSL Port
No ip address <= do not set the address
No atm ilmi-keepalive
Bundle-enable
Dsl operating-mode auto
Hold-queue 224 in
Interface ATM 0.1 point-to-point
<= ADSL communication relies on VC, so point-to-point VC must be set.
Pvc 8/35 <= set related PVC parameters, that is, VCI and VPI values,
If you are not clear, please go to the local terminal to query
Pppoe-client dial-pool-number 1
<= The PPPoE dialing process uses a general dialing process,
Dialer-pool 1 is referenced here.
!
Interface Dialer1
<= Create a virtual dialing Port
Ip address negotiated
<= Because dynamic addresses are provided by the local terminal, you must set the address to be obtained through negotiation.
Ip mtu 1492 <= Modify mtu value to apply to ADSL Network
Ip nat outside <= Enable NAT translation. Set this port to an external network.
Encapsulation ppp <= use the PPP frame format
Dialer pool 1
Ppp authentication pap callin <= sets the dialing verification method to pap.
Ppp pap sent vip pass vip <= user name and password for sending
Ip nat inside source list 1 interface Dialer1 overload
<= Sets the NAT translation mode and uses the Dynamic Address of port dialer 1.
Ip classless
Ip route 0.0.0.0 0.0.0.0 dialer1
<= Forward all unroutable data packets to the ADSL line and set the default route
No ip http server
!
Access-list 1 permit 10.92.1.0 0.0.255