ADSL配置指南
拓扑:
注意:请打开word中的批注功能查看注释
PPPoE方式:(注意在这个实验里用CPE来做ISP) ISP#
vpdn enable vpdn-group 1 accept-dialin protocol pppoe virtual-template 1
username somnus password 0 cisco
interface Virtual-Template1
ip address 200.1.1.1 255.255.255.0 peer default ip address pool DSL ppp authentication chap !
ip local pool DSL 200.1.1.10 200.1.1.20
interface FastEthernet0/0 pppoe enable
Client
interface Dialer0
ip address negotiated encapsulation ppp
by 邵晨健,亚威
dialer pool 1 dialer-group 1
ppp chap hostname somnus ppp chap password 0 cisco dialer-list 1 protocol ip permit
interface FastEthernet0/0 pppoe enable group global
pppoe-client dial-pool-number 1
ip route 0.0.0.0 0.0.0.0 Dialer0
RFC1483桥接模式 ISP: bridge irb
interface Loopback0
ip address 100.1.1.1 255.255.255.0
interface ATM1/0 bridge-group 1 pvc 2/200
encapsulation aal5snap
interface BVI1
ip address 200.1.1.1 255.255.255.0
bridge 1 protocol ieee bridge 1 route ip
CPE端配置: no ip routing
interface FastEthernet0/0 bridge-group 1
interface ATM1/0 bridge-group 1 pvc 1/100
encapsulation aal5snap
bridge 1 protocol ieee