Skip to content
Exercises · Q14

Q.How is IP address different from MAC address? Discuss briefly.

Odisha ChseTextbookSubjective· 3mImportance★★★★★est
36% · 18/50 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

An IP address is a logical, network-layer identifier that can change based on the network you're connected to, while a MAC address is a physical, hardware-level identifier permanently assigned to a network interface card (NIC) by its manufacturer.

The Core Idea: Why Two Addresses?

Think of a computer on a network like a person in a city. You have two ways to identify them: their home address (which changes if they move) and their fingerprint (which stays the same for life). The IP address is the home address — it tells the network where the device is right now. The MAC address is the fingerprint — it tells the network which specific device is sending or receiving data.

The network needs both because they serve different layers of the communication model. The IP address works at the Network Layer (Layer 3) of the OSI model, handling routing across different networks. The MAC address works at the Data Link Layer (Layer 2), handling delivery within the same local network segment. Without the MAC address, a router wouldn't know which physical device to hand a packet to inside your home or office.

Key Differences at a Glance

FeatureIP AddressMAC Address
Full FormInternet Protocol AddressMedia Access Control Address
LayerNetwork Layer (Layer 3)Data Link Layer (Layer 2)
NatureLogical (software-based)Physical (hardware-based)
PermanenceCan change (dynamic via DHCP, or static)Permanent (burned into NIC by manufacturer)
FormatIPv4: 32-bit (e.g., 192.168.1.1)48-bit hexadecimal (e.g., 00:1A:2B:3C:4D:5E)
AssignmentAssigned by network administrator or DHCP serverAssigned by NIC manufacturer (OUI)
ScopeGlobally routable (across networks)Locally significant (within a LAN segment)
Example10.0.0.5A4:5E:60:3F:12:89

How They Work Together

When you send data from your computer to a website, here's the simplified journey:

  1. Your computer knows the destination IP address (the website's server).
  2. It checks if the destination is on the same local network. If not, it sends the packet to the default gateway (your router).
  3. To actually send the packet to the router, your computer needs the router's MAC address. It uses ARP (Address Resolution Protocol) to find it: "Who has IP 192.168.1.1? Tell me your MAC address."
  4. The router replies with its MAC address. Your computer wraps the packet in a frame with the router's MAC as the destination.
  5. The router receives it, reads the destination IP, and forwards it toward the internet. The MAC address is stripped and replaced at each hop. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.