views:

99

answers:

2

Hi,

I'm working on a network security project and I noticed something that I can't explain:

Why do we need a source hardware address field in arp? Isn't it already contained in the ethernet header?

Cheers,

Laurent

+2  A: 

ARP is designed this way so that it can run over other hardware, not just Ethernet. Have a look here.

_NT
A: 

Isn't it the same problem? Assuming arp would be used on another support than ethernet. To send a packet wouldn't we have to specify the hardware address on the specific protocol's header and in the arp header ?

Laurent
ARP packets are broadcast. Ethernet packets may or may not be broadcast. Ethernet is not there to play ARP's role.
_NT