1. WIC-ADSL card line vpdnenablenovpdnlogging! Vpdn-grouppppoerequest-dialinprotocolpppoe! Interf00ipadd192.168.0.1255.255.255.0ipnatinsideiptcpadjust-mss1450! InterATM0noipaddressnoatmilmi-keepalivebundle-en
1. WIC-ADSL card line vpdn enable no vpdn logging! Vpdn-group pppoe request-dialin protocol pppoe! Inter f0/0 ip add 192.168.0.1 255.255.255.0 ip nat inside ip tcp adjust-mss 1450! Inter ATM0 no ip address no atm ilmi-keepalive bundle-en
I. WIC-ADSL card line
Vpdn enable No vpdn logging ! Vpdn-group pppoe Request-dialin Protocol pppoe ! Inter f0/0 Ip add 192.168.0.1 255.255.255.0 Ip nat inside Iptcp adjust-mss 1450 ! Inter ATM0 No ip address No atm ilmi-keepalive Bundle-enable Dsl operating-mode auto Hold-queue 224 in
Interface ATM 0.1 POINT-TO-POINT Pvc 8/35 the pvc value here is 8/35 depending on the specific situation, consult China Telecom Pppoe-client dial-pool-number 1 ! Inter dialer1 Ip address negotiated Ip nat outside Encap ppp Dialer pool 1 Ppp authen pap callin Ppp pap sent xxxx pass xxxx user name and password ! Ip nat inside source list 1 interface dialer1 overload Ip calssess Ip route 0.0.0.0 0.0.0.0 dialer1 No ip http server ! Access-list 1 permit 192.168.0.0 0.0.255 |
2. You can use another Ethernet port to connect to the adsl modem and then connect to the line.
Hostname xxxx Ip name-server x. x dns address Vpdn enable Vpdn-group pppoe Request-dialin Protocol pppoe Inter f 0/0 Ip add 192.168.0.1 255.255.255.0 Ip nat inside Inter f 0/1 No ip address Pppoe enable Pppoe-client dial-pool-number 1 Inter dialer 1 Mut 1492 Ip address negotiated Ip nat outside Encap ppp No ip mroute-cache Dialer pool 1 Dialer-group 1 No cdp enable Ppp authen pap callin Ppp pap sent xxx pass xxx user name and password
Ip nat inside source list 1 inter dialer 1 overload Ip classless Ip route 0.0.0.0 0.0.0.0 dialer1 permanent No ip http server Ip pim bidir-enable Access-list 1 permit any Dialer-list 1 protocol ip permit
|