LOGBOOK

HELP

1 / 14
Other keys: showSpace: good1-4: rate0: skip5: flag6: invert

Question

What are the two types of addresses used when sending data on an Ethernet LAN, and what is each used for?

Answer

A Layer 2 MAC (physical) address delivers the frame NIC-to-NIC on the same network; a Layer 3 IP (logical) address carries the packet end-to-end from source device to final destination.

Two primary addresses on an Ethernet LAN:

Address Type Layer Purpose
Layer 2 Physical Address (MAC) Data Link Used for NIC-to-NIC communications on the same Ethernet network
Layer 3 Logical Address (IP) Network Used to send the packet from source device to destination device

Key insight: Layer 2 addresses deliver frames locally; Layer 3 addresses enable end-to-end packet delivery across networks.

Context: When sending data, both addresses are needed - the IP address identifies the final destination, while the MAC address identifies the next hop on the local network segment.

Go deeper:

  • doc Address Resolution Protocol (ARP) — PracticalNetworking on why Layer 3 IP (end-to-end) and Layer 2 MAC (hop-to-hop) addressing are two distinct schemes that must be bridged.

  • doc MAC address — what a Layer 2 physical address actually is: a 48-bit NIC identifier, flat and only meaningful on the local segment.

The structure of a 48-bit MAC address. b0 (the least significant bit) of the most significant octet distinguishes multicast and unicast addressing, and b1 of the same octet distinguishes universal and locally administered addressing.
The structure of a 48-bit MAC address. b0 (the least significant bit) of the most significant octet distinguishes multicast and unicast addressing, and b1 of the same octet distinguishes universal and locally administered addressing.
Inductiveload, modified/corrected by Kju · CC BY-SA 2.5 · Wikimedia Commons
or press any other key