Get the App
SLTechnology News&Howtos  ›  Servers  › 

STANDBY Hot backup HSRP Hot backup routing Protocol

Shulou Source: shulou.com Published: 2022-06-03 00:11:30 10月02日 Update

Topological diagram above,

Objective of the experiment: 1. To realize the connectivity of hosts in different network segments

2, dynamic demonstration of the process of hot backup, vlan1 and vlan 2 main line is the left host, vlan3 and vlan 4 belong to the backup machine, under normal circumstances.

Experiment steps: 1, first establish vlan1, 2, 3, 4 on the switch, then associate vlan with switch interface, and then port f20,f21 trunk,

The vlan is associated with the interface as follows:

inter fas0/1 incoming interface

switch mode acc

sw acc vlan1

2. Create lvlan1, 2, 3, 4 on the left multilayer switch, then port trunk, and then give each vlan a gateway IP.

inter vlan 1

ip add 192.168.1.1 255.255.255.0

exit

Port trunk: inter fas 0/20

sw tr enc dot

sw mo tr

3. Implement the same operation on the multilayer switch on the right, only slightly different. When setting the gateway IP for the vlan, it must be different from the input on the left, as follows

inter vlan 1

ip add 192.168.1.2 255.255.255.0

exit

4. Implement host operation on the left switch and backup operation on the right switch.

inter vlan 1

standby 1 ip 192.168.1.250 up virtual gateway

standby 1 priority 105 //Increase the default priority by 5 points, default 100

standby 1 preempt //enable preempt

inter vlan 2

same operation

inter vlan 3,inter vlan 4

On the right backup machine, do the following

inter vlan 3

standby 3 ip 192.168.3.2 255.255.255.0

standby 3 priority 105

standby 3 preempt

Note:

1. Don't forget to turn on the routing function: ip routing

2. To set the IP gateway of each PC to 250 as in the above experiment,

Tags: Backup switch gateway host right interface port lab different function multi-layer association routing same priority dynamic just as above case topology Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Xiaomi macOS OPPO Reno MySQL