在路由器设置中,PPPoE一直是一个重点。今天我们就针对2600路由器PPPoE设置的过程进行一下分析和介绍。首先我们会根据网络拓扑图,来了解一下所设置的网络环境,之后对于具体代码在做一个解析。
2600路由器PPPoE设置拓扑图如下:
2600路由器PPPoE设置具体命令:
- hostname pooh
- ip host rund 172.17.247.195
- !
- ip subnet-zero
- no ip domain-lookup
- !
- vpdn enable
- no vpdn logging
- !
- vpdn-group 1
- request-dialin
- protocol pppoe
- !
- !
- !
- !
- interface Ethernet0/0
- ip address 10.200.56.22 255.255.255.0
- ip nat inside
- no ip mroute-cache
- !
- !
- !
- !
- interface Ethernet0/1
- no ip address
- pppoe enable
- pppoe-client dial-pool-number 1
- !
- interface Dialer1
- ip address negotiated
- ip nat outside
- ip mtu 1492
- encapsulation ppp
- no ip mroute-cache
- dialer pool 1
- dialer-group 1
- ppp authentication pap
- ppp pap sent-username cisco password cisco1
- !
- ip classless
- no ip http server
- !
- dialer-list 1 protocol ip permit
- ip nat inside source list 1 interface Dialer1 overload
- ip route 0.0.0.0 0.0.0.0 dialer1
- access-list 1 permit 10.200.56.0 0.0.0.255
- !
- line con 0
- exec-timeout 0 0
- transport input none
- line vty 0 4
- login
- password ww
- !
- end
2600路由器PPPoE设置完毕。