Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

STANDBY Hot backup HSRP Hot backup routing Protocol

2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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,

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report