!
hostname adsl
!
enable secret 5 $1$.G7A$JHqF.qj7aQ5/zjoGV2jPS/
!
ip subnet-zero
!
!
!
vpdn enable
!
vpdn-group pppoe
request-dialin
protocol pppoe
!
!
!
!
!
interface Ethernet0
no ip address
half-duplex
pppoe enable
pppoe-client dial-pool-number 1
!
interface FastEthernet0
ip address 192.168.10.1 255.255.255.0
ip nat inside
speed auto
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp chap hostname szuser@163.gd
ppp chap passWord 0 888888
ppp pap sent-username szpan234@163.gd password 0 888888
!
ip nat inside source list 1 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
!
!
Access-list 1 permit 192.168.10.0 0.0.0.255
dialer-list 1 protocol ip permit
!
可以接到ADSLMODEM后面,这样比较省钱,比买WIC-1ADSL要便宜很多.WIC-1ADSL的优点是可以接直接把ADSL线路接到WIC-1ADSL卡上.