412 CHAPTER 27: CONFIGURING STATIC ROUTES
Static Route
Configuration
Example
By configuring a status route, any two hosts or routes can communicate with each
other.
Figure 144 Example of static route configuration
To configure a static route:
1 Configure the static route for RouterA:
[RouterA] ip route-static 1.1.4.0 255.255.255.0 1.1.6.2
[RouterA] ip route-static 1.1.5.0 255.255.255.0 1.1.2.2
2 Configure the static routes for RouterB:
[RouterB] ip route-static 1.1.5.0 255.255.255.0 1.1.3.1
[RouterB] ip route-static 1.1.1.0 255.255.255.0 1.1.6.1
3 Configure the static routes for RouterC:
[RouterC] ip route-static 1.1.1.0 255.255.255.0 1.1.2.1
[RouterC] ip route-static 1.1.4.0 255.255.255.0 1.1.3.2
Troubleshooting a
Static Route
Configuration
The status of the physical interface and link layer protocol is UP, but IP packets
cannot be forwarded normally.
Troubleshooting:
■ Use the display ip routing-table static command to check whether
related static routes are configured correctly or not.
■ Use the display ip routing-table command to see whether this static route
is already effective or not.
■ Check whether the next hop address is specified or specified correctly on the
NBMA type interface.
■ Check the secondary routing table of the link layer on the NBMA interface to
see if the configuration is correct.
Host1 1.1.1.1
Host2 1.1.4.2
Host3 1.1.5.1
E0
1.1.1.2
s0
1.1.2.1
s0
1.1.2.2
E0
1.1.5.2
s1
1.1.3.1
s0
1.1.3.2
E0
1.1.4.1
Router C
Router A Router B
s1
1.1.6.1
s1
1.1.6.2