Vrrp interface tracking configuration example, Network requirements – H3C Technologies H3C SecBlade LB Cards User Manual
Page 45
37
Preempt Mode : Yes Delay Time : 5
Auth Type : None
Virtual IP : 202.38.160.111
Virtual MAC : 0000-5e00-0101
Master IP : 202.38.160.2
The output shows that if LB A fails, LB B becomes the master, and packets sent from host A to host
B are forwarded by LB B.
# After LB A resumes normal operation, use the display vrrp verbose command to display the
detailed information about VRRP group 1 on LB A.
[LBA-GigabitEthernet0/1] display vrrp verbose
IPv4 Standby Information:
Run Mode : Standard
Run Method : Virtual MAC
Total number of virtual routers : 1
Interface GigabitEthernet0/1
VRID : 1 Adver Timer : 1
Admin Status : Up State : Master
Config Pri : 110 Running Pri : 110
Preempt Mode : Yes Delay Time : 5
Auth Type : None
Virtual IP : 202.38.160.111
Virtual MAC : 0000-5e00-0101
Master IP : 202.38.160.1
The output shows that after LB A resumes normal operation, it becomes the master, and packets
sent from Host A to Host B are forwarded by LB A.
VRRP interface tracking configuration example
Network requirements
•
Host A wants to access Host B on the Internet, using 202.38.160.111/24 as its default gateway.
•
LB A and LB B belong to VRRP group 1 with the virtual IP address of 202.38.160.111/24.
•
When LB A operates properly, packets sent from Host A to Host B are forwarded by LB A. When
interface GigabitEthernet 0/1 through which LB A connects to the Internet is not available, packets
sent from Host A to Host B are forwarded by LB B.
•
To prevent attacks to the VRRP group from illegal users by using spoofed packets, configure the
authentication mode as plain text to authenticate the VRRP packets in VRRP group 1. Specify the
authentication key as hello.