文档介绍:以下是俺花了半个小时整理的动态IP地址的 DSL+NAT,但愿对初学者
有所帮助。
1,After the router has reloaded, enter enable mode again.
Router>enable
Router#
2,Configure service timestamp to properly log and display debug output in the troubleshooting section.
Router#configure terminal
Router(config)#service timestamps debug datetime msec
Router(config)#service timestamps log datetime msec
Router(config)#end
3,Disable logging console on your Cisco DSL Router to suppress console messages that may be triggered while you are configuring the router.
Router#configure terminal
Router(config)#no logging console
Router(config)#end
4,Configure ip routing, ip -zero, and ip classless to provide flexibility in routing configuration options.
Router#configure terminal
Router(config)#ip routing
Router(config)#ip -zero
Router(config)#ip classless
Router(config)#end
5,Configure global Point-to-Point Protocol over (PPPoE) parameters.
Router#configure terminal
Router(config)#vpdn enable
Router(config)#no vpdn logging
Router(config)#vpdn-group pppoe
Router(config-vpdn)#request-dialin
Router(config-vpdn-req-in)#protocol pppoe
Router(config-vpdn-req-in)#end
6,
Configure an IP address and mask on the Cisco DSL Router interface.
(Optional) Enable NAT inside on the interface.
Router#configure terminal
Router(config)#interface 0
Router(config-if)#ip tcp adjust-mss 1452/ip adjust-mss 1452
Route