Default route

Default route

A default route, also known as the gateway of last resort, is the network route used by a router when no other known route exists for a given IP packet's destination address. All the packets for destinations not known by the router's routing table are sent to the default route. This route generally leads to another router, which treats the packet the same way: If the route is known, the packet will get forwarded to the known route. If not, the packet is forwarded to the default-route of that router which generally leads to another router. And so on. Each router traversal adds a one-hop distance to the route.

Once the router with a known route to a host destination is reached, the router determines which route is valid by finding the "most specific match". The network with the longest subnet mask that matches the destination IP address wins.

The default route in IPv4 (in CIDR notation) is 0.0.0.0/0,[1] often called the quad-zero route. Since the subnet mask given is /0, it effectively specifies no network, and is the "shortest" match possible. A route lookup that doesn't match anything will naturally fall back onto this route. Similarly, in IPv6 the default address is given by ::/0.

Routers in an organization generally point the default route towards the router that has a connection to a network service provider. This way, packets with destinations outside the organization's local area network (LAN)—typically to the Internet, WAN, or VPN—will be forwarded by the router with the connection to that provider.

Once it is routed outside the network, if that router does not know the route of the destination, it will forward it to its own Default Route, which is usually a router connected to larger number of networks. Similarly, the packet will progress to the Internet backbone. If still no route is known about the destination IP, it is then considered that the network does not exist, and the packet is discarded.

Host devices in an organization generally refer to the default route as a default gateway which can be, and usually is, a filtration device such as a firewall or Proxy server.

References

  1. ^ "RFC1519: Classless Inter-Domain Routing (CIDR): an Address Assignment and Aggregation Strategy". IETF (Internet Engineering Task Force). http://tools.ietf.org/html/rfc1519. "Note that the degenerate route 0.0.0.0 mask 0.0.0.0 is used as a default route and MUST be accepted by all implementations." 

Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Default gateway — In computer networking, a gateway is a node (a router) on a TCP/IP network that serves as an access point to another network. A default gateway is the node on the computer network that the network software uses when an IP address does not match… …   Wikipedia

  • Default-free zone — In the context of Internet routing, the default free zone (DFZ) refers to the collection of all Internet autonomous systems that do not require a default route to route a packet to any destination. Conceptually, DFZ routers have a complete BGP… …   Wikipedia

  • Route 177 (Rhode Island — Route 177 Route information Maintained by the Rhode Island Department of Transportation …   Wikipedia

  • Route 15 (MTA Maryland) — Route 15 City Baltimore Operating Agency Maryland Transit Administration …   Wikipedia

  • Route 61 (MTA Maryland) — Route 61 City Baltimore Operating Agency Maryland Transit Administration …   Wikipedia

  • Route filtering — In the context of network routing, route filtering is the concept, especially used on the global Internet with BGP, of filtering (removing from your routing table) routes for certain prefixes (destination address ranges). Route filtering can… …   Wikipedia

  • Default-free zone — Croissance de la table de routage Internet depuis 1989. Croissance du nombre d AS …   Wikipédia en Français

  • Massachusetts Route 25 — Route 25 …   Wikipedia

  • New Jersey Route 94 — Route 94 94th Infantry Division Memorial Highway …   Wikipedia

  • New Jersey Route 154 — Route 154 Brace Road Route information Maintained by NJDOT Length: 1.70 mi …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”