- A routing table is a set of rules, often viewed in table format, that is used to determine where data packets traveling over an Internet Protocol (IP) network will be directed. All IP-enabled devices, including routers and switches, use routing tables.
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.
Routing tables can be maintained manually or dynamically. Tables for static network devices do not change unless a network administrator manually changes them. In dynamic routing, devices build and maintain their routing tables automatically by using routing protocols to exchange information about the surrounding network topology. Dynamic routing tables allow devices to "listen" to the network and respond to occurrences like device failures and network congestion.
 |
Learn more about IP Networking |
| How to subnet: Subnetting calculations and shortcuts: Learn how subnetting works in this tip and quiz on how to calculate a subnet mask. IP address classes and bit values of octets are explained in detail. |
| IP addressing and subnetting explained: Our IP addressing and subnetting crash course provides an overview of IP addressing-related topics, including IPv4 and IPv6, subnetting, DHCP, and calculating subnet masks. |
| Troubleshooting IP Routing -- 'CCNA Official Exam Certification Library, 3rd Edition,' Chapter 7: Learn how to troubleshoot IP routing in preparation for the Cisco CCNA exam in this chapter from 'CCNA Official Exam Certification Library, 3rd Edition.' |
| IP address management -- from 'Network troubleshooting and diagnostics': Learn how IP address management and maintenance tools can help manage the scope of IP addresses on your network. |
| IP Accounting -- from Network Management: Accounting and Performance Strategies: IP Accounting, Chapter 6 of Network Management: Accounting and Performance Strategies, describes the IP Accounting features and functions in Cisco IOS, and SNMP MIB. |
| Basic IP Connectivity and CEF Troubleshooting -- Chapter 4 of "Cisco Express Forwarding": This chapter presents the general troubleshooting used on Cisco IOS routers and switches as a first step in troubleshooting IP connectivity problems. |
| LAST UPDATED: |
18 Apr 2007
|
 |
Do you have something to add to this definition? Let us know.
Send your comments to techterms@whatis.com
|

 |
More resources from around the web:
|


');
// -->


 |
 |
|  |
RELATED GLOSSARY TERMS
| Terms from Whatis.com − the technology online dictionary |
 |
32-bit IP addressing
(SearchNetworking.com)
32-bit IP addressing is the IP address scheme used in Internet Protocol 4 (IPv6 uses a 128-bit system)... (Continued)
|
 |
fixed-length subnet mask
(SearchNetworking.com)
A fixed-length subnet mask (FLSM) is a sequence of numbers of unchanging length that streamlines packet routing within the subnets of a proprietary...
|
|

|