| Lower layer | Selector | Value |
udp | dst_port / src_port | 521 (0x0209) |
| Field | Type | Default | Auto | Description |
command | enum(8) | 2 (response) | | RIP command (1 = request, 2 = response). |
version | uint(8) | 1 | | RIP version (1 or 2; RIPng uses 1). |
reserved | uint(16) | 0 | | |
entries | list<struct> — rest of the PDU | 1 items | | Route table entries (prefix, route tag, prefix length, metric; 0xff = next hop). |
| Value | Name |
| 1 (0x01) | request |
| 2 (0x02) | response |
Each item is a group of the fields below.
| Field | Type | Default | Auto | Description |
prefix | ipv6 | | | |
route_tag | uint(16) | | | |
prefix_length | uint(8) | | | |
metric | uint(8) | | | |