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

Geneve (geneve)

下位レイヤからの到達

下位レイヤ判別フィールド値
udpdst_port / src_port6081 (0x17c1)

フィールド

フィールド型既定値Auto説明
versionuint(2)0Geneve バージョン (0)。
opt_lenuint(6)0オプション領域の長さ (4 オクテット単位)。
o_flaguint(1)0OAM パケットフラグ。
c_flaguint(1)0クリティカルオプション存在フラグ。
reserved_flagsuint(6)0
protocol_typeenum(16)25944 (transparent_ethernet)次レイヤのプロトコル番号 (「次レイヤ」参照)カプセル化ペイロードの EtherType。
vniuint(24)024 ビット Geneve 仮想ネットワーク識別子。
reserveduint(8)0
optionsbytes — opt_len * 4 オクテット""Geneve オプション (不透明、opt_len で長さ決定)。

protocol_type

値名前
25944 (0x6558)transparent_ethernet
2048 (0x0800)ipv4
34525 (0x86dd)ipv6

次レイヤ

次レイヤは protocol_type で判別します。このフィールドが Auto のときは、上に積んだプロトコルの値を書き込みます。

値プロトコル備考
25944 (0x6558)ethernet2
2048 (0x0800)ipv4
34525 (0x86dd)ipv6

サンプルテンプレート

  • geneve — templates/protocols/encap/geneve.wpg.yaml