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

GLBP (glbp)

Reached from

Lower layerSelectorValue
udpdst_port / src_port3222 (0x0c96)

Fields

FieldTypeDefaultAutoDescription
versionuint(8)1GLBP version (1).
unknown1uint(8)0
groupuint(16)1GLBP group number.
unknown2uint(16)0
owner_idmac02:00:00:00:00:01MAC address of the sending router.
tlvstlv — rest of the PDU1 itemsGLBP TLVs (Hello, Request/Response, Authentication; length includes the header).

tlvs

  • Type 8 bits, length 8 bits.
  • The length counts the type and length fields too.
  • Unknown types are kept as raw value octets.
TypeNameValue fieldsDescription
1 (0x01)hellounknown1, vg_state, unknown2, priority, unknown3, hello_interval, hold_interval, redirect, timeout, unknown4, address_type, address_length, virtual_ip
2 (0x02)request_response
3 (0x03)auth

tlvs › hello

FieldTypeDefaultAutoDescription
unknown1uint(8)0
vg_stateuint(8)32
unknown2uint(8)0
priorityuint(8)100
unknown3uint(16)0
hello_intervaluint(32)3000
hold_intervaluint(32)10000
redirectuint(16)600
timeoutuint(16)14400
unknown4uint(16)0
address_typeuint(8)1
address_lengthuint(8)4
virtual_ipipv4192.0.2.254

Sample templates

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