EIGRP非等价负载均衡实验

实验内容

  1. 给5个路由器配置ip地址之后运行EIGRP,并查看是否能ping通
  2. 数据从R1发往R2,在R2和R3的e0/1接口对delay值进行修改前后各在R1查看loopback 192.168.2.1的后继路由器(S)的个数是几个
  3. 在R1修改V值为2之后再次查看loopback 192.168.2.1的后继路由器(S)的数量是否回到了之前的3个。123省略IP设定步骤

    R1:

    R1(config-if)#router eigrp 100

    R1(config-router)#no auto-summary

    R1(config-router)#network 12.1.1.1 0.0.0.0

    R1(config-router)#network 13.1.1.1 0.0.0.0

    R1(config-router)#network 14.1.1.1 0.0.0.0

    R1(config-router)#network 192.168.1.1 0.0.0.0

    R1(config-router)#

    *Aug 19 07:32:47.465: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 12.1.1.2 (Ethernet0/0) is up: new adjacency

    R1(config-router)#

    *Aug 19 07:34:11.741: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 13.1.1.3 (Ethernet0/1) is up: new adjacency

    R1(config-router)#

    *Aug 19 07:35:00.668: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 14.1.1.4 (Ethernet0/2) is up: new adjacency

    R1(config-router)#do ping 192.168.2.1

    Type escape sequence to abort.

    Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:

    !!!!!

    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

     

    R1(config-router)#router eigrp 100

    R1(config-router)#variance 2

     

     

    R2:

    R2(config-if)#router eigrp 100

    R2(config-router)#no auto-summary

    R2(config-router)#network 12.1.1.2 0.0.0.0

    *Aug 19 07:32:47.472: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 12.1.1.1 (Ethernet0/0) is up: new adjacency

    R2(config-router)#network 25.1.1.2 0.0.0.0

    R2(config-router)#

    *Aug 19 07:36:02.716: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 25.1.1.5 (Ethernet0/1) is up: new adjacency

    R2(config-router)#int e0/1

    R2(config-if)#delay 101

     

    R3:

    R3(config-if)#router eigrp 100

    R3(config-router)#no auto-summary

    R3(config-router)#network 13.1.1.3 0.0.0.0

    R3(config-router)#network 13.1.1.3 0.0.0.0

    *Aug 19 07:34:11.749: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 13.1.1.1 (Ethernet0/0) is up: new adjacency

    R3(config-router)#network 35.1.1.3 0.0.0.0

    R3(config-router)#

    *Aug 19 07:36:08.324: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 35.1.1.5 (Ethernet0/1) is up: new adjacency

    R3(config-router)#int e0/1

    R3(config-if)#delay 102

     

    R4:

    R4(config-if)#router eigrp 100

    R4(config-router)#no auto-summary

    R4(config-router)#network 14.1.1.4 0.0.0.0

    R4(config-router)#

    *Aug 19 07:35:00.677: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 14.1.1.1 (Ethernet0/0) is up: new adjacency

    R4(config-router)#network 45.1.1.4 0.0.0.0

    R4(config-router)#

    *Aug 19 07:36:12.794: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 45.1.1.5 (Ethernet0/1) is up: new adjacency

    R5:

    R5(config-if)#router eigrp 100

    R5(config-router)#no auto-summary

    R5(config-router)#network 25.1.1.5 0.0.0.0

    R5(config-router)#network 25.1.1.5 0.0.0.0

    *Aug 19 07:36:02.725: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 25.1.1.2 (Ethernet0/0) is up: new adjacency

    R5(config-router)#network 35.1.1.5 0.0.0.0

    R5(config-router)#network 35.1.1.5 0.0.0.0

    *Aug 19 07:36:08.334: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 35.1.1.3 (Ethernet0/1) is up: new adjacency

    R5(config-router)#network 45.1.1.5 0.0.0.0

    R5(config-router)#

    *Aug 19 07:36:12.804: %DUAL-5-NBRCHANGE: EIGRP-IPv4 100: Neighbor 45.1.1.4 (Ethernet0/2) is up: new adjacency

    R5(config-router)#network 192.168.2.1 0.0.0.0

     

    实验结果

    EIGRP执行后

    对loopback 192.168.2.1有3个successors

    R112.png

    R23.png

    R54.png

    R2 e0/1 接口执行 delay 101操作之后,每增加delay1后Matric值增加2566.pngR3 e0/1 接口执行 delay 102操作之后R3 e0/1 接口执行 delay 102操作之后5.png