A default route is very useful in network where learning all the more specific routes is not desirable such as in case of stub networks. In previous lessons in which we discussed basics of IP Routing we know that a router when performing a route lookup will select a route with longest possible match based on CIDR specifications, however if packet does not match any route in the routing table it will match a default route, the shortest possible route, if it exists in the routing table. Now since the both the host/network portion and the prefix length is zero a default route is the shortest possible match. In IPv4 the CIDR notation for a default route is 0.0.0.0/0 and ::/0 in IPv6. Default route which is also known as the gateway of last resort, is used in forwarding packets whose destination address does not match any route in the routing table.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |