GLBP (glbp)
- Layer: Application and control
- Header: variable length
- Notes: Redundancy protocols (FHRP)
Reached from
| Lower layer | Selector | Value |
|---|---|---|
udp | dst_port / src_port | 3222 (0x0c96) |
Fields
| Field | Type | Default | Auto | Description |
|---|---|---|---|---|
version | uint(8) | 1 | GLBP version (1). | |
unknown1 | uint(8) | 0 | ||
group | uint(16) | 1 | GLBP group number. | |
unknown2 | uint(16) | 0 | ||
owner_id | mac | 02:00:00:00:00:01 | MAC address of the sending router. | |
tlvs | tlv — rest of the PDU | 1 items | GLBP 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.
| Type | Name | Value fields | Description |
|---|---|---|---|
| 1 (0x01) | hello | unknown1, 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
| Field | Type | Default | Auto | Description |
|---|---|---|---|---|
unknown1 | uint(8) | 0 | ||
vg_state | uint(8) | 32 | ||
unknown2 | uint(8) | 0 | ||
priority | uint(8) | 100 | ||
unknown3 | uint(16) | 0 | ||
hello_interval | uint(32) | 3000 | ||
hold_interval | uint(32) | 10000 | ||
redirect | uint(16) | 600 | ||
timeout | uint(16) | 14400 | ||
unknown4 | uint(16) | 0 | ||
address_type | uint(8) | 1 | ||
address_length | uint(8) | 4 | ||
virtual_ip | ipv4 | 192.0.2.254 |
Sample templates
- glbp —
templates/protocols/fhrp/glbp.wpg.yaml