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
11
votes
3 answers

How does anycast work with tcp?

TCP, being stateful, should require subsequent packets to reach the same server. (Stateless) HTTP runs on top of TCP, and CDN's can use anycast. So how does TCP work with anycast? What if the syn and the ack go to different servers? I think I've…
Filip Haglund
  • 371
  • 4
  • 11
11
votes
2 answers

ipv6: `ifconfig` shows "Scope:Link" . What is "Scope:Link"?

I'm on a RedHat 6 box. IPv6 is enabled by default, and all interfaces have been assigned an IPv6 address. ifconfig reports that these IPv6 addresses have the Scope of 'Link'. % ifconfig eth0 Link encap:Ethernet HWaddr 00:24:90:AA:BB:1A …
Stefan Lasiewski
  • 23,667
  • 41
  • 132
  • 186
11
votes
3 answers

How to configure radvd, dhcpd6, routing and /64 subnet based on delegated prefix by DHCPv6-PD server?

My ISP has just started IPv4/IPv6 dual stack service. In order to connect IPv4/IPv6 internet, almost all users usually use a CPE leased by the ISP. But I want to use my Linux router instead of such CPE, because my router has so many roles(a lot of…
takaomag
  • 261
  • 1
  • 3
  • 7
11
votes
3 answers

How can we receive a global ipv6 subnet?

is it possible to obtain a routed IPv6 subnet? We do not have any nearby IPv6 brokers, nor do our local ISPs support it, but we'd like to build an IPv6 network anyways. Perhaps there's a way to become an IPv6 broker or to register as an ISP?
grandrew
  • 265
  • 1
  • 5
  • 9
11
votes
3 answers

How can I telnet to an IPv6 host using Mac OS X?

I’m testing IPv6 on a corporate network and having problems with OS X. With most IPv6 commands, such as telnet -6 or traceroute6, I get the error: connect: No route to host For example, I have a web server. This fails: $ telnet -6 fe80::… 80 #…
Nate
  • 2,366
  • 4
  • 22
  • 25
10
votes
2 answers

NGINX SSL does not respond over IPv6

On a Debian server with nginx, I get no response from a web server over HTTPS and IPv6. HTTP works fine. netstat reports port 443 listening on the IPv6 address firewall is open, ipv6scanner.com reports port 443 open locally (over terminal) wget…
j.kaspar
  • 211
  • 1
  • 8
10
votes
1 answer

HTTPD listening in IPv6, according netstat, but reacheable in IPv4

Using Openstack, I have a Web GUI (horizon) hosted on my server (HTTPS). When I do a netstat -lt | grep https, I have: tcp6 0 0 [::]:https [::]:* LISTEN With lsof -i :443, I have: COMMAND PID USER FD …
Antonin M.
  • 205
  • 1
  • 3
  • 8
10
votes
1 answer

Why is iptables rejecting the second and subsequent fragments of an allowed packet?

I have two hosts which are attempting to set up an IPSec connection with each other. For this they have to communicate on UDP ports 500 and 4500, so I opened them in the firewalls on both ends (shown in relevant part): -A INPUT -m state --state…
Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
10
votes
2 answers

Neighbour table overflow on Linux hosts related to bridging and ipv6

Note: I already have a workaround for this problem (as described below) so this is only a "want-to-know" question. I have a productive setup with around 50 hosts including blades running xen 4 and equallogics providing iscsi. All xen dom0s are…
tim
  • 1,217
  • 3
  • 11
  • 23
10
votes
1 answer

TCP/IPv6 thru ssh tunnel

i am wondering how to tunnel tcp/ipv6 traffic over the ssh/ipv4 tunnel (ptp connection). Is it possible? How can i achieve that?
ptr0
10
votes
2 answers

How can I setup OpenVPN with IPv4 and IPv6 using a tap device?

I've managed to setup OpenVPN for full IPv4 connectivity using tap0. Now I want to do the same for IPv6. Addresses and network setup (note that my real prefix is replaced by 2001:db8): 2001:db8::100:0:0/96 my assigned IPv6…
Lekensteyn
  • 6,241
  • 6
  • 39
  • 55
10
votes
7 answers

What are some good, IP Address Management solutions for IPv6?

There are a number of open source IPAM tools available for IPv4 address management; however there seems to be a distinct lack of actively updated tools available for IPv6. Other than FreeIPdb (code no longer maintained) or the RIPE Database (I have…
Russell Heilling
  • 2,557
  • 19
  • 21
9
votes
6 answers

IPv6 Address in SSL Certificate

Is it at all possible to obtain an SSL certificate for an IPv6 address, for example https://[1234:5678:9000:abcd:9876:5432:10ab:cdef]? If so, are there any examples of such usage? Assume that setting up a personal root CA and installing on devices…
huanglx
  • 213
  • 1
  • 3
  • 6
9
votes
2 answers

Configure BIND to prefer IPv4 without disabling IPv6

Our office network is internally dual-stack, but the connection to the rest of the Internet is IPv4-only. I've got BIND 9.9 set up on a Linux box to handle DNS resolution. Is there a way to configure BIND to prefer to use IPv4 when contacting other…
Mark
  • 668
  • 4
  • 10
9
votes
1 answer

With IPv6, should we be assigning distinct IP addresses to each host name served over HTTP(S)?

With IPv4, it's pretty much a given that unless there is some specific need that warrants IP-based virtual hosting, name-based virtual hosting should be done to avoid needlessly exhausting the address space. However, given that for IPv6 the current…
user
  • 4,335
  • 4
  • 34
  • 71