2600路由器PPPoE设置的分析


在路由器设置中,PPPoE一直是一个重点。今天我们就针对2600路由器PPPoE设置的过程进行一下分析和介绍。首先我们会根据网络拓扑图,来了解一下所设置的网络环境,之后对于具体代码在做一个解析。

2600路由器PPPoE设置拓扑图如下:

2600路由器PPPoE设置拓扑图

2600路由器PPPoE设置具体命令:

  1. hostname pooh  
  2. ip host rund 172.17.247.195  
  3. !  
  4. ip subnet-zero  
  5. no ip domain-lookup  
  6. !  
  7. vpdn enable  
  8. no vpdn logging  
  9. !  
  10. vpdn-group 1  
  11. request-dialin  
  12. protocol pppoe  
  13. !  
  14. !  
  15. !  
  16. !  
  17. interface Ethernet0/0  
  18. ip address 10.200.56.22 255.255.255.0  
  19. ip nat inside  
  20. no ip mroute-cache  
  21. !  
  22. !  
  23. !  
  24. !  
  25. interface Ethernet0/1  
  26. no ip address  
  27. pppoe enable  
  28. pppoe-client dial-pool-number 1  
  29. !  
  30. interface Dialer1  
  31. ip address negotiated  
  32. ip nat outside  
  33. ip mtu 1492  
  34. encapsulation ppp  
  35. no ip mroute-cache  
  36. dialer pool 1  
  37. dialer-group 1  
  38. ppp authentication pap  
  39. ppp pap sent-username cisco password cisco1  
  40. !  
  41. ip classless  
  42. no ip http server  
  43. !  
  44. dialer-list 1 protocol ip permit  
  45. ip nat inside source list 1 interface Dialer1 overload  
  46. ip route 0.0.0.0 0.0.0.0 dialer1  
  47. access-list 1 permit 10.200.56.0 0.0.0.255  
  48. !  
  49. line con 0  
  50. exec-timeout 0 0  
  51. transport input none  
  52. line vty 0 4  
  53. login  
  54. password ww  
  55. !  
  56. end 

2600路由器PPPoE设置完毕。

相关内容

    暂无相关文章