Want this question answered?
Be notified when an answer is posted
The router discards the packet.The router forwards the packet out the interface indicated by the default route entry.
router
The router discards the packet. The router forwards the packet via the default route
First, routing is the process a router performs when making forwarding decisions for each packet arriving at the gateway interface. To forward a packet to a destination network, the router requires a route to that network. If a route to a destination network does not exist on the router, the packet will be forwarded to the default gateway. Now, the destination network can be a number of routers or hops away from the default gateway. If the router has an entry for the network in its routing table, it would only indicate the next-hop router to which the packet is to be forwarded to and not the exact route to the final router. To sum it up, the routing process uses a routing table to map the destination address to the next hop and then forwards the packet to the next-hop address.
First, routing is the process a router performs when making forwarding decisions for each packet arriving at the gateway interface. To forward a packet to a destination network, the router requires a route to that network. If a route to a destination network does not exist on the router, the packet will be forwarded to the default gateway. Now, the destination network can be a number of routers or hops away from the default gateway. If the router has an entry for the network in its routing table, it would only indicate the next-hop router to which the packet is to be forwarded to and not the exact route to the final router. To sum it up, the routing process uses a routing table to map the destination address to the next hop and then forwards the packet to the next-hop address.
If a router has a route in its routing table, it will have a next hop IP address and / or outbound interface. If a router does not have a route in its routing table the packet will be dropped.
in general the router uses the network address to compare to the routing table. Specifically, on the internet, the Router looks up the destination IP address in the router table to determine where to route the packet.
Routing table
x -> routing table
A router is a networking device that forwards data on a network.
The router only needs to know the next-hop address; in other words, it sends the data to the next router; this next router then takes its own decision.Each router maintains a routing table, with information about where to send IP packets. The information is stored on a per-network basis. When the router receives an IP packet, it consults the routing table, to see what is the next-hop address, and through which interface it must send the packet.The router only needs to know the next-hop address; in other words, it sends the data to the next router; this next router then takes its own decision.Each router maintains a routing table, with information about where to send IP packets. The information is stored on a per-network basis. When the router receives an IP packet, it consults the routing table, to see what is the next-hop address, and through which interface it must send the packet.The router only needs to know the next-hop address; in other words, it sends the data to the next router; this next router then takes its own decision.Each router maintains a routing table, with information about where to send IP packets. The information is stored on a per-network basis. When the router receives an IP packet, it consults the routing table, to see what is the next-hop address, and through which interface it must send the packet.The router only needs to know the next-hop address; in other words, it sends the data to the next router; this next router then takes its own decision.Each router maintains a routing table, with information about where to send IP packets. The information is stored on a per-network basis. When the router receives an IP packet, it consults the routing table, to see what is the next-hop address, and through which interface it must send the packet.
Destination network address of an incoming packet