beautypg.com

Network requirements, Multiple masters appear in a vrrp group, Fast vrrp state flapping – H3C Technologies H3C S12500-X Series Switches User Manual

Page 100

background image

92

Reply from 30.1.1.1: bytes=56 Sequence=2 ttl=254 time=1 ms

Reply from 30.1.1.1: bytes=56 Sequence=3 ttl=254 time=1 ms

Reply from 30.1.1.1: bytes=56 Sequence=4 ttl=254 time=2 ms

Reply from 30.1.1.1: bytes=56 Sequence=5 ttl=254 time=1 ms

--- Ping statistics for 30.1.1.1 ---

5 packet(s) transmitted, 5 packet(s) received, 0.00% packet loss

round-trip min/avg/max/std-dev = 1/1/2/1 ms

# The output on Switch D is similar to that on Switch A. When the master route fails, the hosts in
30.1.1.0/24 can still communicate with the hosts in 20.1.1.0/24.

[SwitchB] ping -a 30.1.1.1 20.1.1.1

Ping 20.1.1.1: 56 data bytes, press CTRL_C to break

Reply from 20.1.1.1: bytes=56 Sequence=1 ttl=254 time=2 ms

Reply from 20.1.1.1: bytes=56 Sequence=2 ttl=254 time=1 ms

Reply from 20.1.1.1: bytes=56 Sequence=3 ttl=254 time=1 ms

Reply from 20.1.1.1: bytes=56 Sequence=4 ttl=254 time=1 ms

Reply from 20.1.1.1: bytes=56 Sequence=5 ttl=254 time=1 ms

--- Ping statistics for 20.1.1.1 ---

5 packet(s) transmitted, 5 packet(s) received, 0.00% packet loss

round-trip min/avg/max/std-dev = 1/1/2/1 ms

Static routing-Track-BFD collaboration configuration example

Network requirements

As shown in

Figure 25

, Switch A, Switch B, and Switch C are connected to two segments 20.1.1.0/24

and 30.1.1.0/24. Configure static routes on these routers so that the two segments can communicate with

each other. Configure route backup to improve network reliability.
Switch A is the default gateway of the hosts in segment 20.1.1.0/24. Two static routes to 30.1.1.0/24 exist

on Switch A, with the next hop being Switch B and Switch C, respectively. These two static routes back
up each other as follows:

The static route with Switch B as the next hop has a higher priority and is the master route. If this
route is available, Switch A forwards packets to 30.1.1.0/24 through Switch B.

The static route with Switch C as the next hop acts as the backup route.

Configure static routing-Track-BFD collaboration to determine whether the master route is available
in real time. If the master route is unavailable, BFD can quickly detect the route failure to make the

backup route take effect, and Switch A forwards packets to 30.1.1.0/24 through Switch C and

Switch B.

Similarly, Switch B is the default gateway of the hosts in segment 30.1.1.0/24. Two static routes to
20.1.1.0/24 exist on Switch B, with the next hop being Switch A and Switch C, respectively. These two

static routes back up each other as follows:

The static route with Switch A as the next hop has a higher priority and is the master route. If this
route is available, Switch B forwards packets to 20.1.1.0/24 through Switch A.

The static route with Switch C as the next hop acts as the backup route.

Configure static routing-Track-BFD collaboration to determine whether the master route is available
in real time. If the master route is unavailable, BFD can quickly detect the route failure to make the