Concept Focus: IPv4
IPv4 is the internet protocol for creating, assigning, and using IP addresses. It uses 32-bit numerical addresses, so it can support roughly 4.3 billion unique addresses. By the late 1990s it was clear this would not be enough for the global population, made worse because millions of addresses had been allocated to large corporations early on.
Loopback addresses. IPv4 reserves ranges for special purposes, such as loopback (127.0.0.1), used for internal testing and communication within a single device so software can interact with itself without an external network.
- Pros: simple, easy-to-remember addresses; supported by the majority of websites; reliable, tested technology.
- Cons: a shortage of new addresses and resources; challenges with large-scale subnet management.
IPv6
IPv6 introduced 128-bit addresses, providing about 3.4×10^38 unique addresses, that is 340 undecillion, dwarfing IPv4's 4.3 billion.
- Pros: 128-bit addressing with 340 undecillion addresses; a cutting-edge protocol supported by new devices; simplified subnetting; enhanced security compared with IPv4.
- Cons: harder to configure, with more chances for loopholes and errors; not supported by all websites; long addresses that are hard to remember.
IPv4 vs IPv6, key differences
The main difference is address length: IPv4 uses 32 bits, IPv6 uses 128 bits. IPv6 is more efficient thanks to simplified packet headers and built-in auto-configuration, which reduces the need for NAT. It eliminates broadcast, replacing it with more efficient multicast and anycast. IPv6 was designed with IPsec as a core feature, so end-to-end encryption and authentication are always available. It also makes network scanning harder: IPv4's small address space makes active, vulnerable devices easier to locate, while IPv6's vast space does not.
Benefits of IPv6 in the real world
- Practically infinite addressing: every sensor, drone, or car can have its own unique IP.
- Auto-configuration (SLAAC): devices self-assign addresses without DHCP.
- No NAT: direct peer-to-peer connectivity reduces latency and simplifies routing.
- Built-in IPsec: encrypted tunnels are native, not bolted on.
- Efficient routing: simpler headers and multicasting improve performance.
Brain Ticklers
Q1. Which of the following statements about IPv6 is true?
- IPv6 eliminates the need for IPsec
- IPv6 uses a 32-bit addressing scheme
- IPv6 supports automatic address configuration without DHCP
- IPv6 requires NAT to function
Q2. What makes IPv6 more resistant to network reconnaissance?
- Encrypted routing headers
- Larger address space
- NAT translation
- Private address blocks
Q3. Which feature is native to IPv6 but optional in IPv4?
- DHCP
- IPsec
- TCP
- ARP
Q4. In a dual-stack configuration, what is the main challenge?
- Reduced bandwidth
- Managing two address systems simultaneously
- Device authentication issues
- NAT incompatibility
