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

EIGRP (eigrp)

Reached from

Lower layerSelectorValue
ipv4protocol88 (0x58)
ipv6next_header88 (0x58)
ipv6_hopoptsnext_header88 (0x58)
ipv6_routenext_header88 (0x58)
ipv6_srhnext_header88 (0x58)
ipv6_fragnext_header88 (0x58)
ipv6_dstoptsnext_header88 (0x58)

Fields

FieldTypeDefaultAutoDescription
versionuint(8)2EIGRP header version (2).
opcodeenum(8)5 (hello)EIGRP opcode (Update / Query / Reply / Hello / SIA-Query / SIA-Reply).
checksumuint(16)Internet checksum over the header and everything after itInternet checksum over the EIGRP packet (Auto).
flagsflags(32)0x0EIGRP flags (Init, Conditional Receive, Restart, End of Table).
sequenceuint(32)0Sequence number for reliable delivery.
acknowledgeuint(32)0Acknowledged sequence number (0 = none).
virtual_router_iduint(16)0Virtual router ID (0 = unicast address family).
autonomous_systemuint(16)100EIGRP autonomous system number.
tlvstlv — rest of the PDU2 itemsEIGRP TLVs (16-bit type, 16-bit length including the header).

opcode

ValueName
1 (0x01)update
3 (0x03)query
4 (0x04)reply
5 (0x05)hello
10 (0x0a)sia_query
11 (0x0b)sia_reply

flags

BitMaskName
01 (0x00000001)init
12 (0x00000002)conditional_receive
24 (0x00000004)restart
38 (0x00000008)end_of_table

tlvs

  • Type 16 bits, length 16 bits.
  • The length counts the type and length fields too.
  • Unknown types are kept as raw value octets.
TypeNameValue fieldsDescription
1 (0x0001)parametersk1, k2, k3, k4, k5, k6, hold_time
2 (0x0002)authenticationdata
3 (0x0003)sequenceaddress_length, address
4 (0x0004)software_versionos_major, os_minor, tlv_major, tlv_minor
5 (0x0005)next_multicast_sequencesequence
7 (0x0007)peer_terminationdata
258 (0x0102)ipv4_internalnext_hop, delay, bandwidth, mtu, hop_count, reliability, load, internal_tag, flags, prefix_length, destination
259 (0x0103)ipv4_externalnext_hop, originating_router, originating_as, arbitrary_tag, external_metric, reserved, external_protocol, external_flags, delay, bandwidth, mtu, hop_count, reliability, load, internal_tag, flags, prefix_length, destination
1026 (0x0402)ipv6_internalnext_hop, delay, bandwidth, mtu, hop_count, reliability, load, internal_tag, flags, prefix_length, destination
1027 (0x0403)ipv6_externalnext_hop, originating_router, originating_as, arbitrary_tag, external_metric, reserved, external_protocol, external_flags, delay, bandwidth, mtu, hop_count, reliability, load, internal_tag, flags, prefix_length, destination

tlvs › parameters

FieldTypeDefaultAutoDescription
k1uint(8)
k2uint(8)
k3uint(8)
k4uint(8)
k5uint(8)
k6uint(8)
hold_timeuint(16)

tlvs › authentication

FieldTypeDefaultAutoDescription
databytes — rest of the PDU

tlvs › sequence

FieldTypeDefaultAutoDescription
address_lengthuint(8)
addressbytes — rest of the PDU

tlvs › software_version

FieldTypeDefaultAutoDescription
os_majoruint(8)
os_minoruint(8)
tlv_majoruint(8)
tlv_minoruint(8)

tlvs › next_multicast_sequence

FieldTypeDefaultAutoDescription
sequenceuint(32)

tlvs › peer_termination

FieldTypeDefaultAutoDescription
databytes — rest of the PDU

tlvs › ipv4_internal

FieldTypeDefaultAutoDescription
next_hopipv4
delayuint(32)
bandwidthuint(32)
mtuuint(24)
hop_countuint(8)
reliabilityuint(8)
loaduint(8)
internal_taguint(8)
flagsuint(8)
prefix_lengthuint(8)
destinationbytes — rest of the PDU

tlvs › ipv4_external

FieldTypeDefaultAutoDescription
next_hopipv4
originating_routeripv4
originating_asuint(32)
arbitrary_taguint(32)
external_metricuint(32)
reserveduint(16)
external_protocoluint(8)
external_flagsuint(8)
delayuint(32)
bandwidthuint(32)
mtuuint(24)
hop_countuint(8)
reliabilityuint(8)
loaduint(8)
internal_taguint(8)
flagsuint(8)
prefix_lengthuint(8)
destinationbytes — rest of the PDU

tlvs › ipv6_internal

FieldTypeDefaultAutoDescription
next_hopipv6
delayuint(32)
bandwidthuint(32)
mtuuint(24)
hop_countuint(8)
reliabilityuint(8)
loaduint(8)
internal_taguint(8)
flagsuint(8)
prefix_lengthuint(8)
destinationbytes — rest of the PDU

tlvs › ipv6_external

FieldTypeDefaultAutoDescription
next_hopipv6
originating_routeripv4
originating_asuint(32)
arbitrary_taguint(32)
external_metricuint(32)
reserveduint(16)
external_protocoluint(8)
external_flagsuint(8)
delayuint(32)
bandwidthuint(32)
mtuuint(24)
hop_countuint(8)
reliabilityuint(8)
loaduint(8)
internal_taguint(8)
flagsuint(8)
prefix_lengthuint(8)
destinationbytes — rest of the PDU

Constraints

LevelRule
warningversion = 2

Sample templates

  • eigrp-hello — templates/protocols/routing/eigrp-hello.wpg.yaml
  • eigrp-update — templates/protocols/routing/eigrp-update.wpg.yaml