用家里的ADSL线路并用CISCO路由器自建PPPoe Server让PC上网

php中文网
发布: 2016-06-07 15:02:05
原创
1682人浏览过

用 家里 的ADSL 线路 并用 CISCO 路由器 自建PPPoe Server让PC 上网 www.2cto.com R1(config-if)#do sh run Building configuration... Current configuration : 1470 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log

家里的adsl线路并用cisco路由器自建pppoe server让pc上网

 

  www.2cto.com  

 

用家里的ADSL线路并用CISCO路由器自建PPPoe Server让PC上网

 

R1(config-if)#do sh run

Building configuration...

 

Current configuration : 1470 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname R1

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

memory-size iomem 5

!

!

ip cef

no ip domain lookup

!

!

!

vpdn enable

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

username zhaojinglei password 0 cisco

!

!

!

!

bba-group pppoe pppoeser

 virtual-template 1

!

!

interface FastEthernet0/0

 description $ETH-WAN$

 no ip address

 duplex auto

 speed auto

 pppoe enable group global

 pppoe-client dial-pool-number 1

创客贴设计
创客贴设计

创客贴设计,一款智能在线设计工具,设计不求人,AI助你零基础完成专业设计!

创客贴设计 213
查看详情 创客贴设计

!

interface FastEthernet1/0

 no ip address

 ip tcp adjust-mss 1412

 duplex auto

 speed auto

 pppoe enable group pppoeser

!

interface Virtual-Template1 

 ip address 172.16.1.254 255.255.255.0

 ip nat inside

 ip virtual-reassembly

 peer default ip address pool zyh

 ppp authentication pap

 ppp ipcp dns 61.139.2.69 202.98.96.68

!

interface Dialer0

 ip address negotiated

 ip mtu 1452

 ip nat outside

 ip virtual-reassembly

 encapsulation ppp

 dialer pool 1

 dialer-group 1

 ppp authentication pap callin

 ppp pap sent-username 6332155@myadsl password 0 666666

!

ip local pool zyh 172.16.1.100 172.16.1.150

ip http server

no ip http secure-server

!

ip route 0.0.0.0 0.0.0.0 Dialer0

!

ip nat inside source list 2 interface Virtual-Template1 overload

!

access-list 2 permit any

dialer-list 1 protocol ip permit

!

!

control-plane

!

!

!

!

!

!

!

!

!

!

line con 0

 exec-timeout 0 0

 logging synchronous

line aux 0

line vty 0 4

!

!

end

 

完了  在电脑上建PPPoe 宽带连接 用户名;******  密码:*****

连接成功   电脑通过 GNS3中的路由器 上网了哦

 

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

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

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

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