Sunday, May 1, 2011

Troubleshooting static route configuration

Troubleshooting static route configuration 
6.1.6
This page will show students how to troubleshoot a static route configuration.
On an earlier page, students configured static routes on Hoboken to access networks on Sterling and Waycross. In this configuration, nodes on the Sterling 172.16.1.0 network cannot reach nodes on the Waycross 172.16.5.0 network.
From privileged EXEC mode on the Sterling router, ping to a node on the 172.16.5.0 network. The ping fails. Now use the traceroute command from Sterling to the address that was used in the ping statement. Note where the traceroute fails. The traceroute indicates that the ICMP packet was returned from Hoboken but not from Waycross. This implies that the trouble exists either on Hoboken or Waycross.
Telnet to the Hoboken router. Try again to ping the node on the 172.16.5.0 network connected to the Waycross router. This ping should succeed because Hoboken is directly connected to Waycross.
The Lab Activities on this page will teach students how to configure static routes for data transfer without dynamic routing protocols.
This page concludes this lesson. The next lesson will explain dynamic routing. The first page provides an overview of routing protocols.

Verifying static route configuration

Verifying static route configuration 
6.1.5 
This page will teach students the process that is used to verify static route configurations.
After static routes are configured it is important to verify that they are present in the routing table and that routing is working as expected. The command show running-config is used to view the active configuration in RAM to verify that the static route was entered correctly. The show ip route command is used to make sure that the static route is present in the routing table.
Use the following steps to verify static route configuration:
  • Enter the show running-config command in privileged mode to view the active configuration.
  • Verify that the static route has been correctly entered. If the route is not correct, it will be necessary to go back into global configuration mode to remove the incorrect static route and enter the correct one.
  • Enter the command show ip route.
  • Verify that the route that was configured is in the routing table.
The Lab Activity will show students how to verify default static route configurations.
The next page will teach students how to troubleshoot a static route configuration

Configuring default route forwarding

Configuring default route forwarding 
 6.1.4 
This page will show students how to configure default static routes.
Default routes are used to route packets with destinations that do not match any of the other routes in the routing table. Routers are typically configured with a default route for Internet-bound traffic, since it is often impractical and unnecessary to maintain routes to all networks in the Internet. A default route is actually a special static route that uses this format:
ip route 0.0.0.0 0.0.0.0 [next-hop-address | outgoing interface ]
The 0.0.0.0 mask, when logically ANDed to the destination IP address of the packet to be routed, will always yield the network 0.0.0.0. If the packet does not match a more specific route in the routing table, it will be routed to the 0.0.0.0 network.
Use the following steps to configure default routes:
Step 1 Enter global configuration mode.
Step 2 Type the ip route command with 0.0.0.0 for the prefix and 0.0.0.0 for the mask. The address option for the default route can be either the local router interface that connects to the outside networks or the IP address of the next-hop router.
Step 3 Exit global configuration mode.
Step 4 Use the copy running-config startup-config command to save the active configuration to NVRAM.
On the previous page, static routes were configured on Hoboken to access networks 172.16.1.0 on Sterling and 172.16.5.0 on Waycross. It should now be possible to route packets to both of these networks from Hoboken. However, Sterling and Waycross will not know how to return packets to any network that is not directly connected. A static route could be configured on Sterling and Waycross for each of these destination networks. This would not be a scalable solution on a larger network.
Sterling connects to all networks that are not directly connected through interface Serial 0. Waycross has only one connection to all non-directly connected networks. This is through interface Serial 1. A default route on Sterling and Waycross will be used to route all packets that are destined for networks that are not directly connected.  
In the Lab Activity, students will configure a default static route.
The next page will show students how to verify static route configurations.