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

ARP (arp)

  • レイヤ: L2 (データリンク)
  • ヘッダ: 28 オクテット (固定長)

下位レイヤからの到達

下位レイヤ判別フィールド値
ethernet2ethertype2054 (0x0806)
dot1qethertype2054 (0x0806)
dot1adethertype2054 (0x0806)
snappid2054 (0x0806)

フィールド

フィールド型既定値Auto説明
htypeenum(16)1 (ethernet)ハードウェア種別 (1 = Ethernet)。
ptypeenum(16)2048 (ipv4)プロトコル種別 (EtherType、0x0800 = IPv4)。
hlenuint(8)6ハードウェアアドレス長 (バイト、Ethernet は 6)。
plenuint(8)4プロトコルアドレス長 (バイト、IPv4 は 4)。
operenum(16)1 (request)オペレーション (1 = 要求、2 = 応答)。
shamac02:00:00:00:00:01送信元ハードウェアアドレス。
spaipv4192.0.2.1送信元プロトコルアドレス。
thamac00:00:00:00:00:00宛先ハードウェアアドレス。
tpaipv4192.0.2.2宛先プロトコルアドレス。

htype

値名前
1 (0x0001)ethernet
6 (0x0006)ieee802
15 (0x000f)frame_relay
16 (0x0010)atm

ptype

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

oper

値名前
1 (0x0001)request
2 (0x0002)reply
3 (0x0003)rarp_request
4 (0x0004)rarp_reply
8 (0x0008)inarp_request
9 (0x0009)inarp_reply

制約

レベル規則
警告hlen が 6
警告plen が 4
警告oper が 1..2 の範囲

サンプルテンプレート