I think you are asking which default route would be placed in the routing table in the event that one is learned dynamically and the other statically.
For example, one learned from OSPF and the other statically.
Something like that?
If so, the static route will be used because it has a lower Administrative Distance (AD) than any dynamic route, by default.
When comparable routes (same prefix length - specificity) are received by a router from the same routing protocol, it will select the one with the best metric and place it in the routing table. If, however, they come from 2 different sources, the AD will be examined and the one with the lower AD will be placed in the routing table.
Lastly, if the 2 routes are not comparable (different prefix lengths), it will utilize the more specific route to the destination, although both may exist in the routing table.
Yes and the router uses the AD to select the 'Best' default.
One point to note here is that the best default available on a router is zero (0), and it looks like this:
ip route 0.0.0.0 0.0.0.0 gigabit 1/0
And to complete the picture the following route will have the next best default on offer and as you can see points to an IP next-hop:
ip route 0.0.0.0 0.0.0.0 192.168.1.254
If there is no static route, and two defaults are being received by dynamic routing protocols, the one with the best AD will make it into the routing table. An eBGP default is the next best and so on and so forth (i.e. eigrp, ospf..)
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.