MAC vs IP Addressing: Key Differences

Two Addresses, Two Different Jobs

MAC addresses and IP addresses are easy to conflate, since every device effectively has both - but each serves a genuinely different purpose within the layered model covered throughout this project.

Local Scope vs Global Scope

MAC address: AA:BB:CC:11:22:33  -  meaningful only within the local network segment
IP address:  192.168.1.10        -  meaningful for routing across different networks

A MAC address identifies a device only on its immediate local network - routers don't forward MAC addresses between separate networks. An IP address, by contrast, is exactly what allows routing across many interconnected networks, potentially across the entire internet.

Fixed vs Changeable

A MAC address is physically assigned to a network interface and generally stays fixed regardless of which network the device joins. An IP address, however, typically changes depending on which network a device is currently connected to - your laptop gets a different IP address at home versus at a coffee shop, but keeps the exact same MAC address in both places.

Which OSI Layer Each Belongs To

MAC AddressIP Address
OSI LayerData Link (Layer 2)Network (Layer 3)
ScopeLocal network segmentGlobal, routable across networks
Assigned byManufacturer (hardware)DHCP or manual configuration

Why Both Are Actually Needed at Once

Delivering a packet across the internet requires both: the IP address determines the overall destination network, while ARP (covered in a dedicated note in this section) resolves that IP address into the specific MAC address needed to actually deliver a frame to the right device on the final local network segment.

Written by Lorens Mishra

Software Engineer Notes Management System Administrator

Discussion

0 comments
Sign in to join the discussion.

No comments yet. Be the first to say something.