- 2072 Chaitra · 3 marks
Why IP address when MAC exists
Short answer
MAC addresses are flat, local, and not routable; IP addresses are hierarchical and identify a host's position across networks. Routers need IP prefixes to aggregate routes, while ARP maps IP to MAC for the final local delivery.
Though we have MAC address, why do we use IP address to represent the host in networks? Explain your answer.
A MAC address identifies a network interface on one local link, while an IP address identifies the host's position in the whole internetwork. Both are needed because MAC addresses cannot be used for routing.
- Flat, no hierarchy. A MAC address (48 bits) is burned in by the manufacturer and has no information about location. A router would need one entry for every host in the world. An IP address has a network part and a host part, so one entry covers a whole network.
- Local scope only. MAC addresses are used only inside one LAN segment; at every hop a router removes the old frame header and builds a new frame with new MAC addresses.
- Independent of technology. Networks use Ethernet, Wi-Fi, PPP, etc., which have different address formats. IP gives one uniform logical address.
- Mobility and replacement. If a NIC is replaced, the MAC address changes; if a host moves to another network, its MAC stays the same but its location changes. An IP address is assigned to match the network the host is on, so it can be changed as needed.
- Efficient routing and aggregation. IP prefixes (for example 192.168.1.0/24) can be summarised into larger blocks.
ARP maps IP to MAC for the last hop: IP finds the network, MAC delivers the frame inside it.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Need of classless IP addressing · Computer Networks and Security, chapter 4
- Subnet 202.70.91.0/24 for 25, 16, 29, 11 · Computer Networks and Security, chapter 4 · asked 2×
- Compare OSI and TCP/IP models · Computer Networks and Security, chapter 1 · asked 4×
- Short note: IP · Computer Networks and Security, chapter 4
- Subnet 10.10.10.0/24 for 5, 16, 23, 27 · Computer Networks and Security, chapter 4 · asked 2×
- Subnetting for Banijya bank departments · Computer Networks and Security, chapter 4
- VLSM preventing IP address loss · Internet and Intranet, chapter 2
- IANA, ICANN functions and IP address role · Internet and Intranet, chapter 1
- Choose the best answer (grammar) 2074 Ashwin · Communication English, chapter 3
- Choose the best answer (grammar) 2078 Bhadra · Communication English, chapter 3