cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
559
Views
5
Helpful
2
Replies

why Default routes are less preferred among all routing protocol??

Hello all,

why default routes are less preferred among all routing protocols including static routes????

 

thanks in advance!!!!

2 Replies 2

because it have the less subnet mask. 
and always the longest match win. 

this lab for all confuse about the default route and static route, 
three default route in R1 each toward different router and I capture traffic, 
here the we dont looking for success of ping we looking for see how router behave when it receive packet with specific Des. IP 
R5 will ping three different IP 
10.0.0.1 
10.1.0.1 
11.0.0.0
you can see that each time the R1 select different path 
10.0.0.1 will go to R4 why ? because it static route 10.0.0.0/16 which is longest match than other route 
10.1.0.1 will go to R2 why !!! because here 10.0.0.0/16 is not longest match why ? the static route is 10.0.0.0/16 and packet des.ip is 10.1.0.1 the longest match for /16 not work because there is different bit in bits care (bits care is first 16 bits and it must match 10.0.x.x), so R1 will select toward R2 becasue it have longest 10.0.0.0/8 and we see the traffic go toward R2
last 11.0.0.1 will go to R3 why ? since one bits is different for /16 and /8 then the router will search and hence there is default route which have subnet mask 0.0.0.0 meaning any des.ip the R1 will select path toward R3. 

that the story of default route with static route. 

 

Screenshot (326).pngScreenshot (327).png