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

Ethernet II (ethernet2)

下位レイヤからの到達

下位レイヤ判別フィールド値
ipv6next_header143 (0x8f)
ipv6_hopoptsnext_header143 (0x8f)
ipv6_routenext_header143 (0x8f)
ipv6_srhnext_header143 (0x8f)
ipv6_fragnext_header143 (0x8f)
ipv6_dstoptsnext_header143 (0x8f)
vxlanflags(その他の値)
greprotocol_type25944 (0x6558)
nvgreprotocol_type25944 (0x6558)
geneveprotocol_type25944 (0x6558)

フィールド

フィールド型既定値Auto説明
dstmacff:ff:ff:ff:ff:ff宛先 MAC アドレス。
srcmac02:00:00:00:00:01送信元 MAC アドレス。
ethertypeenum(16)34997 (local_experimental)次レイヤのプロトコル番号 (「次レイヤ」参照)次レイヤの EtherType (上位レイヤから Auto。次レイヤ不明時は 0x88b5 = ローカル実験用)。0x05ff 以下の値は IEEE 802.3 の長さ。

ethertype

値名前
2048 (0x0800)ipv4
2054 (0x0806)arp
33024 (0x8100)vlan
34825 (0x8809)slow_protocols
34525 (0x86dd)ipv6
34887 (0x8847)mpls
34888 (0x8848)mpls_multicast
34915 (0x8863)pppoe_discovery
34916 (0x8864)pppoe_session
34958 (0x888e)eapol
34984 (0x88a8)qinq
34997 (0x88b5)local_experimental
35020 (0x88cc)lldp
35045 (0x88e5)macsec
35063 (0x88f7)ptp
35074 (0x8902)cfm

次レイヤ

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

値プロトコル備考
2048 (0x0800)ipv4
34525 (0x86dd)ipv6
2054 (0x0806)arp
33024 (0x8100)dot1q
34984 (0x88a8)dot1ad
35020 (0x88cc)lldp
34958 (0x888e)eapol
34915 (0x8863)pppoe_discovery
34916 (0x8864)pppoe_session
34887 (0x8847)mpls
34888 (0x8848)mpls
35045 (0x88e5)macsec
35063 (0x88f7)ptp
35063 (0x88f7)ptp_sync
35063 (0x88f7)ptp_delay_req
35063 (0x88f7)ptp_pdelay_req
35063 (0x88f7)ptp_pdelay_resp
35063 (0x88f7)ptp_follow_up
35063 (0x88f7)ptp_delay_resp
35063 (0x88f7)ptp_pdelay_resp_follow_up
35063 (0x88f7)ptp_announce
35063 (0x88f7)ptp_signaling
35063 (0x88f7)ptp_management
35074 (0x8902)cfm
35074 (0x8902)cfm_ccm
35074 (0x8902)cfm_lbr
35074 (0x8902)cfm_lbm
35074 (0x8902)cfm_ltr
35074 (0x8902)cfm_ltm
35074 (0x8902)cfm_ais
35074 (0x8902)cfm_lck
35074 (0x8902)cfm_tst
35074 (0x8902)cfm_raps
35074 (0x8902)cfm_lmr
35074 (0x8902)cfm_lmm
35074 (0x8902)cfm_1dm
35074 (0x8902)cfm_dmr
35074 (0x8902)cfm_dmm
35074 (0x8902)cfm_csf
35074 (0x8902)cfm_1sl
35074 (0x8902)cfm_slr
35074 (0x8902)cfm_slm
0 (0x0000) – 1535 (0x05ff)dot3このレイヤを読み直す

ethertype = 34825 (0x8809) のときのペイロード先頭 8 ビット

サンプルテンプレート