高分奖励!!cisco路由器设置上网

发布网友

我来回答

4个回答

热心网友

楼主你好!很荣幸为你解答! 

其实在回答你这个问题之前你有几点先要明白: 

1、你用的是网通还是电信; 

2、你上网的用户名和密码; 

3、你本地的DNS、VPI/VCI(如果不知道可以打客服电话问得到); 

4、你的路由器用户名、密码、IP地址(说明书上有)。 

如果这些数据都有了照我说的做,那楼主的这个问题就太简单啦! 

因为我手上没有cisco2691的路由器,那我以我自己的为例:

湖南电信PPPOE拨号上网;VPI/VCI:0/32;DNS:202.103.96.112;路由器:华为(用户名、密码:admin ,IP地址:192.168.1.1) 

第一步:设置本地IP(桌面网上邻居,右键属性——本地连接,右键属性——TCP/IP协议,属性,设置如下:IP:192.168.1.2子网掩码:255.255.255.0,网关:192.168.1.1DNS:202.103.96.112) 

第二步:在IE地址栏输入:192.168.1.1 输入路由器用户名.密码

WAN口配置->PPPOE拨号->输入用户名,密码->封装方式:LLC->提交

保存并重启路由器

热心网友

可以参考下

ppp主要命令
本地
Router(config)#hostname R1
R1(config)#enable secret 123456 设置密码
R1(config)#interface serial 1/0
R1(config-if)#encapsulation ppp 封装类型
R1(config-if)#ppp authentication chap 加密验证
R1(config-if)#no shu
R1(config-if)#ex
R1(config)#username R2 password 654321

电信
Router(config)#hostname R2
R2(config)#enable secret 654321
R2(config)#interface serial 1/0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#no shu
R2(config-if)#ex
R2(config)#username R1 password 123456

帧中继配置主要命令

R1(config)#interface serial 2/0
R1(config-if)#encapsulation frame-relay 封装类型
R1(config-if)#bandwidth 10000 带宽
R1(config-if)#frame-relay lmi-type ansi 本地接口标准封装
R1(config-if)#frame-relay map ip 202.202.1.2 200(DLCT) broadcast 配置静态FR映射

参考资料:http://www.bydaily.cn/dispbbs.asp?boardid=20&id=1979&page=1&star=1

热心网友

这个配置经过实验没有问题,实验设备是26

vpdn enable
no vpdn logging <=由于ADSL的PPPoE应用是通过虚拟拨号来实现的所以在路由器中需要使用VPDN的功能
!
vpdn-group pppoe <=为PPPoE启动了VPDN的进程
request-dialin
protocol pppoe <=设置拨号协议为PPPoE
!
inte***ce FastEthernet0 <=设置公司内部网络地址
ip address 192.168.0.1 255.255.255.0
ip nat inside <=为启用NAT转换,设置Fast ethernet端口为内部网络,从内部网络收到的数据的原地址转换为公网地址
!
inte***ce ATM0 <=设置ADSL端口
no ip address <=请不要设置地址
no atm ilmi-keepalive
bundle-enable
dsl operating-mode auto
hold-queue 224 in
inte***ce ATM0.1 point-to-point <=ADSL的通讯 依靠VC,所以必须设定点到点VC
pvc 8/35 <=设置PVC的相关参数, 即VCI和VPI的值,如果不清楚请向局端查询
pppoe-client dial-pool-number 1 <=PPPoE拨号进程使用了常规的拨号进程,这里引用了dialer-pool 1
!
inte***ce Dialer1 <=建立一个虚拟拨号端口 ip address negotiated <=由于局端提供动态地址,所以必须设定地址为协商获得
ip mtu 1492 <=修改mtu值以适用于ADSL网络
ip nat outside <=为启用NAT转换,设置该端口为外部网络
encapsulation ppp <=使用PPP的帧格式
dialer pool 1
ppp authentication pap callin <=设置拨号的验证方式为pap
ppp pap sent vip pass vip <=发送用户名和密码
ip nat inside source list 1 inte***ce Dialer1 overload
<=设置了NAT的转换方式,使用了dialer 1端口的动态地址
ip classless
ip route 0.0.0.0 0.0.0.0 dialer1
<=将所有不可路由的数据报转发给ADSL线路,设定缺省路由
no ip http server
!
access-list 1 permit 10.92.1.0 0.0.0.255

参考资料:姚老师的讲义

热心网友

这个问题我也关注一下.

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com