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

RIP (rip)

Reached from

Lower layerSelectorValue
udpdst_port / src_port520 (0x0208)

Fields

FieldTypeDefaultAutoDescription
commandenum(8)2 (response)RIP command (1 = request, 2 = response).
versionuint(8)2RIP version (1 or 2; RIPng uses 1).
zerouint(16)0
entrieslist<struct> — rest of the PDU1 itemsRoute entries (AFI, route tag, address, mask, next hop, metric).

command

ValueName
1 (0x01)request
2 (0x02)response

entries

Each item is a group of the fields below.

FieldTypeDefaultAutoDescription
afiuint(16)
route_taguint(16)
addressipv4
subnet_maskipv4
next_hopipv4
metricuint(32)

Constraints

LevelRule
warningversion within 1..2

Sample templates