EIGRP advertise Default-route (By Three Methods)

EIGRP Lab 3 : EIGRP advertise Default route

EIGRP protocol ကတစ္ဆင့္ Default route ကို advertise လုပ္နိင္တဲ့ method သံုးခုကုိ lab အေနနဲ ့ လုပ္ျပေပးထားပါတယ္။


EIGRP advertise Default-route (By Three Methods) ZawGyi Download
EIGRP advertise Default-route ( By Three Methods) Unicode Download

IP addressing
ISP
Border Router
Router 3
conf t
conf t
conf t
int e0/0
int e0/0
int e0/0
ip add 10.0.0.1 255.255.2555.0
ip add 10.0.0.2 255.255.255.0
ip add 192.168.35.3 255.255.255.0
no sh
no sh
no sh
exit
exit
exit
int lo 0
int e0/1
int e0/1
ip add 172.16.0.1 255.255.255.0
ip add 192.168.234.2 255.255.255.0
ip add 192.168.234.3 255.255.255.0
exit
no sh
no sh
do sh ip int bri | exc down
end
exit

sh ip int bri | inc up
do sh ip int bri | inc up



Router 4
Router 5
Router 6
conf t
conf t
conf t
int e0/1
int e0/0
int e0/0
ip add 192.168.234.4 255.255.255.0
ip add 192.168.35.5 255.255.255.0
ip add 192.168.46.6 255.255.255.0
no sh
no sh
no sh
int e0/0
do sh ip int bri | exc down
do sh ip int bri | inc up
ip add 192.168.46.4 255.255.255.0


no sh


end


sh ip int bri | inc up




Enable EIGRP & static Rouring @ISP
ISP
Border Router
Router3
conf t
conf t
conf t
ip route 192.168.0.0 255.255.0.0 10.0.0.2
router eigrp 1
router eigrp 1
end
network 192.168.0.0 255.255.0.0
network 192.168.0.0 255.255.0.0

end
end



Router4
Router5
Router6
conf t
conf t
conf t
router eigrp 1
router eigrp 1
router eigrp 1
network 192.168.0.0 255.255.0.0
network 192.168.0.0 255.255.0.0
network 192.168.0.0 255.255.0.0
end
end
end




Method 1 (ip route & redistribution)


Method 1
Border Router

conf t

ip route 0.0.0.0 0.0.0.0 10.0.0.1
ISP ဘက္ကို default route ညြန္ေပးပါ
router eigrp 1

redistribute static metric 10000 100 255 1 1500
static ေရးထားတဲ့ route ကို EIGRP ထဲ redistribute လုပ္ပါ။
end





#show ip route နဲ ့ျကည့္လိုက္ရင္ BorderRouter မွာ Gateway of the last resort is 10.0.0.1 to network 0.0.0.0 ျဖစ္ေနတာရယ္ ျပီေတာ့ S* 0.0.0.0/0 [1/0] 10.0.0.1 ျဖစ္ေနတာသည္ #ip route 0.0.0.0 0.0.0.0 10.0.0.1 ဆုိတဲ့ command ေျကာင့္ပါ။

BorderRouter မွာရွိတဲ ့ default route ကို တစ္ျခား Eigrp router ေတြကိုသိေစဖုိ ့#redistribute static metric 10000 100 255 1 1500 ဆိုတဲ ့ command က တာ၀န္ယူလုပ္ေဆာင္ေပးပါတယ္။ static ေရးထားတဲ့ default routeကို eigrp ထဲ redistribute လုပ္လိုက္မွ သာ အဲ့ route ကို EIGRP ကေနတစ္ဆင့္ advertise လုပ္ပါတယ္။



    Router3 တုိ့ Router5 တုိ့ကေန ျကည့္လိုက္တဲ့ အခ်ိန္မွာ သူတုိ့သည္ 0.0.0.0 (default route) network ကို advertise လုပ္တဲ့ router ကို လွမ္းျပီး gateway of last resort လို့ ျပထားတာကို ေတြ ့ရမွာပါ။


Route 3 သည္ default route ကို BorderRouter က လွမ္းေျပာလို့ သိရတာပါ။ အဲ့အတြက္ default route (0.0.0.0 Network) ကိုသြားမယ္ဆုိရင္ သူတို ့နွစ္ေကာင္ျကားက ခ်ိတ္ဆက္ထားတဲ့ BorderRouter ရဲ ့Physical IP ျဖစ္တဲ ့192.168.234.2 ကို ညြန္ ေပးထားတာကို ေတြ့ရမွာပါ။
ထုိ့အတူပဲ Router5 သည္ default route ကို Router3 ကေနတစ္ဆင့္ ရတာ ျဖစ္လို့.. Gate way of last resort ကို Router5 ရဲ ့ router3 နဲ့ခ်ိတ္ေနတဲ့ physical interface IP ျဖစ္တဲ့ 192.168.35.3 ကို ညြန္း ေနတာကို ေတြ့ရမွာပဲ ျဖစ္ပါတယ္။ အဲ့ဆုိ ISP ဘက္ျခမ္းက Network ကို Router 5 တုိ ့Router6 တုိ့ကေန ping ျကည့္ပါ။ ခု topology မွာ ဆုိရင္ေတာ့ loopback interface’s IP ျဖစ္တဲ့ 172.16.0.1 ကို လွမ္း ping ျကည့္ပါ။



Method 2 (EIGRP Network 0.0.0.0)

Method 2
BorderRouter
ပထမဆံုး old config နွစ္ခု (ip route & redistribute) ကို ဖ်က္ပါ။
conf t

no ip route 0.0.0.0 0.0.0.0 10.0.0.1

router eigrp 1

no redistribute static metric 10000 100 255 1 1500

exit



ip route 0.0.0.0 0.0.0.0 e0/0
default route ေရးပါ။
router eigrp 1

network 0.0.0.0
network 0.0.0.0 command ေျကာင့္ default route (0.0.0.0/0) ရွိေနရင္
EIGRP ထဲ ကိုထည့္လုိက္ပါ ေျပာေပးတဲ့ commandပါ။




Method 1 တုန္းကလိုပါပဲ။။ show ip route ျကည့္ပါ gateway ကို သိမသိ.. အဲ့ေနာက္ ISP ဘက္က 172.16.0.1 Network ကို Ping ျကည့္ပါ။

Method 3 (ip summary-address eigrp)

Method 3
BorderRouter
Metho 2 က config ေတြကို အရင္ ဖ်က္ပါ။
conf t

no ip route 0.0.0.0 0.0.0.0 e0/0

router eigrp 1

no network 0.0.0.0



interface Ethernet 0/1
eth0/1 သည္ က်န္တဲ့ EIGRP route ေတြနဲ ့ခ်ိတ္ဆက္ထားျပီး packet ေတြ
advertise လုပ္ေနတဲ ့ interface ျဖစ္ပါတယ္။
ip summary-address eigrp 1 0.0.0.0 0.0.0.0
default Network ကို ip summary address လုပ္ျပီး EIGRP အေနနဲ ့ေျကျငာပါ။
exit

ip route 0.0.0.0 0.0.0.0 10.0.0.1
ISP ကို default route ထုိးပါ။
end






က်န္တဲ့ router ေတြကို show ip route နဲ ့စစ္လိုက္ပါ။ default route ကို ေတြ ့ရပါမယ္။  ျပီးေတာ့ ping ျကည့္ပါ။ ကုိယ့္ routing table ထဲမွာ မရွိတဲ့ ISP ဘက္က route ေတြကို .. အဆင္ေျပပါလိမ့္မယ္။ စမ္းျကည့္က်ပါ။

Comments