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.

1707 questions
131
votes
5 answers

How does IPv6 subnetting work and how does it differ from IPv4 subnetting?

This is a Canonical Question about IPv6 Subnetting. Related: How does IPv4 Subnetting Work? I know a lot about IPv4 Subnetting, and as I prepare to (deploy|work on) an IPv6 network I need to know how much of this knowledge is transferable and…
Michael Hampton
  • 237,123
  • 42
  • 477
  • 940
126
votes
17 answers

Switching to IPv6 implies dropping NAT. Is that a good thing?

This is a Canonical Question about IPv6 and NAT Related: How does IPv6 subnetting work and how does it differ from IPv4 subnetting? How can I 'dip my toes' into dynamic IPv6 network addressing? IPv6 without nat but what about an isp change? So…
Ernie
  • 5,324
  • 6
  • 30
  • 37
97
votes
5 answers

Do you need separate IPv4 and IPv6 listen directives in nginx?

I've seen various config examples for handling dual-stack IPv4 and IPv6 virtual hosts on nginx. Many suggest this pattern: listen 80; listen [::]:80 ipv6only=on; As far as I can see, this achieves exactly the same thing as: listen [::]:80…
Synchro
  • 2,983
  • 5
  • 25
  • 35
97
votes
1 answer

How can one distinguish the host and the port in an IPv6 URL?

URLs always have this format: ://[:]/[][#] The problem is that IPv6 uses colons, just like the separator of port and host, e.g: 2001:db8:1f70::999:de8:7648:6e8 But what if this is the host, and I want to connect…
user42235
63
votes
3 answers

What does [::] mean as an ip address? Bracket colon colon bracket

When I run netstat there are some entries such as TCP [::]:8010 computername LISTENING What does that mean? It is impossible to search for...
carpat
  • 995
  • 2
  • 7
  • 14
62
votes
14 answers

Why would you use IPv6 internally?

Of course, I realize the need to go to IPv6 out on the open Internet since we are running out of addresses, but I really don't understand why there is any need to use it on an internal network. I have done zero with IPv6, so I also wonder: Won't…
KCotreau
  • 3,361
  • 3
  • 19
  • 24
56
votes
2 answers

What is the ipv6 equivalent of 0.0.0.0/0

When describing IPv4 networks, I can use 0.0.0.0/0 or just 0/0 to specify all networks. What is the equivalent notation for IPv6?
Andrew
  • 1,084
  • 2
  • 10
  • 16
48
votes
4 answers

Why can't IPv6 send broadcasts?

IPv4 can broadcast. Why can't IPv6 do that?
user68350
  • 697
  • 1
  • 6
  • 7
45
votes
5 answers

How to disable AAAA lookups?

... to compensate for broken DNS servers that are outside our control. Our problem: We deploy embedded devices that collect sensor data at various, mostly IPv4-only sites. Some sites have poorly maintained networks, e.g. misconfigured or otherwise…
Nils Toedtmann
  • 3,202
  • 5
  • 25
  • 36
45
votes
1 answer

nginx name-based virtual hosts on IPv6

I have an nginx server serving up nearly half a dozen different websites. It's running on a Linode that just got IPv6 native support (Dallas data center), and I'm trying to configure most of my sites for dual-stack operation. I got the first one up…
Kromey
  • 3,621
  • 4
  • 24
  • 30
43
votes
2 answers

Should I use IPv6 only or both IPv4 and IPv6 in my web server?

My web server (Ubuntu, Nginx) have both IPv4 and IPv6 addresses assigned by the host. For my website, shall I bind it to only an IPv6 address? Is it the standard recommended way? Or, shall I use both IPv4 and IPv6 addresses?
THpubs
  • 1,615
  • 7
  • 26
  • 43
40
votes
4 answers

sendmail can not deliver to gmail - IPv6 sending guidelines regarding PTR records not met

I am having trouble in delivering mail to google from a fresh sendmail install on ubuntu 14.04. The DNS-records seem to be fine for the ip. Something else must be wrong. Sending mail from command line: sudo sendmail -v -Am -i…
merlin
  • 2,033
  • 11
  • 37
  • 72
39
votes
3 answers

What is the IPv6 equivalent to IPv4 RFC1918 addresses?

Having a hard time wrapping my head around IPv6 here. A lot of the lingo seems targeted at enterprise-level IPv6 deployments, discussing link-local, site-local, global unicast, scopes, etc. Not a lot of solid information on really small networks,…
Kumba
  • 610
  • 1
  • 5
  • 13
37
votes
8 answers

"ipv6 equivalent" of 192.168.x.x (configuring a static ipv6 address)

Background: I have a windows 2008 machine and I want to make it a Domain Controller in a test domain made of two virtual machines. dcpromo pops up a warning if IP addresses for the machine are not statically configured. Disabling IPv6 is not an…
Paolo Tedesco
  • 1,206
  • 7
  • 16
  • 23
35
votes
3 answers

IPv6 subnetting a /64 - what will break, and how to work around it?

In IPv6, you are not supposed to subnet to anything smaller than a /64 (RFC 5375). Among other things, SLAAC does not work with smaller subnets, and apparently also some other features will break. What are the workarounds for situations where ISPs…
Kevin Keane
  • 860
  • 1
  • 8
  • 13
1
2 3
99 100