412CHAPTER 27: CONFIGURING STATIC ROUTES

Static Route

By configuring a status route, any two hosts or routes can communicate with each

Configuration

other.

Example

Figure 144 Example of static route configuration

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Host3 1.1.5.1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

E0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1.1.5.2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

s0

s1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1.1.2.2

Router C 1.1.3.1

 

 

 

 

 

 

 

 

 

 

 

 

 

s0

 

s0

 

 

 

 

 

 

 

 

 

 

 

 

 

1.1.2.1

 

 

 

 

 

 

 

 

 

 

 

 

 

E0

s1

s1

1.1.3.2

E0

 

 

 

 

 

 

 

 

1.1.1.2

1.1.6.1

1.1.6.2

 

1.1.4.1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Router A

Router B

Host2 1.1.4.2

 

Host1 1.1.1.1

 

 

 

 

 

 

 

 

 

 

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

The status of the physical interface and link layer protocol is UP, but IP packets

Static Route

cannot be forwarded normally.

 

 

 

 

 

 

 

Configuration

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-tablecommand 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.

Page 416
Image 416
3Com 10014299 manual Static Route, Troubleshooting a, Other