EIGRP (eigrp)
- レイヤ: L3 (ネットワーク)
- ヘッダ: 可変長
- 補足: ルーティングプロトコル
下位レイヤからの到達
| 下位レイヤ | 判別フィールド | 値 |
|---|---|---|
ipv4 | protocol | 88 (0x58) |
ipv6 | next_header | 88 (0x58) |
ipv6_hopopts | next_header | 88 (0x58) |
ipv6_route | next_header | 88 (0x58) |
ipv6_srh | next_header | 88 (0x58) |
ipv6_frag | next_header | 88 (0x58) |
ipv6_dstopts | next_header | 88 (0x58) |
フィールド
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
version | uint(8) | 2 | EIGRP ヘッダのバージョン (2)。 | |
opcode | enum(8) | 5 (hello) | EIGRP オペコード (Update / Query / Reply / Hello / SIA-Query / SIA-Reply)。 | |
checksum | uint(16) | ヘッダとそれ以降すべてに対するインターネットチェックサム | EIGRP パケットのインターネットチェックサム (自動)。 | |
flags | flags(32) | 0x0 | EIGRP フラグ (Init、Conditional Receive、Restart、End of Table)。 | |
sequence | uint(32) | 0 | 信頼性のある配送のためのシーケンス番号。 | |
acknowledge | uint(32) | 0 | 確認応答するシーケンス番号 (0 = なし)。 | |
virtual_router_id | uint(16) | 0 | 仮想ルータ ID (0 = ユニキャストアドレスファミリ)。 | |
autonomous_system | uint(16) | 100 | EIGRP の AS 番号。 | |
tlvs | tlv — PDU の残りすべて | 2 要素 | EIGRP TLV (16 ビットタイプ、ヘッダを含む 16 ビット長)。 |
opcode
| 値 | 名前 |
|---|---|
| 1 (0x01) | update |
| 3 (0x03) | query |
| 4 (0x04) | reply |
| 5 (0x05) | hello |
| 10 (0x0a) | sia_query |
| 11 (0x0b) | sia_reply |
flags
| ビット | マスク | 名前 |
|---|---|---|
| 0 | 1 (0x00000001) | init |
| 1 | 2 (0x00000002) | conditional_receive |
| 2 | 4 (0x00000004) | restart |
| 3 | 8 (0x00000008) | end_of_table |
tlvs
- タイプ 16 ビット、長さ 16 ビット。
- 長さはタイプと長さのフィールドも含みます。
- 未知のタイプは値をオクテット列のまま保持します。
| タイプ値 | 名前 | 値のフィールド | 説明 |
|---|---|---|---|
| 1 (0x0001) | parameters | k1, k2, k3, k4, k5, k6, hold_time | |
| 2 (0x0002) | authentication | data | |
| 3 (0x0003) | sequence | address_length, address | |
| 4 (0x0004) | software_version | os_major, os_minor, tlv_major, tlv_minor | |
| 5 (0x0005) | next_multicast_sequence | sequence | |
| 7 (0x0007) | peer_termination | data | |
| 258 (0x0102) | ipv4_internal | next_hop, delay, bandwidth, mtu, hop_count, reliability, load, internal_tag, flags, prefix_length, destination | |
| 259 (0x0103) | ipv4_external | next_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_internal | next_hop, delay, bandwidth, mtu, hop_count, reliability, load, internal_tag, flags, prefix_length, destination | |
| 1027 (0x0403) | ipv6_external | next_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
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
k1 | uint(8) | |||
k2 | uint(8) | |||
k3 | uint(8) | |||
k4 | uint(8) | |||
k5 | uint(8) | |||
k6 | uint(8) | |||
hold_time | uint(16) |
tlvs › authentication
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
data | bytes — PDU の残りすべて |
tlvs › sequence
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
address_length | uint(8) | |||
address | bytes — PDU の残りすべて |
tlvs › software_version
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
os_major | uint(8) | |||
os_minor | uint(8) | |||
tlv_major | uint(8) | |||
tlv_minor | uint(8) |
tlvs › next_multicast_sequence
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
sequence | uint(32) |
tlvs › peer_termination
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
data | bytes — PDU の残りすべて |
tlvs › ipv4_internal
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
next_hop | ipv4 | |||
delay | uint(32) | |||
bandwidth | uint(32) | |||
mtu | uint(24) | |||
hop_count | uint(8) | |||
reliability | uint(8) | |||
load | uint(8) | |||
internal_tag | uint(8) | |||
flags | uint(8) | |||
prefix_length | uint(8) | |||
destination | bytes — PDU の残りすべて |
tlvs › ipv4_external
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
next_hop | ipv4 | |||
originating_router | ipv4 | |||
originating_as | uint(32) | |||
arbitrary_tag | uint(32) | |||
external_metric | uint(32) | |||
reserved | uint(16) | |||
external_protocol | uint(8) | |||
external_flags | uint(8) | |||
delay | uint(32) | |||
bandwidth | uint(32) | |||
mtu | uint(24) | |||
hop_count | uint(8) | |||
reliability | uint(8) | |||
load | uint(8) | |||
internal_tag | uint(8) | |||
flags | uint(8) | |||
prefix_length | uint(8) | |||
destination | bytes — PDU の残りすべて |
tlvs › ipv6_internal
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
next_hop | ipv6 | |||
delay | uint(32) | |||
bandwidth | uint(32) | |||
mtu | uint(24) | |||
hop_count | uint(8) | |||
reliability | uint(8) | |||
load | uint(8) | |||
internal_tag | uint(8) | |||
flags | uint(8) | |||
prefix_length | uint(8) | |||
destination | bytes — PDU の残りすべて |
tlvs › ipv6_external
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
next_hop | ipv6 | |||
originating_router | ipv4 | |||
originating_as | uint(32) | |||
arbitrary_tag | uint(32) | |||
external_metric | uint(32) | |||
reserved | uint(16) | |||
external_protocol | uint(8) | |||
external_flags | uint(8) | |||
delay | uint(32) | |||
bandwidth | uint(32) | |||
mtu | uint(24) | |||
hop_count | uint(8) | |||
reliability | uint(8) | |||
load | uint(8) | |||
internal_tag | uint(8) | |||
flags | uint(8) | |||
prefix_length | uint(8) | |||
destination | bytes — PDU の残りすべて |
制約
| レベル | 規則 |
|---|---|
| 警告 | version が 2 |
サンプルテンプレート
- eigrp-hello —
templates/protocols/routing/eigrp-hello.wpg.yaml - eigrp-update —
templates/protocols/routing/eigrp-update.wpg.yaml