对cisco的adsl模块设置,针对上海长宁区的adsl。
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
!
interface ATM0/2/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
pvc 8/35
pppoe-client dial-pool-number 1
!
!
interface Dialer1
ip address negotiated
ip flow ingress
ip flow egress
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username ad66044871 password 0 pPQwEiiH
ip route 0.0.0.0 0.0.0.0 Dialer1
ip nat inside source list 100 interface Dialer1 overload
dialer-list 1 protocol ip permit