Dulranga's Notes
Semester 3Data Communication and Networking

Mac Address

MAC stands for Medium Access Control, the lower half of the data link layer, which decides who may use the shared medium. A MAC address is the address that layer uses.

Definition

A MAC address is a 48-bit address, for most LANs, burned into the NIC's ROM. The NIC is the network interface card, the adapter that plugs a device into the network. The address is also sometimes software-settable. It is written in hexadecimal (base 16),

Example: 1A-2F-BB-76-09-AD

IP to MAC address conversion

This is done by "Address Resolution Protocol (ARP)".

Host A              Host B              Host C
  |---- ARP request (broadcast) ---->|------>|
  |     "who has this IP address?"   |       |
  |<--- ARP reply (to A only) -------|       |  (C ignores it)
  |     "I do; my MAC is ..."        |       |

On this page