EIGRP带宽实例配置
EIGRP路由信息在默认情况下占用接口带宽的50%,而串行接口默认的带宽为T1(1.544M),但在实际上串行接口的带宽并不是默认值,这里我们按照需求修改接口的带宽并修改EIGRP 占用带宽的百分比例。拓扑图如下:
修改带宽占用比:
R1(config)# interface s0/0
R1(config-if)# bandwidth 128 //注意,这里的单位是KB/s
R1(config-if)# ip bandwidth-percent eigrp 100 40 //修改EIGRP 路由信息占用带宽的百分比为40
R1(config-if)# end
R2(config)# interface s0/0
R2(config-if)# bandwidth 64 //注意,这里的单位是KB/s
R2(config-if)# end
R3(config)# interface s0/0
R3(config-if)# bandwidth 64 //注意,这里的单位是KB/s
R3(config-if)# end
验证:
R1#show interfaces serial 0/0 | include BW
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
EIGRP 在帧中继网络中使用点对点子接口的方式。第4 步配置中,可以看到R2 和R3 想要通过R1 学习到对方宣告的网络,必须将R1 的接口S0/0 水平分割关闭才可以。这里我们使用帧中继网络点对点子接口的.方法来完成。
点对点子接口方式:
R1(config)#default interface Serial 0/0 //将接口的配置还原为默认值
Building configuration…
Interface Serial0/0 set to default configuration
R1(config)#
*Mar 1 01:45:30.363: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is resync: split horizon changed
*Mar 1 01:45:30.367: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is resync: split horizon changed
*Mar 1 01:45:30.779: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is down: interface down
*Mar 1 01:45:30.787: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is down: interface down
*Mar 1 01:45:31.483: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down
*Mar 1 01:45:33.499: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
R1(config)#interface Serial 0/0
R1(config-if)#encapsulation fram //封装为帧中继模式
R1(config-if)#no fram inv //关闭自动获取
R1(config-if)#no sh
R1(config-if)#ip split eigrp 100 //打开水平分割
R1(config-if)#int s0/0.1 point //设置点对点子接口
R1(config-subif)#ip add
R1(config-subif)#fram interface-dlci 102 //指定接口DLCI 号
R1(config-fr-dlci)#int s0/0.2 point //配置R1 和R3 之间的子接口
R1(config-subif)#ip add
R1(config-subif)#fram interface-dlci 103
*Mar 1 01:47:05.767: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0.1) is up: new adjacency
*Mar 1 01:47:06.651: IP-EIGRP(Default-IP-Routing-Table:100): Neighbor not on common subnet for Serial0/0.2
R1(config-fr-dlci)#end
因为R1 和R2 相连的子接口IP 地址和子网掩码有所变化必须修改
R2(config)#int s0/0
R2(config-if)#ip add
因为R1 和R3 相连的子接口IP 地址和子网掩码有所变化必须修改
R3(config)#int s0/0
R3(config-if)#ip add
*Mar 1 01:47:51.331: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is down: address changed
*Mar 1 01:47:51.343: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is down: address changed
*Mar 1 01:47:52.463: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is up: new adjacency
R3(config-if)#no frame-relay map ip 301 broadcas //将之前配置的取消
R3(config-if)#fram map ip 301 br
验证配置:
R1#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
1 Se0/0.2 173 00:06:53 117 1053 0 15
0 Se0/0.1 135 00:07:12 1055 5000 0 16
R3#ping
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/89/180 ms
-
详谈如何用路由器控制局域网内的网速
通过路由器控制所有局域网内的电脑上网是非常方便的,由于宽带的费用并低廉,而对于大多数没有大量数据下载的家庭用户来说,一户人或一台电脑独占一条ADSL有点浪费资源的感觉。于是现在很多人都用共享一条宽带上网。那么下面我们就来聊聊如何通过路由器控制他人电脑...
-
2017网络技术考试题「附答案」
一、选择题1在有互连的开放系统中,位于同一层上的系统构成了OSI的(B)层。A物理B对等C传输D网络2FDM是按照(A)的差别来分割信号的。A频率参量B时间参量C码型结构DA、B、C均不是3线路交换不具有的优点是(A)A传输时延小B处理开销小C对数据信息格式和编码类型没有限...
-
2017自考计算机网络技术复习试题
一选择题1下面叙述不正确的是。A采用专线接入方式上网时用户的IP地址由ISP动态分配B采用仿真终端方式上网,用户没有IP地址C采用PPP/SLIP方式拨号上网成功后,用户拥有一个IP地址DPPP/SLIP方式拨号上网是在串行链路上实现TCP/IP连接2用户拨号上网是,因特网服务供应...
-
ADSL无线路由器设置的方法
在这个全民wifi的时代,无线路由器当然成为了我们网络生活的主角,现在大家最关心莫过于路由器问题,现在小编就给大家讲一下ADSL无线路由器设置方法。DSL无线路由器设置:网卡TCP/IP协议的设置右键单击桌面上网上邻居,在弹出菜单中选择属性,出现网络对话框后,在配置标签...