! Vpdn enable No vpdn logging <= because the PPPoE application of ADSL is implemented through virtual dialing, The VPDN function must be used in the router. ! Vpdn-group pppoe & lt; = 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 you must set point-to-point VC Pvc 8/35 <= set the related PVC parameters, that is, the VCI and VPI values. If you are not clear, please query the local terminal 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 |