CISCO路由器连接ADSL之PPPoE配置

php中文网
发布: 2016-06-07 15:06:04
原创
1744人浏览过

CISCO 路由器 连接 ADSL之PPPoE 配置 Cisco 路由器 连接 ADSL modem的PPPoE 配置 : hostname bjsite ! ip subnet-zero no ip domain-lookup ! vpdn enable no vpdn logging ! vpdn-group 1 request-dialin protocol pppoe ! interface Ethernet0/0 ip addre


CISCO路由器连接ADSL之PPPoE配置

 

Cisco路由器连接ADSL modem的PPPoE配置

 

hostname bjsite 

ip subnet-zero 

no ip domain-lookup 

vpdn enable 

no vpdn logging 

vpdn-group 1 

request-dialin 

protocol pppoe 

interface Ethernet0/0 

ip address 192.168.0.1 255.255.255.0 

ip nat inside 

no ip mroute-cache 

interface Ethernet0/1 

no ip address 

pppoe enable 

pppoe-client dial-pool-number 1 

!   www.2cto.com  

interface Dialer1 

ip address negotiated 

ip nat outside 

ip mtu 1492 

encapsulation ppp 

no ip mroute-cache 

dialer pool 1 

dialer-group 1 

ppp authentication pap 

ppp pap sent-username dg48907653@163.gd password xxxxxxxx

ip classless 

no ip http server 

dialer-list 1 protocol ip permit 

ip nat inside source list 1 interface Dialer1 overload

ip route 0.0.0.0 0.0.0.0 dialer1 

access-list 1 permit 192.168.0.0 0.0.0.255 

line con 0 

exec-timeout 0 0 

transport input none 

line vty 0 4 

login 

end

 

Cisco路由器连接ADSL WIC卡之PPPoE配置

 

vpdn-group pppoe 

request-dialin 

 

!--- we are the PPPoE client requesting to establish 

!--- a session with the aggregation unit (6400 NRP). 

 

protocol pppoe 

  www.2cto.com  

!--- internal Ethernet network.

 

interface FastEthernet0 

无线网络修复工具(电脑wifi修复工具) 3.8.5官方版
无线网络修复工具(电脑wifi修复工具) 3.8.5官方版

无线网络修复工具是一款联想出品的小工具,旨在诊断并修复计算机的无线网络问题。它全面检查硬件故障、驱动程序错误、无线开关设置、连接设置和路由器配置。 该工具支持 Windows XP、Win7 和 Win10 系统。请注意,在运行该工具之前,应拔出电脑的网线,以确保准确诊断和修复。 使用此工具,用户可以轻松找出并解决 WiFi 问题,无需手动排查故障。它提供了一键式解决方案,即使对于非技术用户也易于使用。

无线网络修复工具(电脑wifi修复工具) 3.8.5官方版 0
查看详情 无线网络修复工具(电脑wifi修复工具) 3.8.5官方版

ip address 10.92.1.182 255.255.255.0 

ip nat inside 

 

!--- DSL interface.

interface ATM0 

no ip address 

no atm ilmi-keepalive

bundle-enable

dsl operating-mode auto

hold-queue 224 in

 

!--- All defaults.

 

!--- PPPoE runs on top of AAL5SNAP, but the 

!--- encap aal5snap command is not used. 

 

interface ATM0.1 point-to-point 

pvc 1/1 

pppoe-client dial-pool-number 1

 

!--- pvc 1/1 is an example value that must be changed 

!--- to match the value used by the ISP. 

  www.2cto.com  

 

!--- The PPPoE client code ties into a dialer interface upon 

!--- which a virtual-access interface is cloned. 

interface Dialer1 

ip address negotiated 

ip mtu 1492

 

!--- Ethernet MTU default = 1500 (1492 + PPPoE headers = 1500)

 

ip nat outside 

encapsulation ppp 

dialer pool 1

 

!--- Ties to atm interface. 

 

ppp authentication chap callin 

ppp chap hostname  

ppp chap password

!--- The ISP will instruct you regarding 

!--- the type of authentication to use. 

!--- To change from PPP CHAP to PPP PAP, 

!--- replace the following three lines:

!--- ppp authentication chap callin 

!--- ppp chap hostname  

!--- ppp chap password  

!--- with the following two lines:

!--- ppp authentication pap callin

!--- ppp pap sent-username password

  www.2cto.com  

!--- For NAT we are going to overload on the Dialer1 

!--- interface and add a default route out 

!--- since dialer ip address can change. 

 

ip nat inside source list 1 interface Dialer1 overload 

ip classless 

ip route 0.0.0.0 0.0.0.0 dialer1 

no ip http server 

access-list 1 permit 10.92.1.0 0.0.0.255

相关标签:
路由优化大师
路由优化大师

路由优化大师是一款及简单的路由器设置管理软件,其主要功能是一键设置优化路由、屏广告、防蹭网、路由器全面检测及高级设置等,有需要的小伙伴快来保存下载体验吧!

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号