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上网的更多相关文章
- cisco路由器配置教程
配置cisco路由器 经过几十年的发展,从最初的只有四个节点的ARPANET发展到现今无处不在的Internet,计算机网络已经深入到了我们生活当中.随着计算机网络规模的爆炸性增长,作为连接设备的路由 ...
- cisco 2901 配置拨号上网
1.输入en,然后输入密码确认后按conf t2.Router(config)# vpdn enable interface dialer 1 // 进入拨号器13.Router(c ...
- Cisco路由器配置基本命令
特权模式:enable Router1 # show running-config Router1 # show ip route Router # show ip interface brief S ...
- 路由与交换,cisco路由器配置,动态路由协议—RIP
一.动态路由协议分类 动态路由协议包括IGP(内部网关协议)和EGP(外部网关协议). 1.IGP IGP又包括距离向量路由协议和链路状态路由协议. (1)距离向量路由协议典型代表:RIP (2)链路 ...
- 路由与交换,cisco路由器配置,浮动静态路由
设置浮动静态路由的目的就是为了防止因为一条线路故障而引起网络故障.言外之意就是说浮动静态路由实际上是主干路由的备份.例如下图: 假如我们设路由器之间的串口(seria)为浮动静态路由(管理距离为100 ...
- 路由与交换,cisco路由器配置,静态路由
网络是一个大型的拓扑结构,在路由表中,最重要的是管理距离和度量值 管理距离 管理距离用来确定路由的优先级.管理距离的范围是0-255之间的整数值.值越低代表优先级越高.0代表最高优先级.并且只有直连路 ...
- 路由与交换,cisco路由器配置,基础知识点(二)
1.进退用户/特权/全局模式 (1)从用户模式进入特权模式 enable (2)从特权模式进入全局配置模式 configure terminal (3)从其他模式回到特权模式 end (4)从特权模式 ...
- 路由与交换,cisco路由器配置,基础知识点(一)
基础知识点 1.路由器与交换机端口初始化区别 路由器的所有接口默认都是关闭的 交换机的所有接口默认都是打开的 2.路由器 fastEthernet 端口 fastEthernet 0/0 第一个0代表 ...
- 关于cisco路由器配置的一些参数
单臂路由设置 Switch(config-if)#no switchport Switch(config)#ip routingSwitch(config)#interface FastEtherne ...
随机推荐
- C#基础 函数部分
函数:能够独立完成某项功能的模块. 函数四要素:输入.输出.函数体.函数名 函数定义: (static/public) 返回类型 函数名(参数类型 参数名,参数类型 参数名){ 函数体} 函数的调用: ...
- (1)HTML声明与基础(已入垃圾筐)
来自网站http://www.runoob.com/html/html-intro.html <!DOCTYPE/> 声明 Doctype=Document Type=文档类型说明 htt ...
- 全面介绍Android Studio中Git 的使用(一)
来源 :http://blog.csdn.net/gao_chun/article/details/49817229/
- 关于使用Axis2 webservice 处理Fault响应时抛org.apache.axis2.AxisFault的分析
使用Axis2这个框架进行webservice协议通讯,期间出了个问题,我(CLIENT)请求后,当服务端返回符合协议的SOAP异常报文,例如<soap:fault> ... 我的程序直接 ...
- PHP7 上传文件报错 Internal Server Error 解决方法
打开Apache配置httpd.conf.在最后添加FcgidMaxRequestLen指令一个足够大的值(以字节为单位),例如 FcgidMaxRequestLen 100000000 最后重新启动 ...
- Qt 5.8.3 部署/添加 Crypto++第三方库(5.6.5版本)
首先,Qt没有封装加解密算法库(其实有个哈希函数的函数).介于OpenSSL函数封装不友好,以及先前爆发的心脏滴血漏洞广受诟病,我们考虑在C++上使用一种新的,并且封装友好的,OOAD程度更高的加解密 ...
- Objective-C中copy 、retain以及ARC中新加入的strong、weak关键字的含义
copy: 创建一个引用计数为1的对象,然后释放旧的对象 retain:释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的引用计数为 1 Copy其实是建立了一个相同的对象,而retain不是: ...
- 扩增子统计绘图1箱线图:Alpha多样性
绘制Alpha多样性线箱图 绘图和统计全部为R语言,建议复制代码,在Rstuido中运行,并设置工作目录为存储之前分析结果文件的result目录 # 运行前,请在Rstudio中菜单栏选择“Sessi ...
- Makefile,Shell command,Shell Language 之间的联系
1. Makefile 首先要知道Makefile 是什么东西,Makefile 是一个指令文件,里面存储着自定义的命令(可以借助已有的命令创造而来)在不同的系统下对Makefile 的区别不一样,L ...
- KMP瞎扯一下
什么是KMP KMP俗称看毛片算法,是高效寻找匹配字串的一个算法 百度百科 KMP算法是一种改进的字符串匹配算法,由D.E.Knuth,J.H.Morris和V.R.Pratt同时发现,因此人们称它为 ...