How does a router use a routing table to determine over which path to send a packet?
If you're seeing this message, it means we're having trouble loading external resources on our website. Show
If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked. All nodes on an IP network maintain routing information in routing tables. These tables contain information of how to reach systems that are attached to both local and remote networks. The routing tables are generated from local configuration information and from routing protocol messages that is exchanged with neighboring systems. When a host system initially sends a packet, it looks up the packet's destination address in its routing table to determine if the destination is on the local network. If yes, the packet goes directly to the host with that IP address. If not, the packet goes to a router on the local network. When a router receives a packet, the router checks its routing table to determine if the destination address is for a system on one of it's attached networks or if the message must be forwarded through another router. It then sends the message to the next system in the path to the destination. This process is repeated on each router that receives the message until the message reaches the destination system. 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 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: |