Get the App
SLTechnology News&Howtos  ›  Network Security  › 

High availability of the network: routing line backup-floating static route

Shulou Source: shulou.com Published: 2022-06-01 06:59:27 10月03日 Update

To achieve high availability of the network, let's back up the routed lines

The diagram of the lab topology is as follows:

High availability of the network: routing line backup-floating static route

(device: router Quidway R2621)

The steps of the experiment:

1. Configuration of router R1

two。 Configuration of router R2

3. Ospf configuration of router R1 R2

4. Test

1. Configuration of router R1

[Router] sysname r1

[r1] int s0

[r1-Serial0] ip add 192.168.3.1 24

[r1-Serial0] int s1

[r1-Serial1] ip add 192.168.4.1 24

[r1-Serial1] int e0

[r1-Ethernet0] ip add 192.168.1.254 24

[r1-Ethernet0] qu

[r1] ip route 192.168.2.0 24 192.168.4.2

two。 Configuration of router R2

[Router] sysname r2

[r2] int s0

[r2-Serial0] ip add 192.168.3.2 24

[r2-Serial0] int s1

[r2-Serial1] ip add 192.168.4.2 24

[r2-Serial1] int e0

[r2-Ethernet0] ip add 192.168.2.254 24

[r2-Ethernet0] loopback

[r2-Ethernet0] qu

[r2] ip rout 192.168.1.0 24 192.168.4.1

3. Configure ospf

3.1 on the R1 router

[r1] int s0

[r1-Serial0] ospf enable area 1

[r1-Serial0] standby int ser 1

[r1-Serial0] int e0

[r1-Ethernet0] ospf enable area 1

[r1-Ethernet0] qu

[r1] ospf enable

3.2 on R2 router

[r2] int s0

[r2-Serial0] ospf en area 1

[r2-Serial0] standby int serial 1

[r2-Serial0] int e0

[r2-Ethernet0] ospf ena area 1

[r2-Ethernet0] qu

[r2] ospf enable

4. Test

From the lan1 intranet, a host (192.168.1.100) ping LAN lan2 gateway (192.168.2.254bin24)

/ / during normal communication, the routing table on router R1 is shown in figure 4-1, and then the port S0 of R1 is down off. The host on lan1 appears as follows (figure 4-2), and the routing table on router R1 is shown in figure 4-3.

Figure 4-1

Figure 4-2

Figure 4-3

/ / enable port S0 on router R1. The routing table of R1 is shown in figure 4-4. The communication status of Lan1 client is shown in figure 4-5. Because of the ospf learning process between routers, customers will lose some packets.

Figure 4-4

Figure 4-5

Tags: Routing router configuration such as figure availability backup line network host customer lab quiz static floating client local area local area network situation topology topology diagram Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Shulou Technology Microsoft Apple NVidia