配置eigrp的容错

配置 eigrp 的容错
一、 目标 深入理解 eigrp 的工作原理 ,, 掌握容错的原理以及使用方法可用场景条件等 .
二、 拓扑结构  


三、 实验步骤
1.       基本配置 见拓扑图
测试联通性
sanjose2#ping 192.168.1.1
sanjose2#ping 192.168.64.6
sanjose1#ping 192.168.64.2
结果链路连接没有问题
2. 配置 eigrp
westaman#show ip route
 
Gateway of last resort is not set
C    192.168.72.0/24 is directly connected, FastEthernet0/0
     192.168.64.0/24 is variably subnetted, 3 subnets, 2 masks
C       192.168.64.0/30 is directly connected, Serial1/2
D       192.168.64.0/24 is a summary, 00:34:18, Null0
C       192.168.64.4/30 is directly connected, Serial1/0
D    192.168.1.0/24 [90/2172416] via 192.168.64.5, 00:00:47, Serial1/0
                    [90/2172416] via 192.168.64.1, 00:00:47, Serial1/2
sanjose2#sh ip route
 
D    192.168.72.0/24 [90/2172416] via 192.168.64.6, 00:01:23, Serial1/0
     192.168.64.0/24 is variably subnetted, 3 subnets, 2 masks
D       192.168.64.0/30 [90/2681856] via 192.168.64.6, 00:34:34, Serial1/0
D       192.168.64.0/24 is a summary, 00:01:23, Null0
C       192.168.64.4/30 is directly connected, Serial1/0
C    192.168.1.0/24 is directly connected, FastEthernet0/0
sanjose1#show ip route
Gateway of last resort is not set
 
D    192.168.72.0/24 [90/2172416] via 192.168.64.2, 00:01:57, Serial1/0
     192.168.64.0/24 is variably subnetted, 3 subnets, 2 masks
C       192.168.64.0/30 is directly connected, Serial1/0
D       192.168.64.0/24 is a summary, 00:01:57, Null0
D       192.168.64.4/30 [90/2681856] via 192.168.64.2, 00:33:20, Serial1/0
C    192.168.1.0/24 is directly connected, FastEthernet0/0 测试联通性 在不同的路由器上 ping 非直连路由
sanjose1#ping 192.168.72.1
westaman#ping 192.168.1.2
sanjose2#ping 192.168.72.1
给论 路由表没有问题 eigrp 配置正确
sanjose2 的拓扑表
sanjose2#show ip eigrp topology all-
IP-EIGRP Topology Table for AS(100)/ID(192.168.64.5)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status
P 192.168.72.0/24, 1 successors, FD is 2172416, serno 3
        via 192.168.64.6 (2172416/28160), Serial1/0
        via 192.168.1.1 (2174976/2172416), FastEthernet0/0
P 192.168.64.0/24, 1 successors, FD is 2169856, serno 5
        via Summary (2169856/0), Null0
        via 192.168.1.1 (2172416/2169856), FastEthernet0/0
P 192.168.64.0/30, 1 successors, FD is 2681856, serno 2
        via 192.168.64.6 (2681856/2169856), Serial1/0
P 192.168.64.4/30, 1 successors, FD is 2169856, serno 1
        via Connected, Serial1/0
P 192.168.1.0/24, 1 successors, FD is 28160, serno 4
        via Connected, FastEthernet0/0
问题 : 有两条路径到达 192.168.72.0 网络 在前面的路由表中选则的下一跳地址为 192.168.64.6 因为这条路由路径 FD RD 都要小于另一条
3. 如果出现问题
               s1/0 的接口 shutdown
4. 结果
D    192.168.72.0/24 [90/2174976] via 192.168.1.1, 00:00:00, FastEthernet0/0
     192.168.64.0/24 is variably subnetted, 2 subnets, 2 masks
D       192.168.64.0/24 is a summary, 00:10:42, Null0
C       192.168.64.4/30 is directly connected, Serial1/0
C    192.168.1.0/24 is directly connected, FastEthernet0/0
立刻启用 192.168.1.1 这条路由
再把 s1/0 的接口打开 路由表如下
D    192.168.72.0/24 [90/2172416] via 192.168.64.6, 00:00:53, Serial1/0
     192.168.64.0/24 is variably subnetted, 3 subnets, 2 masks
D       192.168.64.0/30 [90/2681856] via 192.168.64.6, 00:00:53, Serial1/0
D       192.168.64.0/24 is a summary, 00:00:55, Null0
C       192.168.64.4/30 is directly connected, Serial1/0
C    192.168.1.0/24 is directly conected, FastEthernet0/0
 
结论 :192.168.1.1 可以起到容错的作用 , 是一条备份路由条目 !

你可能感兴趣的:(Cisco,实验,思科,ccnp,EIGRP)