|
| |
ARP/RARP/DARP
Standard reference:
- RFC826 - Address Resolution Protocol
- RFC903 - RARP - Reverse ARP and DARP: Dynamic ARP
Structure of messages:
| length |
field |
| 2 octets |
Hardware Address Space |
| 2 octets |
Protocol Address Space |
| 1 octet |
Hardware Address Length = n |
| 1 octet |
Protocol Address Length = m |
| 2 octets |
Opcode |
| n octets |
Sender Hardware Address |
| m octets |
Sender Protocol Address |
| n octets |
Target Hardware Address |
| m octets |
Target Protocol Address |
The packet type depends on the opcode:
| Opcode |
Packet type |
| 1 |
ARP Request |
| 2 |
ARP Reply |
| 3 |
RARP Request |
| 4 |
RARP Reply |
| 5 |
DRARP Request |
| 6 |
DRARP Reply |
|
DRARP Error |
|