Friday, September 4, 2009

Routing Table

A routing table contains the information necessary to forward a packet along the best path toward its destination. Each packet contains information about its origin and destination. When a packet is received, a network device examines the packet and matches it to the routing table entry providing the best match for its destination. The table then provides the device with instructions for sending the packet to the next hop on its route across the network.

A basic routing table includes the following information:

Destination:
The IP address of the packet's final destination
Next hop: The IP address to which the packet is forwarded
Interface: The outgoing network interface the device should use when forwarding the packet to the next hop or final destination

Metric:
Assigns a cost to each available route so that the most cost-effective path can be chosen

Routes:
Includes directly-attached subnets, indirect subnets that are not attached to the device but can be accessed through one or more hops, and default routes to use for certain types of traffic or when information is lacking.

No comments:

Post a Comment