OSPFv2 Hello (ospfv2_hello)
- レイヤ: L3 (ネットワーク)
- ヘッダ: 可変長
下位レイヤからの到達
| 下位レイヤ | 判別フィールド | 値 |
|---|---|---|
ospfv2 | type | 1 (0x01) |
フィールド
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
network_mask | ipv4 | 255.255.255.0 | インタフェースまたは広告ネットワークのネットマスク。 | |
hello_interval | uint(16) | 10 | Hello パケットの送信間隔 (秒)。 | |
options | flags(8) | 0x2 | オプション機能 (E、MC、N/P、L、DC、O、DN ビット)。 | |
router_priority | uint(8) | 1 | DR 選出のルータ優先度 (0 = DR にならない)。 | |
router_dead_interval | uint(32) | 40 | Hello が途絶えてから隣接ルータをダウンと判断するまでの秒数。 | |
designated_router | ipv4 | 0.0.0.0 | 代表ルータ DR (0.0.0.0 = なし)。 | |
backup_designated_router | ipv4 | 0.0.0.0 | バックアップ代表ルータ BDR (0.0.0.0 = なし)。 | |
neighbors | list<ipv4> — PDU の残りすべて | リンク上で認識している隣接ルータのルータ ID。 |
options
| ビット | マスク | 名前 |
|---|---|---|
| 0 | 1 (0x01) | mt |
| 1 | 2 (0x02) | e |
| 2 | 4 (0x04) | mc |
| 3 | 8 (0x08) | np |
| 4 | 16 (0x10) | l |
| 5 | 32 (0x20) | dc |
| 6 | 64 (0x40) | o |
| 7 | 128 (0x80) | dn |
サンプルテンプレート
- interop-ospfv2-hello-2way —
templates/interop/ospfv2-hello-2way.wpg.yaml - ospfv2-hello —
templates/protocols/routing/ospfv2-hello.wpg.yaml