EIGRP配置實戰

 

需求一:如圖。全網運行EIGRP,關閉自動彙總,除了R2環回接口2.2.2.2/24在EIGRP10中運行,其他路由器的直連接口和loopback接口均network到EIGRP100中;

需求二:完成以上配置後,在R1/2/4上觀察是否有關於172.16.0.0 的5條詳細路由,如果有,請把他們彙總成爲一條172.16.0.0/21的彙總路由條目;

需求三:在R1上觀察到34網段是否有2個下一跳,手工在R1的S0/0上,將延遲配置爲150,

再次觀察是否還有兩個下一跳,配置variance,使R1實現非等價負載均衡,再次觀察R1是否又變成兩個下一跳;

需求四:在R3上觀察,是否能夠收到2.2.2.2的路由爲什麼,怎樣配置才能收到該路由;

 

R1:
en
conf t
host R1
no ip domain-lo
line con 0
exec-t 0 0
exit
int lo0
ip add 1.1.1.1 255.255.255.0
int s0/0
ip add 13.13.13.1 255.255.255.0
delay 150                             \\設置延時爲1500.需求三
no sh
int s0/1
ip add 14.14.14.1 255.255.255.0
no sh
exit
router eigrp 100
no au
net 1.1.1.0 0.0.0.255
net 14.14.14.0 0.0.0.255
net 13.13.13.0 0.0.0.255
variance 2                              \\設置variance值,需求三
end
wr

R2:
en
conf t
host R2
no ip domain-lo
line con 0
exec-t 0 0
exit
int lo0
ip add 2.2.2.2 255.255.255.0
int s0/0
ip add 24.24.24.1 255.255.255.0
no sh
int s0/1
ip add 23.23.23.1 255.255.255.0
no sh
exit
router eigrp 100
no au
net 24.24.24.0 0.0.0.255
net 23.23.23.0 0.0.0.255
redis eigrp 10 metric 1000 100 255 1 1500       \\路由重分發.需求四
exit
router eigrp 10
no au
net 2.2.2.0 0.0.0.255
end
wr

R3:
en
conf t
host R3
no ip domain-lo
line con 0
exec-t 0 0
exit
int lo0
ip add 3.3.3.3 255.255.255.0
int lo1
ip add 172.16.1.1 255.255.255.0
int lo2
ip add 172.16.2.1 255.255.255.0
int lo3
ip add 172.16.3.1 255.255.255.0
int lo4
ip add 172.16.4.1 255.255.255.0
int lo5
ip add 172.16.5.1 255.255.255.0
int s0/0
ip add 13.13.13.2 255.255.255.0
clock rate 128000
ip sum eigrp 100 172.16.0.0 255.255.248.0          \\在接口下手動彙總
no sh
int s0/1
ip add 23.23.23.2 255.255.255.0
clock rate 128000
ip sum eigrp 100 172.16.0.0 255.255.248.0
no sh
int s0/2
ip add 34.34.34.1 255.255.255.0
clock rate 128000
ip sum eigrp 100 172.16.0.0 255.255.248.0
no sh
exit
router eigrp 100
no au
net 3.3.3.0 0.0.0.255
net 34.34.34.0 0.0.0.255
net 13.13.13.0 0.0.0.255
net 23.23.23.0 0.0.0.255
net 172.16.0.0 0.0.7.255
end
wr

R4:
en
conf t
host R4
no ip domain-lo
line con 0
exec-t 0 0
exit
int lo0
ip add 4.4.4.4 255.255.255.0
int s0/0
ip add 14.14.14.2 255.255.255.0
no sh
int s0/1
ip add 24.24.24.2 255.255.255.0
no sh
int s0/2
ip add 34.34.34.2 255.255.255.0
no sh
exit
router eigrp 100
no au
net 4.4.4.0 0.0.0.255
net 14.14.14.0 0.0.0.255
net 34.34.34.0 0.0.0.255
net 24.24.24.0 0.0.0.255
end
wr
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章