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

Huawei vrry Virtual Gateway

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Experiment name: Huawei virtualizes a virtual gateway with two routers

Experimental topology diagram:

3. Configuration idea: first, create a vlan10 on the switch lsw1, add the corresponding ports to the vlan10, then configure each router with a gateway address, and finally use the router AR1 as the primary gateway and AR2 as the secondary gateway

4. Configuration steps:

# create vlan 10 on lsw1 and add the corresponding port to vlan 10

# vlan10

Port-group group-member g0/0/1 g0/0/2 g0/0/ 3

Port link-type access

Port default vla10 / / add multiple ports to vlan 10 at the same time

# configure the local gateway address on the router AR1,AR2

Interface g0/0/0

Ip address 192.168.10.253 255.255.255.0

Undo shutdown / / in AR1

Interface g0/0/0

Ip address 192.168.10.252 255.255.255.0

Undo shutdown / / in AR2

# next configure the virtual gateway

Interface g0/0/0

Vrrp vrid 1 virtual-ip 192.168.10. two hundred and fifty four

Vrrp vrid 1 priority 101 / / virtualize a gateway address on AR1 and make it have a higher priority than the default, which is 100 by default

It can be obtained in the same way

Interface g0/0/0

Vrrp vrid 1 virtual-ip 192.168.10.254 / on AR2

# configure the pc machine to make the gateway of the PC the ip address of the virtual gateway

Ip address 192.168.10.1 255.255.255.0 192.168.10.254

Verification and testing: ping 192.168.10.254 is shown in the following figure:

# the above figure shows that the virtual gateway is configured correctly

# then let the primary route hang up and let the secondary route inherit the gateway

Interface g0/0/0

Shutdown / / on AR1

As shown in the following figure

Testing and verification: display vrrp

# now the secondary route has become the primary route tested with the ping command, and it can still be ping.

# Summary: the purpose of configuring a virtual gateway is that when the primary route is broken, the secondary route can inherit the responsibility of the primary route, and the benefits can ensure the smooth flow of the network.

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