| Lower layer | Selector | Value |
udp | dst_port / src_port | 520 (0x0208) |
| Field | Type | Default | Auto | Description |
command | enum(8) | 2 (response) | | RIP command (1 = request, 2 = response). |
version | uint(8) | 2 | | RIP version (1 or 2; RIPng uses 1). |
zero | uint(16) | 0 | | |
entries | list<struct> — rest of the PDU | 1 items | | Route entries (AFI, route tag, address, mask, next hop, metric). |
| Value | Name |
| 1 (0x01) | request |
| 2 (0x02) | response |
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
afi | uint(16) | | | |
route_tag | uint(16) | | | |
address | ipv4 | | | |
subnet_mask | ipv4 | | | |
next_hop | ipv4 | | | |
metric | uint(32) | | | |
| Level | Rule |
| warning | version within 1..2 |