拓扑图

 

R1

int s0/0

ip add 12.1.1.1 255.255.255.0

no shut

int s0/1

ip add 13.1.1.1 255.255.255.0

no shut

router eigrp 100

no auto-summary

network 12.1.1.1 0.0.0.0

router eigrp 200

no auto-summary

network 13.1.1.1 0.0.0.0

R2:

int s0/0

ip add 12.1.1.2 255.255.255.0

no shut

int s0/1

ip add 24.1.1.2 255.255.255.0

no shut

router eigrp 100

no auto-summary

network 12.1.1.2 0.0.0.0

network 24.1.1.2 0.0.0.0

R3:

int s0/0

ip add 34.1.1.3 255.255.255.0

no shut

int s0/1

ip add 13.1.1.3 255.255.255.0

no shut

router eigrp 200

no auto-summary

network 13.1.1.3 0.0.0.0

network 34.1.1.3 0.0.0.0

 

R4:

int s0/0

ip add 34.1.1.4 255.255.255.0

no shut

int s0/1

ip add 24.1.1.4 255.255.255.0

no shut

int lo0

ip add 4.4.4.4 255.255.255.0

router eigrp 100

no auto-summary

network 24.1.1.4 0.0.0.0

network 4.4.4.0 0.0.0.255

router eigrp 200

no auto-summary

network 34.1.1.4 0.0.0.0

network 4.4.4.0 0.0.0.255

查看R1路由表:

得出走的是R2(即走EIGRP 100)

关掉和R2相连的s0/0,走R3(即EIGRP 200)

 

得出结论,当到达同一目的网络所经过的EIGRP的AS号不同,但metric值相同,此时不会负载均衡,而是走AS号小的