Router (config)#ip local pool adsl 172.29.88.1 172.29.88.254 #PPPOE客户端的IP地址池配置
!
Router (config)#ip route 0.0.0.0 0.0.0.0 172.16.88.254 #配置下一跳的路由信息
Router (config)# ip nat inside source list 1 fastethernet0/0
Router (config)# no ip http server
Router (config)# ip http authentication local
Router (config)# access-list 1 permit 172.29.88.0 0.0.0.255
工程已经配置成功,发出来大家分享下.
验证拨号连接的命令:
show vpdn pppinterface
show vpdn username
show vpdn group
show ip add outside pppoe
如果输入:show ip address outside pppoe命令后,提示信息为:
PPPoE session has not been established yet.
说明配置没有成功,请检查配置过程。
如果提示信息为如下类似信息,则说明已经配置成功:
PPPoE Assigned IP addr: 192.168.10.2 255.255.255.255 on Interface: outside
Remote IP addr: 192.168.10.1