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 ...
随机推荐
- 用Python利用pyFirmata控制Arduino实现Blink
2018-03-2809:20:44 arduino中有相应的库 1.安装pyFirmata包 pip install pyFirmata 在python2.7或python3.X下都可以执行. py ...
- Python :用两个栈实现队列
转自:http://blog.csdn.net/Lynette_bb/article/details/75092745 牛客网上的剑指 offer的在线编程: 题目描述 用两个栈来实现一个队列,完成队 ...
- MAGENTO 插件
导航放到右侧:magento-community/RicoNeitzel_VertNav 后台图片管理显示图片:magento-community/TBT_Enhancedgrid magento-c ...
- Java二分法查找
二分法查找 /** * 二分法查找 找不到返回-1 * @author yangzi * */ public class TwoFind { public static int twoFind(int ...
- HDU_1505_矩阵中的最大矩形_dp
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1505 City Game Time Limit: 2000/1000 MS (Java/Others) ...
- Python的伪造数据库:Faker
faker 是一个可以让你生成伪造数据的Python包,在软件需求.开发.测试过程中常常需要利用一些假数据来做测试,这种时候就可以使用 Faker 来伪造数据从而用来测试. 一.Faker安装 pip ...
- 【windows】自动化测试持续集成(CI)环境部署
1. 环境准备 1.1 我的环境 1.Win10 64位 2.JDK 1.8.0_121 3.Tomcat 7.0.92 4. Jenkins 2.24 5.SVN-Server 3.8.1 1.2 ...
- 如何在MONO 3D寻找最短路路径
前段时间有个客户说他们想在我们的3D的机房中找从A点到B点的最短路径,然而在2D中确实有很多成熟的寻路算法,其中A*是最为常见的,而这个Demo也是用的A*算法,以下计算的是从左上角到右下角的最短路径 ...
- UVA - 1619 Feel Good(扫描法)
题目: 思路: 预处理出a[i]在哪个范围区间内是最小的,然后直接遍历a数组求答案就可以了. 这个预处理的技巧巧妙的用了之前的处理结果.(大佬tql) 代码: #include <bits/st ...
- 洛谷 4364 [九省联考2018]IIIDX
[题解] 一眼可以想到一个类似二叉树后序遍历的贪心做法,然而这个做法在有相同数字的情况下是错误的.最简单的反例就是n=4,d={1,1,1,2},正解是1,1,2,1,而贪心是1,1,1,2. 所以这 ...