1. cisco1841#sh run  
  2. Building configuration...  
  3.  
  4. Current configuration : 2970 bytes  
  5. !  
  6. version 12.4  
  7. service timestamps debug datetime msec  
  8. service timestamps log datetime msec  
  9. no service password-encryption  
  10. service dhcp  
  11. !  
  12. hostname cisco1841  
  13. !  
  14. boot-start-marker  
  15. boot-end-marker  
  16. !  
  17. logging buffered 51200 warnings  
  18. !  
  19. no aaa new-model  
  20. !  
  21. resource policy  
  22. !  
  23. mmi polling-interval 60  
  24. no mmi auto-configure  
  25. no mmi pvc  
  26. mmi snmp-timeout 180  
  27. ip subnet-zero  
  28. ip cef  
  29. !  
  30. !  
  31. ip dhcp database 123  
  32. no ip dhcp use vrf connected  
  33. ip dhcp excluded-address 192.168.1.1  
  34. ip dhcp ping packets 0  
  35. !  
  36. ip dhcp pool 123  
  37.    network 192.168.1.0 255.255.255.0  
  38.    default-router 192.168.1.1   
  39.    dns-server 202.106.0.20 202.106.46.151   
  40. !  
  41. !  
  42. no ip domain lookup  
  43. ip domain name yourdomain.com  
  44. ip dhcp-server 192.168.1.1  
  45. vpdn enable  
  46. vpdn ip udp ignore checksum  
  47. !  
  48. vpdn-group pppoe  
  49. request-dialin  
  50. protocol pppoe  
  51. !  
  52. !  
  53. username cisco privilege 15 secret 5 $1$ZKUk$YoVcdG31aDaIAn/mdK9qL0  
  54. !  
  55. !  
  56. !  
  57. interface FastEthernet0/0  
  58. description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0$  
  59. ip address 192.168.1.1 255.255.255.0  
  60. ip access-group 100 in  
  61. ip nat inside  
  62. duplex auto  
  63. speed auto  
  64. !  
  65. interface FastEthernet0/1  
  66. no ip address  
  67. duplex auto  
  68. speed auto  
  69. pppoe enable  
  70. pppoe-client dial-pool-number 1  
  71. !  
  72. interface Dialer1  
  73. ip address negotiated  
  74. ip access-group 100 in  
  75. ip mtu 1492  
  76. ip nat outside  
  77. encapsulation ppp  
  78. dialer pool 1  
  79. dialer vpdn  
  80. dialer-group 1  
  81. no cdp enable  
  82. ppp pap sent-username 1234567 password 0 1234567   
  83. !  
  84. ip classless  
  85. ip route 0.0.0.0 0.0.0.0 Dialer1  
  86. !  
  87. no ip http server  
  88. ip http authentication local  
  89. ip http timeout-policy idle 5 life 86400 requests 10000  
  90. ip nat inside source list 1 interface Dialer1 overload  
  91. !  
  92. access-list 1 permit any  
  93. access-list 100 deny     
  94. access-list 100 deny     
  95. access-list 100 permit ip any any  
  96. dialer-list 1 protocol ip permit  
  97. !  
  98. control-plane  
  99. !