What will A router do if it cannot determine where to forward an incoming packet

How Routers Transfer Packets

Refer to Chapter 2, Configuring a System as a Router, in Configuring an Oracle Solaris 11.2 System as a Router or a Load Balancer .

The following figure shows a network topology with three networks that are connected by two routers.

Figure 1-4  A Network Topology With Three Interconnected Networks

What will A router do if it cannot determine where to forward an incoming packet

Router R1 connects networks 192.9.200.0/24 and 192.9.201.0/24. Router R2 connects networks 192.9.201.0/24 and 192.9.202.0/24.

    If Host A on network 192.9.200.0/24 sends a message to Host B on network 192.9.202, the following events occur:

  1. Host A examines its routing tables for the path to 192.9.202.10. The local network address range does not cover this address, but there is a previously learned default route through router R1 that covers the address. Therefore, Host A sends the packet to Router R1.

  2. Router R1 examines its routing tables. No local network's address range covers the destination address, but there is a known route to network 192.9.202.0/24 through Router R2 that covers the address, Router R1 sends the packet to Router R2.

  3. Router R2 is connected directly to network 192.9.202.0/24. The routing table lookup reveals that 192.9.202.10 is on the attached network. Router R2 sends the packet directly to Host B.

If a router receives a packet whose IP destination address is not in its routing table, I believe it will send it to its default port.

Suppose that we erase that entry from the table. Now, I think that the router will send an ARP request in order to find where to forward it. I have two questions regarding this process:

  • If there is no ARP response (i.e. there is no route from the router to the destination address), will it discard it and send an ICMP message to the origin stating that the destination was unreachable?
  • Will in any case a router discard a packet just because the destination address is not in its routing table (assuming there is no 'default' entry)? Or will it always check if it is possible to reach the destination via ARP requests?

What will A router do if it cannot determine where to forward an incoming packet

Ron Maupin

94.6k25 gold badges109 silver badges184 bronze badges

asked Feb 18, 2018 at 22:14

What will A router do if it cannot determine where to forward an incoming packet

ARP is a LAN protocol that resolves a layer-3 to a layer-2 address. A router, like any host will use ARP for a host that is on a LAN to which it is directly connected.

Routers will look at the destination address on a packet, and try to find a match in its routing table. If it cannot find a match it will drop the packet and send an ICMP message to the source to tell it that is has no route to the destination network.

The default IPv4 network, 0.0.0.0/0, or default IPv6 network, ::/0, encompasses every IP address for the protocol, and every address for the protocol will match a route to the default network. Having a default route in the routing table prevents the router from dropping packets with unknown destinations.

answered Feb 18, 2018 at 22:20

What will A router do if it cannot determine where to forward an incoming packet

Ron MaupinRon Maupin

94.6k25 gold badges109 silver badges184 bronze badges

4

Onces the packet reaches router . Router will verify routing table . If in routing table route to destination is found ,router will forward packet to next hop as per routing table . If route show its directly connected networks .Then further checks for ARP table and forward traffic to L2 switch , in L2 switch mac -address table is verified and forward packet towards specific destination.

If router is not present in routing table of router . Router will just drops the packet .

answered Jan 1, 2021 at 3:16

What will A router do if it cannot determine where to forward an incoming packet

Sagar UragondaSagar Uragonda

7591 gold badge15 silver badges73 bronze badges

What will the router do to forward the packet?

Packet-forwarding routers forward packets but do not run routing protocols. This type of router receives packets from one of its interfaces that is connected to a single network. These packets are then forwarded through another interface on the router to another local network.

Which portion of the network layer does a router use to forward packets?

The default gateway address is used to forward packets originating from the switch to remote networks. It provides a next-hop address for all traffic that flows through the switch. Q. What are two functions that are provided by the network layer? (Choose two.)

When a router receives a packet it assesses whether it should be forwarded to a remote destination host How will the packet be forwarded by the router?

A router receives an incoming packet and determines that the packet should be forwarded to a remote destination host. What will the router do to forward the packet? It encapsulates the frame with a source IP address by using the specific IP address of the destination host.

What role does a router play on a network?

A router is a device that connects two or more packet-switched networks or subnetworks. It serves two primary functions: managing traffic between these networks by forwarding data packets to their intended IP addresses, and allowing multiple devices to use the same Internet connection.