Network security

What Is IPv6? How It Works, IPv4 vs IPv6, and Why It Matters

IPv6 gives every device its own address and removes the workarounds IPv4 needs. Here is how it works, how it compares with IPv4, and what to do about it.

Cysoro Security TeamPublished · 10 min read
v6128-bit 2001:db8::1 340 undecillion NETWORK SECURITY What isIPv6? Every device, its own address.
Quick answer

IPv6 (Internet Protocol version 6) is the current standard for assigning addresses to devices on the internet. It uses 128-bit addresses, written in hexadecimal, which provides about 340 undecillion possible addresses — far more than IPv4's 4.3 billion. IPv6 also simplifies configuration, removes the need for address-sharing NAT, and was designed with modern security and routing in mind.

Key takeaways

  • IPv6 uses 128-bit addresses, so address exhaustion is effectively solved: about 340 undecillion addresses are available.
  • IPv4 and IPv6 are not compatible, so networks run both side by side (dual stack) during the long transition.
  • IPv6 is not automatically more secure or faster — it still needs firewalls, filtering and patching like any network.

Every device on the internet needs an address so data can find it. IPv4, the original system, only has about 4.3 billion addresses — and the world ran out of new ones years ago. IPv6 is the replacement, with so many addresses that exhaustion is effectively impossible.

What is IPv6?

IPv6 is the sixth version of the Internet Protocol, the set of rules that assigns addresses to devices and routes data between them. It was standardized by the Internet Engineering Task Force (IETF) in 1998 and updated in the current specification, RFC 8200, published in 2017.

An IPv6 address is 128 bits long, written as eight groups of four hexadecimal digits separated by colons. A typical example is 2001:db8:85a3::8a2e:370:7334. That length gives about 340 undecillion addresses — 340 followed by 36 zeros — enough for every person on Earth to have billions of trillions of addresses.

IPv6 is not a new internet. It is a new addressing layer for the same internet. Websites, apps and services work the same way for users; the difference is under the surface, in how devices are addressed and how packets move.

Why was IPv6 created?

IPv6 was created because IPv4 ran out of addresses. IPv4 uses 32-bit addresses, which allow roughly 4.3 billion unique addresses. That seemed plenty in 1981, when IPv4 was standardized, but phones, laptops, servers, smart TVs and connected devices soon used them up.

The regional registries that hand out IPv4 addresses exhausted their free pools during the 2010s. The workarounds that followed — mainly Network Address Translation (NAT), which lets many devices share one public IPv4 address — kept the internet working, but they add complexity, break some peer-to-peer connections and hide the real device behind a shared address.

IPv6 removes that constraint. With a globally unique address available for every device, NAT is no longer needed for address conservation, and end-to-end connectivity works as the internet was originally designed to work.

How does IPv6 work?

IPv6 works like IPv4 at a high level: each device gets an address, packets carry a source and destination address, and routers forward them hop by hop. The details — address format, configuration and packet headers — are different.

An IPv6 packet has a fixed 40-byte base header, followed by the payload and optional extension headers. The fixed header makes routers faster, because they do not have to parse a variable-length header the way IPv4 routers do. Fragmentation is done only by the sending device, never by routers in the middle.

Devices can configure themselves. With Stateless Address Autoconfiguration (SLAAC), a device listens for a router advertisement, takes the network prefix from it, and forms its own address. Administrators can also use DHCPv6, which works like IPv4's DHCP, or configure addresses manually.

Anatomy of an IPv6 address 2001:0db8:85a3:0000:0000:8a2e:0370:7334 Network prefixfirst 64 bits — identifies the network Interface identifierlast 64 bits — identifies the device Shortened form: 2001:db8:85a3::8a2e:370:7334 — the :: replaces one run of zero groups.
An IPv6 address has eight hexadecimal groups: a network prefix and an interface identifier. Illustration by Cysoro.

IPv6 also replaces IPv4's broadcast with multicast, so a message meant for a group goes only to that group instead of every device on the network. Address Resolution Protocol (ARP) is replaced by the Neighbor Discovery Protocol, which handles address resolution, router discovery and duplicate-address detection.

IPv4 vs IPv6: what's the difference?

The headline difference is address space, but the two protocols also differ in format, headers, configuration and traffic handling. The table below covers the differences that matter most in practice.

FeatureIPv4IPv6
Address length32 bits128 bits
Address spaceAbout 4.3 billionAbout 340 undecillion
FormatDecimal, dotted: 192.0.2.1Hexadecimal, colons: 2001:db8::1
Standardized1981 (RFC 791)1998; current spec RFC 8200 (2017)
Header size20–60 bytes, variableFixed 40 bytes
ConfigurationManual or DHCPSLAAC, DHCPv6 or manual
NATWidely needed to share addressesNot needed for address conservation
BroadcastYesNo — multicast instead
IP to MAC mappingARPNeighbor Discovery Protocol
FragmentationSender and routersSender only
ChecksumHeader checksumNone — left to upper layers

One common misunderstanding is worth clearing up: IPv6 does not automatically encrypt traffic. Early descriptions said IPsec was mandatory in IPv6, but in practice IPsec is optional, just as it is in IPv4. Your traffic is protected by TLS in the browser and by VPNs, not by the IP version itself.

What are the types of IPv6 addresses?

IPv6 has three address types: unicast, multicast and anycast. There is no broadcast type, which is a deliberate change from IPv4.

  • Unicast — one device. Most addresses you meet are unicast. Global unicast addresses start with 2000::/3 and are the public addresses of the internet. Link-local addresses (fe80::/10) work only on one local network, and unique local addresses (fc00::/7) are the private-address equivalent of IPv4's 192.168.x.x range.
  • Multicast — a group of devices that asked to receive the traffic. Multicast addresses start with ff00::/8 and replace IPv4 broadcast for things like router advertisements and service discovery.
  • Anycast — the nearest of several devices sharing one address. Anycast is used heavily by DNS resolvers and content delivery networks, where the same address is announced from many locations and routing sends you to the closest one.
  • Loopback — ::1, the IPv6 equivalent of IPv4's 127.0.0.1, used to talk to your own device.

Special addresses matter for security work. The unspecified address :: means "no address yet", and documentation examples should use the 2001:db8::/32 range, which is reserved for examples and never routed on the public internet.

How widely is IPv6 used?

IPv6 adoption has grown steadily for more than a decade, and it passed a symbolic milestone in 2026. Google's public statistics, which measure the share of Google users who can reach Google over IPv6, show adoption rising from about 2.5% in early 2014 to roughly 45% in 2025.

On 28 March 2026, native IPv6 access to Google exceeded 50% for the first time, at 50.10%, according to the Internet Society's Pulse tracker. Adoption varies sharply by country: France was around 73%, India around 72% and Saudi Arabia around 65%, while Italy was near 17%, Spain near 10% and Egypt near 4%.

The United States sits in the middle, at roughly 50% of Google users reaching Google over IPv6. Mobile networks lead the way — large operators such as Reliance Jio in India run the large majority of their traffic over IPv6 — while fixed broadband and enterprise networks lag behind.

IPv6 adoption among Google users 2.5%2014 ~20%2018 ~35%2021 ~45%2025 50.1%Mar 2026 Share of Google users reaching Google over IPv6. Source: Google IPv6 statistics, via Internet Society Pulse.
IPv6 adoption grew from about 2.5% in 2014 to over 50% in March 2026. Illustration by Cysoro.

Server-side adoption is slower: a 2025 study found only about 12.5% of the top 100,000 websites fully reachable over IPv6. That gap is why dual-stack operation matters — a user on IPv6 still needs the sites they visit to support it.

Is IPv6 secure? Risks to know

IPv6 changes the security picture in both directions. It removes some IPv4 problems and adds new ones, and the biggest risk is running IPv6 without realizing it. NIST's Guidelines for the Secure Deployment of IPv6 (SP 800-119) remains the standard reference for planning a secure deployment.

  • Shadow IPv6. Many devices enable IPv6 by default, even on networks that only manage IPv4. That creates an unmonitored path in and out of the network. Audit what is actually enabled before you assume IPv6 is off.
  • Globally reachable devices. Without NAT hiding them, every device can have a public address. That is a feature, but it means your firewall must filter IPv6 explicitly — an IPv4-only firewall leaves the IPv6 door open.
  • Rogue router advertisements. A device on the local network can advertise itself as a router and redirect traffic. Use Router Advertisement Guard (RA Guard) on switches and prefer DHCPv6 with authentication where it matters.
  • Neighbor Discovery attacks. IPv6's Neighbor Discovery Protocol replaces ARP, and it has its own spoofing risks. The SEND protocol (Secure Neighbor Discovery) adds cryptographic protection, though it is rarely deployed.
  • Extension header abuse. Attackers can use crafted extension headers to evade firewalls or cause denial of service. Firewalls should inspect and, where possible, limit extension headers.
  • Privacy addresses. The interface identifier can be derived from a device's MAC address, which makes the device trackable across networks. Modern operating systems use temporary privacy addresses that change regularly — make sure that setting is on.

The practical rule is simple: treat IPv6 as a first-class network. Inventory it, firewall it, log it and patch it, exactly as you do for IPv4. If you are not ready to manage it, disable it deliberately and document the decision — do not leave it enabled by accident.

How do networks move from IPv4 to IPv6?

IPv4 and IPv6 are not compatible with each other, so there is no flag day when everyone switches. Instead, networks use transition mechanisms, and the standard approach is dual stack: run both protocols on the same network at the same time.

With dual stack, a device has both an IPv4 and an IPv6 address. When it connects to a service, it prefers IPv6 if the service supports it and falls back to IPv4 otherwise. Most home routers, phones and operating systems already do this by default.

Other mechanisms fill gaps where dual stack is not possible. Tunneling wraps IPv6 packets inside IPv4 packets so they can cross IPv4-only networks. Translation mechanisms such as NAT64 let IPv6-only devices reach IPv4-only services. The US federal government has pushed this transition for years: an Office of Management and Budget memo required at least 80% of IP-enabled assets on federal networks to operate in IPv6-only environments by fiscal 2025.

For a small business, the realistic path is to let your provider and equipment handle it: buy IPv6-capable routers, ask your provider when IPv6 is available, and check that your firewall, DNS and monitoring cover IPv6 before you turn it on.

How do I enable or check IPv6?

For most people, IPv6 is already enabled and there is nothing to do. If you want to check, the steps below take a few minutes.

  1. Check what you have now. Use our free IP checker to see the address the internet sees for you. An address with colons means you are already on IPv6.
  2. Check your router. Log in to your router's admin page and look for an IPv6 section. If your provider supports IPv6, there is usually an "enable IPv6" or "IPv6: automatic" setting — turn it on and save.
  3. Check your devices. On Windows, run ipconfig; on macOS or Linux, run ifconfig or ip -6 addr. Look for an address starting with 2001: or similar, alongside your IPv4 address.
  4. Check your DNS. Your domain needs AAAA records — the IPv6 equivalent of A records — for visitors to reach it over IPv6. Use a DNS lookup to confirm they exist.
  5. Check your firewall. Confirm your firewall has IPv6 rules, not just IPv4 ones. A device with a public IPv6 address and no IPv6 firewall is exposed.

If something breaks after enabling IPv6, the usual cause is a router or provider that advertises IPv6 but does not route it properly. Turning IPv6 off on the router, or setting it to IPv4-only, is a safe fallback while you check with your provider.

Do not disable IPv6 on Windows to fix a problemMicrosoft advises against disabling IPv6 on Windows: some Windows features expect it to be present. Fix the router or provider issue instead, and only disable IPv6 as a last resort, on the router rather than on individual devices.

Common IPv6 mistakes

Most IPv6 problems come from treating it as an afterthought. These are the mistakes that show up most often.

  • Assuming IPv6 is off. It is on by default in most modern operating systems. Audit it before you declare it disabled.
  • Firewalling only IPv4. An IPv6 path with no firewall rules is an open door. Every IPv4 rule needs an IPv6 equivalent.
  • Forgetting DNS. A website with no AAAA record is invisible to IPv6-only visitors, and a domain with no IPv6 mail records can have delivery problems.
  • Using the MAC address as the identifier. That makes devices trackable. Use privacy extensions so the interface identifier changes regularly.
  • Blocking all ICMPv6. IPv6 depends on ICMPv6 for neighbor discovery, path MTU discovery and router advertisements. Blocking it entirely breaks IPv6 — filter selectively instead.
  • Skipping logging. If your logging and monitoring only cover IPv4, an incident over IPv6 leaves no trail. Make sure both protocols feed the same logs.

The bottom line

IPv6 is the internet's long-term addressing system, and the transition is already halfway done: more than half of Google's users now reach it over IPv6. The protocol itself is not magic — it does not make you faster or safer on its own — but it removes the address shortage that has shaped networking for twenty years.

For most readers, the right move is simple: leave IPv6 enabled, make sure your firewall and DNS cover it, and check that your own site publishes AAAA records. You can see what address the internet sees for you right now with the free IP checker.

Once IPv6 is working, lock down the network around it — our guide to securing your Wi-Fi covers the router settings that matter most.

Frequently asked questions

What is IPv6 in simple terms?

IPv6 is the system that gives devices on the internet an address so data can find them. It is the successor to IPv4, and its much longer addresses mean we will not run out of them. Most modern devices and networks already support it.

What is the difference between IPv4 and IPv6?

IPv4 uses 32-bit addresses written as four decimal numbers, such as 192.0.2.1, and allows about 4.3 billion addresses. IPv6 uses 128-bit addresses written in hexadecimal, such as 2001:db8::1, and allows about 340 undecillion addresses. IPv6 also has a fixed 40-byte header, no broadcast traffic, and built-in autoconfiguration.

Do I need IPv6?

You do not need to switch it on manually in most cases. Your internet provider, router and devices usually handle it automatically. If your provider offers IPv6, leaving it enabled is the simplest choice, because more services and mobile networks use it every year.

Is IPv6 faster than IPv4?

Not automatically. In practice the two are usually similar, and some measurements show IPv6 slightly faster on networks that support it natively, because it avoids NAT. Speed depends far more on your connection, routing and the service you are reaching than on the protocol version.

Is IPv6 more secure than IPv4?

IPv6 is not automatically more secure. It was designed with IPsec in mind, but IPsec is not mandatory in practice, and IPv6 introduces its own risks, such as rogue router advertisements and devices getting globally reachable addresses. Firewalls, filtering and updates still matter.

How do I know if I am using IPv6?

Visit a test site or check your device's network settings for an IPv6 address. You can also check what address the internet sees with a free IP checker. If you see an address with colons and hexadecimal digits, such as 2001:db8::1, you are using IPv6.

What is an IPv6 address example?

A full example is 2001:0db8:85a3:0000:0000:8a2e:0370:7334. Using the shortening rules, the same address is written as 2001:db8:85a3::8a2e:370:7334. The double colon replaces one run of consecutive zero groups, and leading zeros in each group can be dropped.

Will IPv4 ever go away?

Not soon. IPv4 and IPv6 will coexist for many years because so much equipment, software and content still runs on IPv4. The transition happens network by network, with dual-stack operation — running both protocols at once — as the standard approach.

Sources

  1. IETF — RFC 8200: Internet Protocol, Version 6 (IPv6) Specification
  2. Google — IPv6 Statistics
  3. NIST — Guidelines for the Secure Deployment of IPv6 (SP 800-119)
  4. Internet Society Pulse — 18 Years Later, IPv6 Reaches Majority
  5. DigiCert — IPv6 vs IPv4: Key Differences Explained
  6. Linuxize — IPv4 vs IPv6: Differences Explained
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against RFC 8200, Google's IPv6 adoption statistics and NIST SP 800-119.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free