Q.How is IP address different from MAC address? Discuss briefly.
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
| Feature | IP Address | MAC Address |
|---|---|---|
| Full Form | Internet Protocol Address | Media Access Control Address |
| Layer | Network Layer (Layer 3) | Data Link Layer (Layer 2) |
| Nature | Logical (software-based) | Physical (hardware-based) |
| Permanence | Can change (dynamic via DHCP, or static) | Permanent (burned into NIC by manufacturer) |
| Format | IPv4: 32-bit (e.g., 192.168.1.1) | 48-bit hexadecimal (e.g., 00:1A:2B:3C:4D:5E) |
| Assignment | Assigned by network administrator or DHCP server | Assigned by NIC manufacturer (OUI) |
| Scope | Globally routable (across networks) | Locally significant (within a LAN segment) |
| Example | 10.0.0.5 | A4:5E:60:3F:12:89 |
How They Work Together
When you send data from your computer to a website, here's the simplified journey:
- Your computer knows the destination IP address (the website's server).
- It checks if the destination is on the same local network. If not, it sends the packet to the default gateway (your router).
- 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."
- The router replies with its MAC address. Your computer wraps the packet in a frame with the router's MAC as the destination.
- 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.