VRRP configuration

Created: Dec 29, 2018 14:19:10Latest reply: Feb 1, 2019 04:12:30 529 4 9 0


#S1
< Huawei>system-view 
[Huawei]vlan 10
[Huawei-vlan10]q
[Huawei]int Vlanif 10
[Huawei-Vlanif10]ip add 192.168.0.252 255.255.255.0
[Huawei-Vlanif10]vrrp vrid 1 virtual-ip 192.168.0.254
[Huawei-Vlanif10]vrrp vrid 1 preempt-mode timer delay 5
[Huawei-Vlanif10]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type trunk 
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan all 
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type trunk 
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan all 
#S3
< Huawei>system-view 
[Huawei]vlan 10
[Huawei-vlan10]q
[Huawei]int Vlanif 10
[Huawei-Vlanif10]ip add 192.168.0.253 255.255.255.0
[Huawei-Vlanif10]vrrp vrid 1 virtual-ip 192.168.0.254
[Huawei-Vlanif10]vrrp vrid 1 preempt-mode timer delay 5
[Huawei-Vlanif10]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type trunk 
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan all 
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type trunk 
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan all 
#S4
< Huawei>system-view 
[Huawei]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type trunk 
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan all 
[Huawei-GigabitEthernet0/0/2]int g0/0/3
[Huawei-GigabitEthernet0/0/3]port link-type trunk
[Huawei-GigabitEthernet0/0/3]port trunk allow-pass vlan all 
[Huawei-GigabitEthernet0/0/3]q
[Huawei]vlan 10
[Huawei-vlan10]q
[Huawei]int GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type access 
[Huawei-GigabitEthernet0/0/1]port default vlan 10
#S5
< Huawei>system-view 
[Huawei]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type trunk 
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan all 
[Huawei-GigabitEthernet0/0/2]int g0/0/3
[Huawei-GigabitEthernet0/0/3]port link-type trunk
[Huawei-GigabitEthernet0/0/3]port trunk allow-pass vlan all 
[Huawei-GigabitEthernet0/0/3]q
[Huawei]vlan 10
[Huawei-vlan10]q
[Huawei]int GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type access 
[Huawei-GigabitEthernet0/0/1]port default vlan 10

  • x
  • convention:

yiyi0519  Visitor   Created Dec 29, 2018 14:19:56 Helpful(0) Helpful(0)

All physical routers acting as a virtual router must be in the same local area network (LAN) segment. Communication within the virtual router takes place periodically. This period can be adjusted by changing advertisement interval timers. The shorter the advertisement interval, the shorter the black hole period, though at the expense of more traffic in the network. Security is achieved by responding only to first hop packets, though other mechanisms are provided to reinforce this, particularly against local attacks. Election process is made orderly through the use of skew time, derived from a router's priority and used to reduce the chance of the thundering herd problem occurring during election. The skew time is given by the formula (256-Priority)/256 (expressed in milliseconds) RFC 3768
  • x
  • convention:

4am     Created Dec 29, 2018 15:57:27 Helpful(0) Helpful(0)

VRRP protects the gateway, which greatly improves the reliability of enterprise networks.
  • x
  • convention:

MHME     Created Jan 31, 2019 19:42:17 Helpful(0) Helpful(0)

There is some information about VRRP

Definition

The Virtual Router Redundancy Protocol (VRRP) groups multiple routing devices into a virtual router. One device functions as the master, and the others as the backup devices. When the next hop device of the master device fails, VRRP switches services to a backup device. This implementation ensures nonstop service transmission and reliability.

Purpose

As networks rapidly develop and applications become diversified, various value-added services, such as IPTV and video conferencing are widely used. Demands for network infrastructure reliability are increasing, especially for nonstop service transmission.

In practice, hosts use the default gateway to communicate with external networks. If the default gateway is faulty, hosts cannot access external networks. Configuring dynamic routing protocols such as RIP, OSPF, or ICMP can improve system reliability. However, dynamic routing protocols are difficult to configure and may not be supported by some hosts.

VRRP prevents communication failures in a better way than the preceding solution. VRRP virtualizes multiple routing devices into a virtual router without changing the networking. The virtual router IP address is configured as the default gateway address. When the master device in the virtual router becomes faulty, VRRP uses a backup device to transmit service traffic.

Benefits

VRRP has the following benefits:
Simplified network management: On a multicast or broadcast LAN such as an Ethernet network, a logical VRRP gateway ensures reliability for key links. VRRP configuration is simple and takes effect without modification in configurations of dynamic routing protocols and route discovery protocols.
Strong adaptability: VRRP packets are encapsulated in IP packets, so VRRP supports multiple upper-layer protocols.
Low cost: VRRP defines only VRRP protocol packets, which reduces burden on network devices.
  • x
  • convention:

user_3304253     Created Feb 1, 2019 04:12:30 Helpful(0) Helpful(0)

Y330-U11 system update please
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top