Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

VRRPv2 (vrrpv2)

Reached from

Lower layerSelectorValue
ipv4protocol112 (0x70)
vrrpv3version2 (re-decodes this layer)

Fields

FieldTypeDefaultAutoDescription
versionuint(4)2VRRP version (2 = RFC 3768, 3 = RFC 5798).
typeenum(4)1 (advertisement)VRRP packet type (1 = Advertisement).
vriduint(8)1Virtual Router Identifier.
priorityuint(8)100Sending router priority (255 = address owner, 0 = stop participating).
count_ip_addrsuint(8)Number of items of ip_addressesNumber of virtual addresses in the advertisement (Auto).
auth_typeenum(8)0 (no_authentication)VRRPv2 authentication type (0 = none, 1 = simple text, 2 = IP AH).
adver_intuint(8)1VRRPv2 advertisement interval, in seconds.
checksumuint(16)Internet checksum over the header and everything after itInternet checksum over the VRRP message (VRRPv3 includes the IP pseudo header) (Auto).
ip_addresseslist<ipv4> — count_ip_addrs * 4 octets1 itemsVirtual router addresses.
auth_databytes(8)00 00 00 00 00 00 00 00VRRPv2 authentication data (8 octets).

type

ValueName
1advertisement

auth_type

ValueName
0 (0x00)no_authentication
1 (0x01)simple_text_password
2 (0x02)ip_authentication_header

Constraints

LevelRule
warningversion = 2

Sample templates

  • vrrpv2 — templates/protocols/fhrp/vrrpv2.wpg.yaml