Jump to

    Lessons / Lesson 1, Gibson & Shelley, Ch. 3

    IPv4 vs IPv6: why the internet ran out of house numbers

    Every device on the internet needs a house number. The old system (IPv4) ran out of numbers, so we built a new one (IPv6) that never will.

    Poster: IPv4 vs IPv6. A postman at a house numbered 203.0.113.5, a full street of IPv4 houses, NAT as one front door shared by many children, and endless IPv6 plots with a house numbered 2001:db8::5.

    Tap any panel to explore it.

    Like you’re 10

    Every house on your street has a number so the postman knows where to deliver. Every computer, phone and smart TV on the internet needs a number too. That number is its IP address.

    The old numbering system, IPv4, was invented when only a few big computers were online. It had room for about four billion numbers. That sounded like plenty, until everyone got a phone, a tablet, a games console and a smart doorbell. The numbers ran out.

    So engineers built IPv6, a new system with numbers so long that every grain of sand on Earth could have its own address, with plenty left over.

    Grown-up version

    An IP address identifies a device’s network interface so packets can be routed to it.

    IPv4IPv6
    Length32 bits128 bits
    Written asFour decimal numbers, 203.0.113.5Eight hex groups, 2001:db8::5
    How manyAbout 4.3 billionAbout 3.4 × 10³⁸
    Getting an addressManually or via DHCPManually, DHCPv6, or the device builds its own (SLAAC)
    Private ranges10.x, 172.16–31.x, 192.168.xUnique local addresses (fd00::/8)

    Why IPv4 survived so long: NAT (Network Address Translation) lets a whole office or home share one public IPv4 address. The global pool of free IPv4 addresses still ran dry: the central registry handed out its last blocks in 2011, and Europe’s registry ran out in 2019. Today, spare IPv4 addresses are bought and sold.

    Security points worth knowing for the exam:

    • NAT is not a firewall. It hides internal addresses, but it is not a security control by itself.
    • Dual stack means a network runs IPv4 and IPv6 side by side. Firewall rules, monitoring and logging must cover both, or IPv6 becomes an unwatched side door.
    • IPv6 did originally make IPsec support mandatory, but using it was never required. Don’t assume IPv6 traffic is encrypted.

    A real-world example

    The device you’re reading this on almost certainly has both an IPv4 and an IPv6 address right now. Many mobile networks now run mainly on IPv6, and translate to IPv4 only when a website still needs it.

    Why a buyer cares

    • The risk it reduces: blind spots. An organisation that monitors only IPv4 can miss attackers using IPv6, and messy address records slow down every investigation.
    • Who owns it at a company: the network team. Security cares when an incident needs to trace “which device had this address at 2am?”
    • What gets bought: IP address management, usually inside DDI platforms (DNS, DHCP and IP address management combined), and firewalls that inspect both IPv4 and IPv6.
    • A good discovery question: “Do your firewall rules and monitoring cover IPv6 as thoroughly as IPv4, or is it switched on and unwatched?”

    The one thing to remember

    IPv4 is a short house number that ran out. IPv6 is a very long one that won’t. Both must be watched.

    Buyer score

    3/10

    Pure plumbing. It matters to network teams, but nobody buys “IPv6” as a security product.

    Share on LinkedIn
    BudgetIs there a product category companies buy for this?
    1/2.5
    PainDoes it cause breaches or outages people have heard of?
    0.5/2.5
    PressureDo regulators, insurers or auditors demand it?
    0.5/2.5
    OwnerIs there a clear buyer who is judged on it?
    1/2.5

    See every topic ranked by buyer score

    Check yourself

    3 quick questions. Get them all right and this lesson is marked as learned.

    1. 1How long is an IPv4 address?

    2. 2Which statement about NAT is true?

    3. 3A company runs IPv4 and IPv6 side by side but only monitors IPv4. What is the risk?

    Revision cards

    For later: answer out loud first, then check.

    1How long is an IPv4 address, and how is it written?

    32 bits, written as four numbers from 0 to 255 separated by dots, like 192.168.1.5. That allows about 4.3 billion addresses.

    2How long is an IPv6 address, and how is it written?

    128 bits, written as eight groups of hexadecimal separated by colons, like 2001:db8::5. A double colon (::) stands in for a run of zero groups.

    3What is NAT, and why did IPv4 need it?

    Network Address Translation lets many devices share one public IPv4 address. It stretched IPv4’s limited supply as the internet grew.

    4Why can IPv6 create a security blind spot?

    It is often switched on by default in operating systems. If the security team only monitors and filters IPv4, attackers can move over IPv6 unseen.

    Your progress is saved on this device only.

    Tap the image to zoom

    1What is an IP Address?

    An IP address identifies a device on a network so data can be delivered to it, like a house number for the postman.

    Swipe for panel 2 →

    2IPv4: The Full Street

    IPv4 addresses are 32 bits long, which allows about 4.3 billion. The last free blocks were handed out from 2011 onwards.

    Swipe for panel 3 →

    3NAT: One Front Door

    NAT lets a whole home or office share one public IPv4 address. It hides internal addresses, but it is not a firewall.

    Swipe for panel 4 →

    4IPv6: Endless Plots

    IPv6 addresses are 128 bits long, about 3.4 × 10³⁸ of them. Networks running both versions must watch both.