武汉金信润天
免费服务热线:13260580922
微信在线咨询:13260580922
武汉金信润天:027-87538126
扫一扫
关注我们
CCNP必做实验之-EIGRP等价负载实验
时间:2017-08-24 10:46    浏览次数:     发布者:admin    来源:未知    
0
CCNP必做实验之-EIGRP等价负载实验
 
基本IP规划
R1上
r1(config)#int s0/1
r1(config-if)#ip add 192.168.12.1 255.255.255.0
r1(config-if)#no shut
r1(config-if)#int e1/3
r1(config-if)#ip add 10.1.13.1 255.255.255.0
r1(config-if)#no shut
R2上
r2(config)#int s0/1
r2(config-if)#ip add 192.168.12.2 255.255.255.0
r2(config-if)#no shut
r2(config-if)#int s0/2
r2(config-if)#ip add 192.168.23.2 255.255.255.0
r2(config-if)#no shut
R3上
r3(config)#int s0/2
r3(config-if)#ip add 192.168.23.3 255.255.255.0
r3(config-if)#no shut
r3(config-if)#int e1/3
r3(config-if)#ip add 10.1.13.3 255.255.255.0
r3(config-if)#no shut
起EIGRP路由协议
R1上
r1(config)#router eigrp 90
r1(config-router)#network 192.168.12.0
r1(config-router)#network 10.0.0.0
r1(config-router)#no auto-summary
R2上
r2(config)#router eigrp 90
r2(config-router)#network 192.168.12.0
r2(config-router)#network 192.168.23.0
r2(config-router)#no auto-summary
R3上
r3(config)#router eigrp 90
r3(config-router)#network 192.168.23.0
r3(config-router)#network 10.0.0.0
r3(config-router)#no auto-summary
查看负载
R3上
r3#show ip route
Gateway of last resort is not set
 
C    192.168.12.0/24 is directly connected, Serial0/1
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.13.0 is directly connected, Ethernet1/3
D    192.168.23.0/24 [90/2681856] via 192.168.12.2, 00:00:36, Serial0/1
r3#show ip eigrp topology
P 10.1.13.0/24, 1 successors, FD is 281600
        via Connected, Ethernet1/3
P 192.168.12.0/24, 1 successors, FD is 2169856
        via Connected, Serial0/1
P 192.168.23.0/24, 1 successors, FD is 2195456
        via 10.1.13.3 (2195456/2169856), Ethernet1/3
        via 192.168.12.2 (2681856/2169856), Serial0/1
 
查看明细可知有两条路可走
等价负载方法1
修改DELAY值使路由等价负载
r1#show int e1/3
Ethernet1/3 is up, line protocol is up
  Hardware is AmdP2, address is cc00.02a4.0013 (bia cc00.02a4.0013)
  Internet address is 10.1.13.1/24
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
r1#show int s0/1
Serial0/1 is up, line protocol is up
  Hardware is M4T
  Internet address is 192.168.12.1/24
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
通过计算R1的S0/1和R3的E1/3的带宽和延迟可知METRIC值为2195654
通过计算R2的S0/1和R3的S0/2的带宽和延迟可知METRIC值为2681856
所以路由走以太接口
 
 
r1(config)#int e1/3
r1(config-if)#delay 2000
r1(config-if)#end
r3#show ip route
Gateway of last resort is not set
 
C    192.168.12.0/24 is directly connected, Serial0/1
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.13.0 is directly connected, Ethernet1/3
D    192.168.23.0/24 [90/2681856] via 192.168.12.2, 00:00:15, Serial0/1
                    [90/2681856] via 10.1.13.3, 00:00:15, Ethernet1/3
可以看到路由等价负载
等价负载方法2
使用偏移列表实现等价负载
R3上
r3(config)#access-list 1 permit 192.168.12.0 0.0.0.0
r3(config)#router eigrp 90
rr3(config-router)#offset-list 1 in 486400 e1/3
r3(config-router)#end
 
2681856—2195456= 486400
 
r3#show ip route
Gateway of last resort is not set
 
D    192.168.12.0/24 [90/2681856] via 192.168.23.2, 00:00:10, Serial0/2
                     [90/2681856] via 10.1.13.1, 00:00:10, Ethernet1/3
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.13.0 is directly connected, Ethernet1/3
C    192.168.23.0/24 is directly connected, Serial0/2
可以看到路由实现等价负载

相关推荐
武汉分公司地址:湖北省武汉市洪山区虎泉街凯乐桂园A座9层(虎泉地铁站A出口右手边)
咨询报名电话:18672341218(微信同号)   武汉金信润天:027-87538126   
教学就业监督电话:027-87538125    网站地图   备案号:鄂ICP备15010789号-2
姓名
手机
电话咨询 在线咨询 QQ客服