cisco路由器pppoe拨号上网配置

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

2016年8月闲来无事,某宝上淘了台旧cisco2651xm路由器,100大洋,好像拆过。上电,连上console口一切正常,特权用户有口令,问卖家,卖家无应答,猜口令cisco,居然成功,哈哈。

经测试。三层交换机配多网段(多VLAN),单臂路由上网正常。三层交换机上配多网段(多VLAN),加静态路由及路由器回指路由,上网正常。

现替换办公室原TP-LINK TL-R860+路由器。

cisco2651xm pppoe拨号上网配置(hefeiwantian@)

Router#show run

Building configuration...

Current configuration : 1458 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname Router

!

boot-start-marker

boot-end-marker

!

enable password admin(ena 口令)

!

no network-clock-participate slot 1

no network-clock-participate wic 0

no aaa new-model

ip subnet-zero

ip cef

!

!

ip dhcp excluded-address 192.168.123.254

ip dhcp excluded-address 192.168.123.240

ip dhcp excluded-address 192.168.123.253

!

ip dhcp pool dhcpserver

network 192.168.123.0 255.255.255.0

default-router 192.168.123.254

dns-server x.x.x.x x.x.x.x

!

vpdn enable

!

vpdn-group pppoe

request-dialin

protocol pppoe

!

no ftp-server write-enable

!

!

!

!

interface FastEthernet0/0

no ip address

duplex auto

speed auto

pppoe enable group global

pppoe-client dial-pool-number 1

!

interface FastEthernet0/1

ip address 192.168.123.254 255.255.255.0

ip nat inside

duplex auto

speed auto

!

interface Dialer1

ip address negotiated

ip mtu 1492(这个不写好像无关紧要)

ip nat outside

encapsulation ppp

ip tcp adjust-mss 1450(可以不写,貌似对网速有影响,自己可以试试)

dialer pool 1

dialer-group 1

ppp authentication chap pap callin(pppoe口令验证方式,方式不对,拨号会不成功,显示Interface Vi1 unbound from profile Di1错误;实在搞不清的话,这两种方式都写上,这个很重要,直接关系到能否上网)

ppp chap hostname xxxxxxxx

ppp chap password 0 yyyyyyyy(配置时不要写0)

ppp pap sent-username xxxxxxxx password 0 yyyyyyyy(配置时不要写0)

!

ip nat inside source list 1 interface Dialer1 overload

ip classless

ip route 0.0.0.0 0.0.0.0 Dialer1

ip http server

!

access-list 1 permit any

dialer-list 1 protocol ip permit

!

line con 0

line aux 0

line vty 0 4

password admin(telnet口令)login

!

!

!

end

Router#

相关文档
最新文档