Questions tagged [ipv6]

IPv6 is the successor to IPv4. Rather than 2^32 addresses (like IPv4), it has 2^128, which is 340,282,366,920,938,463,463,374,607,431,768,211,456 unique addresses (34 undecillion). IPv6 addressing is quite different to IPv4 and is not backwards compatible, but protocols that sit on top (HTTP, SSH, etc) remain unchanged.

was designed in the 1970's and supports just over 4 billion unique addresses. Back then, nobody could ever have imagined the internet becoming what it is today.

Since 1 February 2011, the global pool of IPv4 addresses has been depleted, The first regional pool (Asia) ran out on 15 April 2011, Europe ran out on 14 September 2014, with the North American pools slated to run out in. Individual ISPs and hosting companies should have between three and twelve months after their regional pool is empty. By 2014, it will be hard/expensive to get a new IPv4 allocation outside of Africa and Latin America.

In the early 1990's people started to realise that we were going to run out of IP addresses and a taskforce was developed to decide on a new protocol. The protocol that was settled on was IPv6.

IPv6 has 128-bit addresses, and mostly works the same as IPv4, except that ARP is completely replaced (by Neighbour Discovery Protocol), and DHCP is radically different - and may not be necessary, in the light of the new Router Advertisement system. With the much larger address allocation, NAT is not needed.

There is an excellent talk from DefCon 18 on youtube that explains a lot of the history around IPv6. You can find it here.

1755 questions
15
votes
3 answers

Disabling IPv4 and use only IPv6 in Ubuntu

I'm doing some IPv6 related testing, and I wanted to fully disable my IPv4 for the tests on Linux, but couldn't find any easy place to do this. How do I make my IPv6 the only active one?
Samuel Carrijo
  • 251
  • 1
  • 2
  • 3
15
votes
3 answers

How do you display the IPv6 NDISC cache in Linux?

Suppose you've configured IPv6 proxy NDP on one of your Linux systems like so: ip -6 neighbor add proxy 2001:db8:1234::5 dev eth1 How do you verify that the configuration took? ip -6 neighbor show doesn't appear to show proxy entries and ip -6…
Gerald Combs
  • 6,441
  • 25
  • 35
14
votes
5 answers

IPv6 support or alternative for aws vpc instances

Recently apple has imposed IPv6 support as mandatory for all its vendors who use its mobile-api and aws vpc doesn't provide IPv6 support. How can I achieve this. I have checked…
Shailesh Sutar
  • 1,517
  • 5
  • 23
  • 41
14
votes
3 answers

Why only a single loopback address on IPv6?

IPv4 allocates a whole block of IPv4 loopback addresses, 127.0.0.0/8. IPv6, in contrast, only allocates a single loopback address, ::1. This seems surprising that IPv6 would be so stingy in its allocation of loopback address(es), since overall it…
Craig McQueen
  • 780
  • 7
  • 20
14
votes
3 answers

Why does /proc/net/tcp6 represents ::1 as ::100:0

I was writing an utility to check /proc/net/tcp and tcp6 for active connections as its faster than parsing netstat output. As I dont actually have ipv6 enabled I was mainly utilizing localhost as my reference point. Here is a copy of my…
gregswift
  • 275
  • 2
  • 8
14
votes
2 answers

When does Postfix use IPv6 and when IPv4?

I've configured my mail server for IPv6 and IPv4 but in the most cases it uses IPv4 while IPv6 is available on the remote host. I use Postfix in version 2.9. So my thought was that postfix uses IPv6 if available and has a fallback to IPv4 or am I…
nazco
  • 387
  • 2
  • 5
  • 11
14
votes
2 answers

How can I 'dip my toes' into dynamic IPv6 network addressing?

Is there any way in IPv6 to enable dynamic addressing and configuration for a subset of hosts on a network identified by specific mac addresses? I have been slowly working at setting up IPv6. All my routers have static addresses and routes and a…
Zoredache
  • 130,897
  • 41
  • 276
  • 420
13
votes
3 answers

Use Windows DHCP/DHCPv6 server without setting a static address

You cannot set the Windows DHCP/DHCPv6 server to listen on dynamic addresses or all addresses, only static addresses. Is there a technical reason for this limitation? Is there any workaround? My specific situation: I am using Router Advertisements…
Nick Whaley
  • 228
  • 2
  • 10
13
votes
2 answers

IPv6 without nat but what about an isp change?

I haven't worked with IPv6 outside of 4to6 tunneling on my home pc with stuff like GoGoNet. I've read about how it works in a general way. No NAT required (or suggested) and each client uses a public ipv6 address and I understand the continued use…
Halfdone
  • 163
  • 2
  • 9
13
votes
3 answers

What are the IPV6 reserved address spaces?

I'm converting my good old IPV4 based iptables firewall script and would like to substitute the CLASS A/B/C/D/E reserved address spaces to the ones found in IPV6. My goal is to deny any packets that originate from these addresses, since these cannot…
Jauzsika
  • 651
  • 1
  • 4
  • 10
13
votes
6 answers

How are IP-based rules (eg, bans/filters) affected once IPv6 becomes the standard?

Given that Stack Exchange sites ban on IP, I wonder if there's a common opinion or strategy about making rules based on a user's IP in order to dictate behaviors. With IPv4, you've got a few things you can fairly reliably assume about a given…
Daniel DiPaolo
  • 233
  • 1
  • 7
13
votes
3 answers

Semantics of :: and 0.0.0.0 in dual-stack OSes

Back in the IPv4-only days, a LISTEN connection showing in netstat as listening on 0.0.0.0 would respond to connections on any IPv4 interface in the system. As I understand it, the new IPv6 idiom :: listens on all available IPv6 and IPv4 interfaces.…
Alex J
  • 2,844
  • 2
  • 23
  • 24
12
votes
2 answers

Do I need seperate iptables rule for ipv6 address?

On my debian 5.0 server, I setup some iptables rules like below: ACCEPT tcp -- eee.fff.ggg.hhh aaa.bbb.ccc.ddd tcp dpt:80 DROP tcp -- 0.0.0.0/0 aaa.bbb.ccc.ddd tcp dpt:80 aaa.bbb.ccc.ddd is my server's ip…
Long Cheng
  • 247
  • 1
  • 2
  • 8
12
votes
3 answers

What is the meaning of the IPv6 config options in CentOS 7?

What exactly are the meanings of the following settings when manually configuring network interfaces on CentOS (I'm trying to configure an IPv6 only host)? I can guess what some of them mean by their name but I don't know what all of them mean (and…
jwbensley
  • 4,202
  • 11
  • 58
  • 90
12
votes
2 answers

Why do you need IPv6 Neighbor Solicitation to get the MAC address?

I'm a software developer and just got a free book about IPv6 at the Techdays, which I'm reading for fun. They gave it away because it's a bit of an old book (W2008), so maybe things are different for other/newer OSes, but I don't understand the…
Edwin
  • 223
  • 2
  • 4