88CHAPTER 5: IP ROUTING PROTOCOL OPERATION

Figure 24 Static Route Configuration

 

 

 

 

 

 

 

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Host 1.1.5.1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1.1.5.2/24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1.1.3.1/24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Switch C

 

 

 

 

 

 

 

1.1.2.1/24

 

 

 

 

 

1.1.3.2/24

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1.1.1.2/24

 

 

 

 

 

 

1.1.4.1/24

B

A

 

 

Switch A

 

 

Switch B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Host 1.1.4.2

Host 1.1.1.1

1Configure the static route for Ethernet Switch A:

[Switch A]ip route-static 1.1.3.0 255.255.255.0 1.1.2.2 [Switch A]ip route-static 1.1.4.0 255.255.255.0 1.1.2.2 [Switch A]ip route-static 1.1.5.0 255.255.255.0 1.1.2.2

2Configure the static route for Ethernet Switch B:

[Switch B]ip route-static 1.1.2.0 255.255.255.0 1.1.3.1 [Switch B]ip route-static 1.1.5.0 255.255.255.0 1.1.3.1 [Switch B]ip route-static 1.1.1.0 255.255.255.0 1.1.3.1

3Configure the static route for Ethernet Switch C:

[Switch C]ip route-static 1.1.1.0 255.255.255.0 1.1.2.1 [Switch C]ip route-static 1.1.4.0 255.255.255.0 1.1.3.2

4Configure the default gateway of the Host A to be 1.1.5.2

5Configure the default gateway of the Host B to be 1.1.4.1

6Configure the default gateway of the Host C to be 1.1.1.2

Using this procedure, all the hosts or switches in Figure 24 can be interconnected in pairs.

Troubleshooting Static The Switch 7750 is not configured with any dynamic routing protocols enabled. Routes Both the physical status and the link layer protocol status of the interface are

enabled, but the IP packets cannot be forwarded normally.

Use the display ip routing-table protocol static command to view

whether the corresponding static route is correctly configured.

Use the display ip routing-tablecommand to view whether the corresponding route is valid.

Page 88
Image 88
3Com 10014298 manual Configure the static route for Ethernet Switch a, Configure the static route for Ethernet Switch B