3Com Switch 8800 Configuration Guide
Chapter 17 Static Route Configuration
17-5
II. Network diagram
Host 1.1.5.1
1.1.5.2/24
1.1.2.2/24
1.1.2.1/24
1.1.1.2/24
Host 1.1.1.1
Host 1.1.4.2
1.1.3.1/24
1.1.3.2/24
1.1.4.1/24
Switch A
Switch B
Switch C
A
C
B
Host 1.1.5.1
1.1.5.2/24
1.1.2.2/24
1.1.2.1/24
1.1.1.2/24
Host 1.1.1.1
Host 1.1.4.2
1.1.3.1/24
1.1.3.2/24
1.1.4.1/24
Switch A
Switch B
Switch C
A
C
B
Figure 17-1
Network diagram for the static route configuration example
III. Configuration procedure
Configure the static route for 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
Configure the static route for 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
Configure the static route for 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
Configure the default gateway of the Host A to be 1.1.1.2
Configure the default gateway of the Host B to be 1.1.4.1
Configure the default gateway of the Host C to be 1.1.5.2
Then, all the hosts or switches in the figure can be interconnected in pairs.