Static route configuration example
Network requirements
The IP addresses of devices are shown in
and Switch C so that any two hosts can communicate with each other.
Figure 228 Network diagram for IPv4 static route configuration
Configuration outlines
On Switch A, configure a default route with Switch B as the next hop.
1.
On Switch B, configure one static route with Switch A as the next hop and the other with Switch C
2.
as the next hop.
On Switch C, configure a default route with Switch B as the next hop.
3.
Configuration procedure
Configure the IP addresses of the interfaces (omitted)
1.
Configure IPv4 static routes
2.
# Configure a default route to Switch B on Switch A.
Select Network > IPv4 Routing from the navigation tree of Switch A, and then click the Create tab
to enter the page shown in
Type 0.0.0.0 for Destination IP Address.
Select 0 (0.0.0.0) from the Mask drop-down list.
Type 1.1.4.2 for Next Hop.
Click Apply.
Figure
228. Configure IPv4 static routes on Switch A, Switch B,
Figure
229.
262