#
acl number 2000
rule 0 permit source 192.168.108.0 0.0.0.255
rule 1 deny
#
interface Dialer1
nat outbound 2000
link-protocol ppp
ppp chap user ADSL帐号
ppp chap password simple ADSL密码
ppp pap local-user ADSL帐号 password simple ADSL密码
ip address ppp-negotiate
tcp mss 1400
dialer user aaa
dialer-group 1
dialer bundle 1
#
interface Ethernet0/0
port link-mode route
ip address 192.168.108.1 255.255.255.0
#
interface Ethernet0/1
port link-mode route
pppoe-client dial-bundle-number 1
#
#
dhcp enable
dhcp server ip-pool adsl
network 192.168.108.0 mask 255.255.255.0
gateway-list 192.168.108.1
dns-list 61.134.1.4 218.30.19.40
#
dhcp server forbidden-ip 192.168.108.1
#
ip route-static 0.0.0.0 0.0.0.0 Dialer1
#