Cisco路由器配置ADSL上网
Posted sanyuanyanjin
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Cisco路由器配置ADSL上网相关的知识,希望对你有一定的参考价值。
- cisco1841#sh run
- Building configuration...
- Current configuration : 2970 bytes
- !
- version 12.4
- service timestamps debug datetime msec
- service timestamps log datetime msec
- no service password-encryption
- service dhcp
- !
- hostname cisco1841
- !
- boot-start-marker
- boot-end-marker
- !
- logging buffered 51200 warnings
- !
- no aaa new-model
- !
- resource policy
- !
- mmi polling-interval 60
- no mmi auto-configure
- no mmi pvc
- mmi snmp-timeout 180
- ip subnet-zero
- ip cef
- !
- !
- ip dhcp database 123
- no ip dhcp use vrf connected
- ip dhcp excluded-address 192.168.1.1
- ip dhcp ping packets 0
- !
- ip dhcp pool 123
- network 192.168.1.0 255.255.255.0
- default-router 192.168.1.1
- dns-server 202.106.0.20 202.106.46.151
- !
- !
- no ip domain lookup
- ip domain name yourdomain.com
- ip dhcp-server 192.168.1.1
- vpdn enable
- vpdn ip udp ignore checksum
- !
- vpdn-group pppoe
- request-dialin
- protocol pppoe
- !
- !
- username cisco privilege 15 secret 5 $1$ZKUk$YoVcdG31aDaIAn/mdK9qL0
- !
- !
- !
- interface FastEthernet0/0
- description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0$
- ip address 192.168.1.1 255.255.255.0
- ip access-group 100 in
- ip nat inside
- duplex auto
- speed auto
- !
- interface FastEthernet0/1
- no ip address
- duplex auto
- speed auto
- pppoe enable
- pppoe-client dial-pool-number 1
- !
- interface Dialer1
- ip address negotiated
- ip access-group 100 in
- ip mtu 1492
- ip nat outside
- encapsulation ppp
- dialer pool 1
- dialer vpdn
- dialer-group 1
- no cdp enable
- ppp pap sent-username 1234567 password 0 1234567
- !
- ip classless
- ip route 0.0.0.0 0.0.0.0 Dialer1
- !
- no ip http server
- ip http authentication local
- ip http timeout-policy idle 5 life 86400 requests 10000
- ip nat inside source list 1 interface Dialer1 overload
- !
- access-list 1 permit any
- access-list 100 deny
- access-list 100 deny
- access-list 100 permit ip any any
- dialer-list 1 protocol ip permit
- !
- control-plane
- !
以上是关于Cisco路由器配置ADSL上网的主要内容,如果未能解决你的问题,请参考以下文章