Routing Table Entries and Sizes
Routing tables contain a list of IP addresses. Each IP address identifies a remote router (or other network gateway) that the local router is configured to recognize. For each IP address, the routing table additionally stores a network mask and other data that specifies the destination IP address ranges that remote device will accept.
Home network routers utilize a very small routing table because they simply forward all outbound traffic to the Internet Service Provider (ISP) gateway which takes care of all other routing steps. Home router tables typically contain ten or fewer entries. By comparison, the largest routers at the core of the Internet backbone must maintain the full Internet routing table that exceeds 100,000 entries and growing as the Internet expands.
Two hypothetical, partial routing table entries are shown below:
IP Address: 22.214.171.124 - Network Mask: 255.255.255.255
IP Address: 192.168.1.1 - Network Mask: 255.255.255.0
Dynamic vs. Static Routing
Home routers set up their routing tables automatically when connected to the ISP, a process called dynamic routing. They generate one routing table entry for each of the ISPs DNS servers (primary, secondary and tertiary if available) and one entry for routing among all the home computers. They may also generate a few additional routes for other special cases including multicast and broadcast routes.
Most residential network routers prevent you from manually overriding or changing the routing table. However, business routers typically allow network administrators to manually update or manipulate routing tables. This so-called static routing can be useful when optimizing for network performance and reliability.
Viewing the Contents of Routing TablesOn home broadband routers, the routing table contents are typically shown on a screen inside the administrative console.
On Windows and Unix/Linux computers, the netstat -r command also displays the contents of the routing table configured on the local computer.