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

Configure VRRP (Virtual Router redundancy Protocol)

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

1, Lab name: configure VRRP (Virtual Router redundancy Protocol)

2. Purpose of the experiment:

3, Experimental Topology:

4. Configuration steps:

(1) configure switch SW1

SW1 (config) # vlan 10 create vlan 10

SW1 (config-vlan) # e

SW1 (config-vlan) # exit

SW1 (config-if) # interface fas0/1 entry port 1

SW1 (config-if) # switchport mode access

SW1 (config-if) # switchport access vlan 10 join vlan 10

SW1 (config-if) # no shutdown

SW1 (config-if) # interface fas0/2 entry Port 2

SW1 (config-if) # switchport mode access

SW1 (config-if) # switchport access vlan 10 join vlan 10

SW1 (config-if) # no shutdown

SW1 (config-if) # interface fas0/3 enters port 3

SW1 (config-if) # switchport mode access

SW1 (config-if) # switchport access vlan 10 join vlan 10

SW1 (config-if) # no shutdown

(2) configure R1

R1 (config-if) # interface gi0/0

R1 (config-if) # ip address 192.168.10.254 255.255.255.0 Gateway

R1 (config-if) # no shutdown

R1 (config-if) # interface gi0/0

R1 (config-if) # standby 1 ip 192.168.10.250 enable VRRP and configure the virtual gateway IP

R1 (config-if) # standby 1 priority 110 configures the priority of the VRRP master device, default 100

(3) configure R2

R2 (config-if) # interface gi0/0

R2 (config-if) # ip address 192.168.10.254 255.255.255.0 enable VRRP and configure the virtual gateway IP

R2 (config-if) # no shutdown

R2 (config-if) # interface gi0/0

R2 (config-if) # standby 1 ip 192.168.10.250

R2 (config-if) # standby 1 priority 110 configures the priority of the VRRP master device, default 100

5. Verification and testing

6. Configuration ideas:

(1) configure PC

(2) configure switch SW1, create VLAN 10, and join the interface

(3) configure R2 gateway and virtual gateway.

(4) conclusion: configure the VRRP virtual IP address and modify the priority of the main router to preempt the priority function.

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