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

OSPFv2 DBD (ospfv2_dbd)

  • レイヤ: L3 (ネットワーク)
  • ヘッダ: 可変長

下位レイヤからの到達

下位レイヤ判別フィールド値
ospfv2type2 (0x02)

フィールド

フィールド型既定値Auto説明
interface_mtuuint(16)1500フラグメントなしで送信できる最大 IP データグラム長。
optionsflags(8)0x2オプション機能 (E、MC、N/P、L、DC、O、DN ビット)。
flagsflags(8)0x7Database Description フラグ (I = 初期、M = 続きあり、MS = マスタ)。
dd_sequenceuint(32)1Database Description シーケンス番号。
lsa_headerslist<struct> — PDU の残りすべてLSA ヘッダ (各 20 オクテット。チェックサムと長さは手動)。

options

ビットマスク名前
01 (0x01)mt
12 (0x02)e
24 (0x04)mc
38 (0x08)np
416 (0x10)l
532 (0x20)dc
664 (0x40)o
7128 (0x80)dn

flags

ビットマスク名前
24 (0x04)init
12 (0x02)more
01 (0x01)master

lsa_headers

各要素は以下のフィールドの組です。

フィールド型既定値Auto説明
ls_ageuint(16)
optionsuint(8)
ls_typeuint(8)
link_state_idipv4
advertising_routeripv4
ls_sequenceuint(32)
ls_checksumuint(16)
lengthuint(16)

サンプルテンプレート

  • ospfv2-dbd — templates/protocols/routing/ospfv2-dbd.wpg.yaml