In fact, we have also talked a lot about how to configure static routes. Here we mainly analyze the specific methods for configuring static routes for H3C switches for three switches. I hope you will have a lot of gains after reading this article, I also hope this article will teach you more things.
I. Networking requirements:
As shown in, by configuring static routes on the three switches, the three PCs in different network segments can communicate with each other.
Ii. Networking diagram:
Figure 3. configuration steps: Software Version: S9500 vswitch full-range Software Version: S9500 vswitch full-range hardware version, as shown in,
3. configuration steps:
Software Version: S9500 vswitch full range of software version; hardware version: S9500 vswitch full range of hardware version; as shown in, the mask of all IP addresses is 255.255.255.0.
1) Configure static routes for SwitchA
[SwitchA] iproute-static1.1.3.0255.255.255.01.1.2.2
[SwitchA] iproute-static1.1.4.0255.255.255.01.1.2.2
[SwitchA] iproute-static1.1.5.0255.255.255.01.1.2.2
2) Configure static routes for SwitchB.
[SwitchB] iproute-static1.1.2.0255.255.255.01.1.3.1
[SwitchB] iproute-static1.1.5.0255.255.255.01.1.3.1
[SwitchB] iproute-static1.1.1.0255.255.255.01.1.3.1
3) Configure static routes for SwitchC.
[SwitchC] iproute-static1.1.1.0255.255.255.01.1.2.1
[SwitchC] iproute-static1.1.4.0255.255.255.01.1.3.2
4) configure the default gateway for host A as 1.1.5.2, the default gateway for host B as 1.1.4.1, and the default gateway for host C as 1.1.1.2.