
实验过程: 第一步 R1、 R2、R3的预配置 R1(config)#int lo0 R1(config-if)#ip add 1.1.1.1 255.255.255.0 R1(config-if)#int s2/1 R1(config-if)#ip add 192.168.0.1 255.255.255.0 R1(config-if)#no sh R1(config-if)#int f0/0 R1(config-if)#ip add 172.16.0.1 255.255.255.0 R1(config-if)#no sh R1(config-if)#int lo2 R1(config-if)#ip add 10.1.1.1 255.255.255.252 R1(config-if)#int lo3 R1(config-if)#ip add 10.1.1.5 255.255.255.252 R1(config-if)#int lo4 R1(config-if)#ip add 10.1.1.9 255.255.255.252 R1(config-if)#exit
R2(config)#int lo0 R2(config-if)#ip add 2.2.2.2 255.255.255.0 R2(config-if)#int s2/1 R2(config-if)#ip add 192.168.0.2 255.255.255.0 R2(config-if)#no sh R2(config-if)#int s2/2 R2(config-if)#ip add 23.0.0.2 255.255.255.0 R2(config-if)#no sh R2(config-if)#int lo2 R2(config-if)#ip add 10.1.2.1 255.255.255.252 R2(config-if)#int lo3 R2(config-if)#ip add 10.1.2.5 255.255.255.252 R2(config-if)#int lo4 R2(config-if)#ip add 10.1.2.9 255.255.255.252 R2(config-if)#exit
R3(config)#int lo0 R3(config-if)#ip add 3.3.3.3 255.255.255.0 R3(config-if)#int f0/0 R3(config-if)#ip add 172.16.0.3 255.255.255.0 R3(config-if)#no sh R3(config-if)#int s2/1 R3(config-if)#ip add 23.0.0.3 255.255.255.0 R3(config-if)#no sh R3(config-if)#int lo2 R3(config-if)#ip add 10.1.3.1 255.255.255.252 R3(config-if)#int lo3 R3(config-if)#ip add 10.1.3.5 255.255.255.252 R3(config-if)#int lo4 R3(config-if)#ip add 10.1.3.9 255.255.255.252 R3(config-if)#exit
第二步 修改R1、R2、R3之间的链路带宽为64Kbps R1(config)#int s2/1 R1(config-if)#bandwidth 64 R1(config-if)#int f0/0 R1(config-if)#bandwidth 64
R2(config)#int s2/1 R2(config-if)#bandwidth 64 R2(config-if)#int s2/2 R2(config-if)#bandwidth 64
R3(config)#int s2/1 R3(config-if)#bandwidth 64 R3(config-if)#int f0/0 R3(config-if)#bandwidth 64
第三步 在R1、R2、R3上配置Eigrp R1(config)#router eigrp 100 R1(config-router)#no auto R1(config-router)#net 10.0.0.0 R1(config-router)#net 172.16.0.0 R1(config-router)#net 192.168.0.0 R1(config-router)#net 1.1.1.1 R1(config-router)#
R2(config)#router eigrp 100 R2(config-router)#no auto R2(config-router)#net 10.0.0.0 R2(config-router)#net 23.0.0.0 R2(config-router)#net 192.168.0.0 R2(config-router)#net 2.2.2.2 R2(config-router)#
R3(config)#router eigrp 100 R3(config-router)#no auto R3(config-router)#net 10.0.0.0 R3(config-router)#net 23.0.0.0 R3(config-router)#net 172.16.0.0 R3(config-router)#net 3.3.3.3 R3(config-router)#
第四步 在R1上调试Eigrp信息 R1#debug ip eigrp 100 IP-EIGRP Route Events debugging is on R1# *Jul 1 15:26:00.863: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.0.2 (Serial2/1) is up: new adjacency *Jul 1 15:26:00.979: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:00.983: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.0/30 - do advertise out Serial2/1 *Jul 1 15:26:00.987: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.0/30 metric 128256 - 256 128000 *Jul 1 15:26:00.987: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.4/30 - do advertise out Serial2/1 *Jul 1 15:26:00.987: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.4/30 metric 128256 - 256 128000 *Jul 1 15:26:00.991: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.8/30 - do advertise out Serial2/1 *Jul 1 15:26:00.991: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.8/30 metric 128256 - 256 128000 *Jul 1 15:26:00.991: IP-EIGRP(Default-IP-Routing-Table:100): 172.16.0.0/24 - do advertise out Serial2/1 *Jul 1 15:26:00.995: IP-EIGRP(Default-IP-Routing-T R1#able:100): Int 172.16.0.0/24 metric 40002560 - 40000000 2560 *Jul 1 15:26:00.995: IP-EIGRP(Default-IP-Routing-Table:100): 192.168.0.0/24 - do advertise out Serial2/1 *Jul 1 15:26:00.999: IP-EIGRP(Default-IP-Routing-Table:100): 1.1.1.0/24 - do advertise out Serial2/1 *Jul 1 15:26:00.999: IP-EIGRP(Default-IP-Routing-Table:100): Int 1.1.1.0/24 metric 128256 - 256 128000 *Jul 1 15:26:01.127: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:01.127: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.0/30 M 40640000 - 40000000 640000 SM 128256 - 256 128000 *Jul 1 15:26:01.131: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 10.1.2.0 () *Jul 1 15:26:01.131: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.4/30 M 40640000 - 40000000 640000 SM 128256 - 256 128000 *Jul 1 15:26:01.135: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 10.1.2.4 () *Jul 1 15:26:01.135: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1. R1#2.8/30 M 40640000 - 40000000 640000 SM 128256 - 256 128000 *Jul 1 15:26:01.139: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 10.1.2.8 () *Jul 1 15:26:01.139: IP-EIGRP(Default-IP-Routing-Table:100): Int 23.0.0.0/24 M 41024000 - 40000000 1024000 SM 40512000 - 40000000 512000 *Jul 1 15:26:01.143: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 23.0.0.0 () *Jul 1 15:26:01.143: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.0/30 - do advertise out Serial2/1 *Jul 1 15:26:01.147: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.0/30 metric 128256 - 256 128000 *Jul 1 15:26:01.147: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.4/30 - do advertise out Serial2/1 *Jul 1 15:26:01.147: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.4/30 metric 128256 - 256 128000 *Jul 1 15:26:01.151: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.8/30 - do advertise out Serial2/1 *Jul 1 15:26:01.151: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.8/30 metric R1# 128256 - 256 128000 *Jul 1 15:26:01.151: IP-EIGRP(Default-IP-Routing-Table:100): 172.16.0.0/24 - do advertise out Serial2/1 *Jul 1 15:26:01.155: IP-EIGRP(Default-IP-Routing-Table:100): Int 172.16.0.0/24 metric 40002560 - 40000000 2560 *Jul 1 15:26:01.155: IP-EIGRP(Default-IP-Routing-Table:100): 192.168.0.0/24 - do advertise out Serial2/1 *Jul 1 15:26:01.155: IP-EIGRP(Default-IP-Routing-Table:100): 1.1.1.0/24 - do advertise out Serial2/1 *Jul 1 15:26:01.159: IP-EIGRP(Default-IP-Routing-Table:100): Int 1.1.1.0/24 metric 128256 - 256 128000 *Jul 1 15:26:01.247: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:01.251: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.0/30 M 40640000 - 40000000 640000 SM 128256 - 256 128000 *Jul 1 15:26:01.251: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.4/30 M 40640000 - 40000000 640000 SM 128256 - 256 128000 *Jul 1 15:26:01.251: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.8/30 M 4064 R1#0000 - 40000000 640000 SM 128256 - 256 128000 *Jul 1 15:26:01.255: IP-EIGRP(Default-IP-Routing-Table:100): Int 23.0.0.0/24 M 41024000 - 40000000 1024000 SM 40512000 - 40000000 512000 *Jul 1 15:26:04.103: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:04.103: IP-EIGRP(Default-IP-Routing-Table:100): Int 2.2.2.0/24 M 40640000 - 40000000 640000 SM 128256 - 256 128000 *Jul 1 15:26:04.107: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 2.2.2.0 () R1# *Jul 1 15:26:23.167: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:23.171: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.0/30 M 41152000 - 40000000 1152000 SM 40640000 - 40000000 640000 *Jul 1 15:26:23.175: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 10.1.3.0 () *Jul 1 15:26:23.175: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.4/30 M 41152000 - 40000000 1152000 SM 40640000 - 40000000 640000 *Jul 1 15:26:23.179: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 10.1.3.4 () R1# *Jul 1 15:26:23.179: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.8/30 M 41152000 - 40000000 1152000 SM 40640000 - 40000000 640000 *Jul 1 15:26:23.183: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 10.1.3.8 () R1# *Jul 1 15:26:26.511: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 172.16.0.3 (FastEthernet0/0) is up: new adjacency *Jul 1 15:26:26.531: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.0/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.531: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.0/30 metric 128256 - 256 128000 *Jul 1 15:26:26.535: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.4/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.535: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.4/30 metric 128256 - 256 128000 *Jul 1 15:26:26.535: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.8/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.539: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.8/30 metric 128256 - 256 128000 *Jul 1 15:26:26.539: IP-EIGRP(Default-IP-Routing-Table:100): 172.16.0.0/24 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.539: IP-EIGRP(Default-IP-Routing-Table:100): 192.168.0.0/24 - do advertise out FastEthernet0/0 *Jul R1#1 15:26:26.543: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.0.0/24 metric 40512000 - 40000000 512000 *Jul 1 15:26:26.543: IP-EIGRP(Default-IP-Routing-Table:100): 1.1.1.0/24 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.543: IP-EIGRP(Default-IP-Routing-Table:100): Int 1.1.1.0/24 metric 128256 - 256 128000 *Jul 1 15:26:26.547: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.2.0/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.547: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.0/30 metric 40640000 - 40000000 640000 *Jul 1 15:26:26.547: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.2.4/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.551: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.4/30 metric 40640000 - 40000000 640000 *Jul 1 15:26:26.551: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.2.8/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.555: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.8/30 metric 40640000 - 40000000 640000 *Jul R1#1 15:26:26.555: IP-EIGRP(Default-IP-Routing-Table:100): 23.0.0.0/24 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.555: IP-EIGRP(Default-IP-Routing-Table:100): Int 23.0.0.0/24 metric 41024000 - 40000000 1024000 *Jul 1 15:26:26.555: IP-EIGRP(Default-IP-Routing-Table:100): 2.2.2.0/24 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.559: IP-EIGRP(Default-IP-Routing-Table:100): Int 2.2.2.0/24 metric 40640000 - 40000000 640000 *Jul 1 15:26:26.559: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.3.0/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.563: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.0/30 metric 41152000 - 40000000 1152000 *Jul 1 15:26:26.563: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.3.4/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:26.563: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.4/30 metric 41152000 - 40000000 1152000 *Jul 1 15:26:26.567: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.3.8/30 - do advertise out FastEthernet0/0 *J R1#ul 1 15:26:26.567: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.8/30 metric 41152000 - 40000000 1152000 *Jul 1 15:26:26.919: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:26.919: IP-EIGRP(Default-IP-Routing-Table:100): Int 172.16.0.0/24 M 4294967295 - 40000000 4294967295 SM 4294967295 - 40000000 4294967295 *Jul 1 15:26:28.523: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:28.531: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.0/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.531: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.0/30 metric 128256 - 256 128000 *Jul 1 15:26:28.531: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.4/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.535: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.4/30 metric 128256 - 256 128000 R1#l 1 15:26:28.535: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.1.8/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.539: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.8/30 metric 128256 - 256 128000 *Jul 1 15:26:28.539: IP-EIGRP(Default-IP-Routing-Table:100): 172.16.0.0/24 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.539: IP-EIGRP(Default-IP-Routing-Table:100): 192.168.0.0/24 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.543: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.0.0/24 metric 40512000 - 40000000 512000 *Jul 1 15:26:28.543: IP-EIGRP(Default-IP-Routing-Table:100): 1.1.1.0/24 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.543: IP-EIGRP(Default-IP-Routing-Table:100): Int 1.1.1.0/24 metric 128256 - 256 128000 *Jul 1 15:26:28.547: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.2.0/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.547: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.0/30 metric 40640000 - 40000000 640000 *Jul 1 15:26:28.547: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.2.4/30 - do advertise out FastEthernet0/0 *Ju R1#l 1 15:26:28.551: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.4/30 metric 40640000 - 40000000 640000 *Jul 1 15:26:28.551: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.2.8/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.551: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.8/30 metric 40640000 - 40000000 640000 *Jul 1 15:26:28.555: IP-EIGRP(Default-IP-Routing-Table:100): 23.0.0.0/24 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.555: IP-EIGRP(Default-IP-Routing-Table:100): Int 23.0.0.0/24 metric 41024000 - 40000000 1024000 *Jul 1 15:26:28.555: IP-EIGRP(Default-IP-Routing-Table:100): 2.2.2.0/24 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.559: IP-EIGRP(Default-IP-Routing-Table:100): Int 2.2.2.0/24 metric 40640000 - 40000000 640000 *Jul 1 15:26:28.559: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.3.0/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.563: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.0/30 metric 41152000 - 40000000 115200 R1#0 *Jul 1 15:26:28.563: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.3.4/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.563: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.4/30 metric 41152000 - 40000000 1152000 *Jul 1 15:26:28.567: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.3.8/30 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.567: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.8/30 metric 41152000 - 40000000 1152000 *Jul 1 15:26:28.783: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:28.783: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.0/30 M 40130560 - 40000000 130560 SM 128256 - 256 128000 *Jul 1 15:26:28.783: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 10.1.3.0 () *Jul 1 15:26:28.787: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 10.1.3.0 () *Jul 1 15:26:28.787: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.4/30 M 40130560 - 40000000 130560 SM 128256 - 256 12800 R1#thernet0/0 *Jul 1 15:26:28.835: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.8/30 metric 40640000 - 40000000 640000 *Jul 1 15:26:28.835: IP-EIGRP(Default-IP-Routing-Table:100): 2.2.2.0/24 - do advertise out FastEthernet0/0 *Jul 1 15:26:28.835: IP-EIGRP(Default-IP-Routing-Table:100): Int 2.2.2.0/24 metric 40640000 - 40000000 640000 *Jul 1 15:26:28.851: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.3.0/30 - do advertise out Serial2/1 *Jul 1 15:26:28.851: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.0/30 metric 40130560 - 40000000 130560 *Jul 1 15:26:28.851: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.3.4/30 - do advertise out Serial2/1 *Jul 1 15:26:28.855: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.4/30 metric 40130560 - 40000000 130560 *Jul 1 15:26:28.855: IP-EIGRP(Default-IP-Routing-Table:100): 10.1.3.8/30 - do advertise out Serial2/1 *Jul 1 15:26:28.855: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.8/30 metric 40130560 - 40000000 130560 *J R1#ul 1 15:26:28.859: IP-EIGRP(Default-IP-Routing-Table:100): 23.0.0.0/24 - do advertise out Serial2/1 *Jul 1 15:26:28.859: IP-EIGRP(Default-IP-Routing-Table:100): Int 23.0.0.0/24 metric 40514560 - 40000000 514560 *Jul 1 15:26:28.911: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.0/30 metric 40130560 - 40000000 130560 *Jul 1 15:26:28.911: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.4/30 metric 40130560 - 40000000 130560 *Jul 1 15:26:28.915: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.8/30 metric 40130560 - 40000000 130560 *Jul 1 15:26:28.915: IP-EIGRP(Default-IP-Routing-Table:100): Int 23.0.0.0/24 metric 40514560 - 40000000 514560 *Jul 1 15:26:28.923: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:28.927: IP-EIGRP(Default-IP-Routing-Table:100): Int 172.16.0.0/24 M 4294967295 - 40000000 4294967295 SM 4294967295 - 40000000 4294967295 *Jul 1 15:26:28.927: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.0/30 M 429 R1#4967295 - 40000000 4294967295 SM 4294967295 - 40000000 4294967295 *Jul 1 15:26:28.931: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.4/30 M 4294967295 - 40000000 4294967295 SM 4294967295 - 40000000 4294967295 *Jul 1 15:26:28.931: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.1.8/30 M 4294967295 - 40000000 4294967295 SM 4294967295 - 40000000 4294967295 *Jul 1 15:26:28.935: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.0.0/24 M 4294967295 - 40000000 4294967295 SM 4294967295 - 40000000 4294967295 *Jul 1 15:26:28.935: IP-EIGRP(Default-IP-Routing-Table:100): Int 1.1.1.0/24 M 4294967295 - 40000000 4294967295 SM 4294967295 - 40000000 4294967295 *Jul 1 15:26:29.167: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:29.171: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.0/30 M 40130560 - 40000000 130560 SM 128256 - 256 128000 *Jul 1 15:26:29.171: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.4/30 M 40130560 - 40000000 13 R1#0560 SM 128256 - 256 128000 *Jul 1 15:26:29.175: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.3.8/30 M 40130560 - 40000000 130560 SM 128256 - 256 128000 *Jul 1 15:26:29.175: IP-EIGRP(Default-IP-Routing-Table:100): Int 23.0.0.0/24 M 40514560 - 40000000 514560 SM 40512000 - 40000000 512000 *Jul 1 15:26:29.175: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.0/30 M 40642560 - 40000000 642560 SM 40640000 - 40000000 640000 *Jul 1 15:26:29.179: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.4/30 M 40642560 - 40000000 642560 SM 40640000 - 40000000 640000 *Jul 1 15:26:29.179: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.1.2.8/30 M 40642560 - 40000000 642560 SM 40640000 - 40000000 640000 *Jul 1 15:26:29.183: IP-EIGRP(Default-IP-Routing-Table:100): Int 2.2.2.0/24 M 40642560 - 40000000 642560 SM 40640000 - 40000000 640000 *Jul 1 15:26:29.559: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:29.563: IP-EIGRP(Default-IP-Routing-Tab R1#le:100): Int 3.3.3.0/24 M 40130560 - 40000000 130560 SM 128256 - 256 128000 *Jul 1 15:26:29.563: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 3.3.3.0 () *Jul 1 15:26:29.583: IP-EIGRP(Default-IP-Routing-Table:100): Int 3.3.3.0/24 metric 40130560 - 40000000 130560 *Jul 1 15:26:29.583: IP-EIGRP(Default-IP-Routing-Table:100): 3.3.3.0/24 - do advertise out Serial2/1 *Jul 1 15:26:29.587: IP-EIGRP(Default-IP-Routing-Table:100): Int 3.3.3.0/24 metric 40130560 - 40000000 130560 *Jul 1 15:26:29.703: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet *Jul 1 15:26:29.703: IP-EIGRP(Default-IP-Routing-Table:100): Int 3.3.3.0/24 M 41152000 - 40000000 1152000 SM 40640000 - 40000000 640000 *Jul 1 15:26:29.707: IP-EIGRP(Default-IP-Routing-Table:100): route installed for 3.3.3.0 () *Jul 1 15:26:29.707: IP-EIGRP(Default-IP-Routing-Table:100): 3.3.3.0/24 routing table not updated thru 192.168.0.2 R1#
第五步 查看R1的路由表 R1#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets C 1.1.1.0 is directly connected, Loopback0 2.0.0.0/24 is subnetted, 1 subnets D 2.2.2.0 [90/40640000] via 192.168.0.2, 00:00:53, Serial2/1 3.0.0.0/24 is subnetted, 1 subnets D 3.3.3.0 [90/40130560] via 172.16.0.3, 00:00:52, FastEthernet0/0 23.0.0.0/24 is subnetted, 1 subnets D 23.0.0.0 [90/40514560] via 172.16.0.3, 00:00:53, FastEthernet0/0 172.16.0.0/24 is subnetted, 1 subnets C 172.16.0.0 is directly connected, FastEthernet0/0 10.0.0.0/30 is subnetted, 9 subnets D 10.1.3.8 [90/40130560] via 172.16.0.3, 00:00:53, FastEthernet0/0 D 10.1.2.8 [90/40640000] via 192.168.0.2, 00:00:53, Serial2/1 C 10.1.1.8 is directly connected, Loopback4 D 10.1.3.0 [90/40130560] via 172.16.0.3, 00:00:54, FastEthernet0/0 D 10.1.2.0 [90/40640000] via 192.168.0.2, 00:00:54, Serial2/1 C 10.1.1.0 is directly connected, Loopback2 D 10.1.3.4 [90/40130560] via 172.16.0.3, 00:00:54, FastEthernet0/0 D 10.1.2.4 [90/40640000] via 192.168.0.2, 00:00:54, Serial2/1 C 10.1.1.4 is directly connected, Loopback3 C 192.168.0.0/24 is directly connected, Serial2/1 R1#
第六步 在R1上Ping R2和R3deLoopback接口进行测试 R1#tclsh R1(tcl)#foreach address { +>(tcl)#2.2.2.2 +>(tcl)#10.1.2.1 +>(tcl)#10.1.2.5 +>(tcl)#10.1.2.9 +>(tcl)#3.3.3.3 +>(tcl)#10.1.3.1 +>(tcl)#10.1.3.5 +>(tcl)#10.1.3.9 +>(tcl)# } { +>(tcl)#ping $address}
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 64/96/188 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.2.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 28/52/88 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.2.5, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 16/40/80 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.2.9, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 24/48/72 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 20/56/132 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.3.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 32/68/104 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.3.5, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 24/62/88 ms Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.1.3.9, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 16/43/76 ms R1(tcl)#exit R1#
第七步 查看Eigrp的邻接关系 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 172.16.0.3 Fa0/0 11 00:02:51 150 2280 0 12 0 192.168.0.2 Se2/1 11 00:03:17 103 2280 0 14
R3#show ip eigrp neighbors IP-EIGRP neighbors for process 100 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 1 172.16.0.1 Fa0/0 10 00:03:10 135 2280 0 83 0 23.0.0.2 Se2/1 10 00:03:14 118 2280 0 15
第八步 查看R2的路由表 R2#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets D 1.1.1.0 [90/40640000] via 192.168.0.1, 00:03:43, Serial2/1 2.0.0.0/24 is subnetted, 1 subnets C 2.2.2.0 is directly connected, Loopback0 3.0.0.0/24 is subnetted, 1 subnets D 3.3.3.0 [90/40640000] via 23.0.0.3, 00:03:42, Serial2/2 23.0.0.0/24 is subnetted, 1 subnets C 23.0.0.0 is directly connected, Serial2/2 172.16.0.0/24 is subnetted, 1 subnets D 172.16.0.0 [90/40514560] via 192.168.0.1, 00:03:45, Serial2/1 [90/40514560] via 23.0.0.3, 00:03:45, Serial2/2 10.0.0.0/30 is subnetted, 9 subnets D 10.1.3.8 [90/40640000] via 23.0.0.3, 00:03:43, Serial2/2 C 10.1.2.8 is directly connected, Loopback4 D 10.1.1.8 [90/40640000] via 192.168.0.1, 00:03:43, Serial2/1 D 10.1.3.0 [90/40640000] via 23.0.0.3, 00:03:43, Serial2/2 C 10.1.2.0 is directly connected, Loopback2 D 10.1.1.0 [90/40640000] via 192.168.0.1, 00:03:43, Serial2/1 D 10.1.3.4 [90/40640000] via 23.0.0.3, 00:03:43, Serial2/2 C 10.1.2.4 is directly connected, Loopback3 D 10.1.1.4 [90/40640000] via 192.168.0.1, 00:03:43, Serial2/1 C 192.168.0.0/24 is directly connected, Serial2/1
第九步 查看R2的Eigrp拓扑表 R2#show ip eigrp topology IP-EIGRP Topology Table for AS(100)/ID(10.1.2.9)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - reply Status, s - sia Status
P 10.1.3.8/30, 1 successors, FD is 40640000 via 23.0.0.3 (40640000/128256), Serial2/2 via 192.168.0.1 (40642560/40130560), Serial2/1 P 1.1.1.0/24, 1 successors, FD is 40640000 via 192.168.0.1 (40640000/128256), Serial2/1 via 23.0.0.3 (40642560/40130560), Serial2/2 P 10.1.2.8/30, 1 successors, FD is 128256 via Connected, Loopback4 P 2.2.2.0/24, 1 successors, FD is 128256 via Connected, Loopback0 P 10.1.1.8/30, 1 successors, FD is 40640000 via 192.168.0.1 (40640000/128256), Serial2/1 via 23.0.0.3 (40642560/40130560), Serial2/2 P 3.3.3.0/24, 1 successors, FD is 40640000 via 23.0.0.3 (40640000/128256), Serial2/2 via 192.168.0.1 (40642560/40130560), Serial2/1 P 10.1.3.0/30, 1 successors, FD is 40640000 via 23.0.0.3 (40640000/128256), Serial2/2 Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - reply Status, s - sia Status
via 192.168.0.1 (40642560/40130560), Serial2/1 P 10.1.2.0/30, 1 successors, FD is 128256 via Connected, Loopback2 P 10.1.1.0/30, 1 successors, FD is 40640000 via 192.168.0.1 (40640000/128256), Serial2/1 via 23.0.0.3 (40642560/40130560), Serial2/2 P 10.1.3.4/30, 1 successors, FD is 40640000 via 23.0.0.3 (40640000/128256), Serial2/2 via 192.168.0.1 (40642560/40130560), Serial2/1 P 10.1.2.4/30, 1 successors, FD is 128256 via Connected, Loopback3 P 10.1.1.4/30, 1 successors, FD is 40640000 via 192.168.0.1 (40640000/128256), Serial2/1 via 23.0.0.3 (40642560/40130560), Serial2/2 P 23.0.0.0/24, 1 successors, FD is 40512000 via Connected, Serial2/2 P 192.168.0.0/24, 1 successors, FD is 40512000 via Connected, Serial2/1 P 172.16.0.0/24, 2 successors, FD is 40514560 via 23.0.0.3 (40514560/40002560), Serial2/2 via 192.168.0.1 (40514560/40002560), Serial2/1 // R1和R3都宣告了自己的直连接口,现在可以查看到是从192.168.0.1和23.0.0.3的Metric都是相同的
R2#show ip eigrp topology 172.16.0.0/24 IP-EIGRP (AS 100): Topology entry for 172.16.0.0/24 State is Passive, Query origin flag is 1, 2 Successor(s), FD is 40514560 Routing Descriptor Blocks: 23.0.0.3 (Serial2/2), from 23.0.0.3, Send flag is 0x0 Composite metric is (40514560/40002560), Route is Internal Vector metric: Minimum bandwidth is 64 Kbit Total delay is 20100 microseconds Reliability is 255/255 Load is 3/255 Minimum MTU is 1500 Hop count is 1 192.168.0.1 (Serial2/1), from 192.168.0.1, Send flag is 0x0 Composite metric is (40514560/40002560), Route is Internal Vector metric: Minimum bandwidth is 64 Kbit Total delay is 20100 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1
第十步 查看R3的路由表 R3#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets D 1.1.1.0 [90/40130560] via 172.16.0.1, 00:06:53, FastEthernet0/0 2.0.0.0/24 is subnetted, 1 subnets D 2.2.2.0 [90/40640000] via 23.0.0.2, 00:06:53, Serial2/1 3.0.0.0/24 is subnetted, 1 subnets C 3.3.3.0 is directly connected, Loopback0 23.0.0.0/24 is subnetted, 1 subnets C 23.0.0.0 is directly connected, Serial2/1 172.16.0.0/24 is subnetted, 1 subnets C 172.16.0.0 is directly connected, FastEthernet0/0 10.0.0.0/30 is subnetted, 9 subnets C 10.1.3.8 is directly connected, Loopback4 D 10.1.2.8 [90/40640000] via 23.0.0.2, 00:06:53, Serial2/1 D 10.1.1.8 [90/40130560] via 172.16.0.1, 00:06:54, FastEthernet0/0 C 10.1.3.0 is directly connected, Loopback2 D 10.1.2.0 [90/40640000] via 23.0.0.2, 00:06:54, Serial2/1 D 10.1.1.0 [90/40130560] via 172.16.0.1, 00:06:54, FastEthernet0/0 C 10.1.3.4 is directly connected, Loopback3 D 10.1.2.4 [90/40640000] via 23.0.0.2, 00:06:54, Serial2/1 D 10.1.1.4 [90/40130560] via 172.16.0.1, 00:06:54, FastEthernet0/0 D 192.168.0.0/24 [90/40514560] via 172.16.0.1, 00:06:54, FastEthernet0/0 R3# R3#show ip eigrp topology IP-EIGRP Topology Table for AS(100)/ID(10.1.3.9)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - reply Status, s - sia Status
P 10.1.3.8/30, 1 successors, FD is 128256 via Connected, Loopback4 P 1.1.1.0/24, 1 successors, FD is 40130560 via 172.16.0.1 (40130560/128256), FastEthernet0/0 P 10.1.2.8/30, 1 successors, FD is 40640000 via 23.0.0.2 (40640000/128256), Serial2/1 P 2.2.2.0/24, 1 successors, FD is 40640000 via 23.0.0.2 (40640000/128256), Serial2/1 P 10.1.1.8/30, 1 successors, FD is 40130560 via 172.16.0.1 (40130560/128256), FastEthernet0/0 P 3.3.3.0/24, 1 successors, FD is 128256 via Connected, Loopback0 P 10.1.3.0/30, 1 successors, FD is 128256 via Connected, Loopback2 P 10.1.2.0/30, 1 successors, FD is 40640000 via 23.0.0.2 (40640000/128256), Serial2/1 P 10.1.1.0/30, 1 successors, FD is 40130560 via 172.16.0.1 (40130560/128256), FastEthernet0/0 Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - reply Status, s - sia Status
P 10.1.3.4/30, 1 successors, FD is 128256 via Connected, Loopback3 P 10.1.2.4/30, 1 successors, FD is 40640000 via 23.0.0.2 (40640000/128256), Serial2/1 P 10.1.1.4/30, 1 successors, FD is 40130560 via 172.16.0.1 (40130560/128256), FastEthernet0/0 P 23.0.0.0/24, 1 successors, FD is 40512000 via Connected, Serial2/1 P 192.168.0.0/24, 1 successors, FD is 40514560 via 172.16.0.1 (40514560/40512000), FastEthernet0/0 via 23.0.0.2 (41024000/40512000), Serial2/1 P 172.16.0.0/24, 1 successors, FD is 40002560 via Connected, FastEthernet0/0 R3# R3#show ip eigrp topology 192.168.0.0/24 IP-EIGRP (AS 100): Topology entry for 192.168.0.0/24 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 40514560 Routing Descriptor Blocks: 172.16.0.1 (FastEthernet0/0), from 172.16.0.1, Send flag is 0x0 Composite metric is (40514560/40512000), Route is Internal Vector metric: Minimum bandwidth is 64 Kbit Total delay is 20100 microseconds Reliability is 255/255 Load is 3/255 Minimum MTU is 1500 Hop count is 1 23.0.0.2 (Serial2/1), from 23.0.0.2, Send flag is 0x0 Composite metric is (41024000/40512000), Route is Internal Vector metric: Minimum bandwidth is 64 Kbit Total delay is 40000 microseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1 // 由于通过172.16.0.1到目的网段的延迟为20100ms,较通过23.0.0.2到目的网段的延迟的40000ms小,因此通过172.16.0.1的Metric较小,所以路由表中只有下一跳为172.16.0.1的路由存在
第十一步 配置R3非等价负载均衡 R3#conf t R3(config)#router eigrp 100 R3(config-router)#variance 2 R3(config-router)#end
第十二步 再次查看R3的路由表 R3#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets D 1.1.1.0 [90/40130560] via 172.16.0.1, 00:00:07, FastEthernet0/0 2.0.0.0/24 is subnetted, 1 subnets D 2.2.2.0 [90/40640000] via 23.0.0.2, 00:00:07, Serial2/1 3.0.0.0/24 is subnetted, 1 subnets C 3.3.3.0 is directly connected, Loopback0 23.0.0.0/24 is subnetted, 1 subnets C 23.0.0.0 is directly connected, Serial2/1 172.16.0.0/24 is subnetted, 1 subnets C 172.16.0.0 is directly connected, FastEthernet0/0 10.0.0.0/30 is subnetted, 9 subnets C 10.1.3.8 is directly connected, Loopback4 D 10.1.2.8 [90/40640000] via 23.0.0.2, 00:00:07, Serial2/1 D 10.1.1.8 [90/40130560] via 172.16.0.1, 00:00:08, FastEthernet0/0 C 10.1.3.0 is directly connected, Loopback2 D 10.1.2.0 [90/40640000] via 23.0.0.2, 00:00:08, Serial2/1 D 10.1.1.0 [90/40130560] via 172.16.0.1, 00:00:08, FastEthernet0/0 C 10.1.3.4 is directly connected, Loopback3 D 10.1.2.4 [90/40640000] via 23.0.0.2, 00:00:08, Serial2/1 D 10.1.1.4 [90/40130560] via 172.16.0.1, 00:00:08, FastEthernet0/0 D 192.168.0.0/24 [90/40514560] via 172.16.0.1, 00:00:08, FastEthernet0/0 [90/41024000] via 23.0.0.2, 00:00:08, Serial2/1 R3#
|