This is covered in Chapter 13.
- IEEE MAC Addressing
- 48-bit address for devices attached to a LAN.
- Assigned address: high bit is zero.
- Confusingly, this means the low-order bit of the high-order byte.
(It's the first bit to arrive
in Ethernet byte order.)
- This is a fixed address assigned to the hardware at manufacture.
- The high 24 bits is an
Organizationally Unique ID (OUI),
assigned to the manufacturer by IEEE.
- The low half makes the address unique.
- Despite “fixed,” many net devices, including most wireless ones,
allow the assigned MAC to be replaced with an arbitrary one.
- MAC address spoofing.
- Privacy or hacking, depending on your point of view.
- Some OS's use this to generate random MAC addresses for privacy.
- But might keep your device from being assigned an IP address.
- Broadcast address: FF:FF:FF:FF:FF:FF.
- Obviously, the high bit is not zero.
- This packet is addressed to all stations on the LAN.
- But administrators may limit their propagation
- Multicast: High bit is 1, but not the broadcast address.
- Addressed to any host configured to receive it.
- Allows sending to an arbitrary subset of nodes.
- Delivery
- Originally, all packets were delivered to every node.
- The node would decided if it is a recipient, and drop it otherwise.
- This has changed LAN-level routing has changed, though nodes still
receive (and discard) some packets that are not for them.
- Though most receivers are capable of entering “promiscuous mode,”
where they receive all packets the net delivers.