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

Debian / IPv6: Default route expires after 1800 secs, loosing connectivity

I'm running Debian 8 on a vServer. After installing docker and enabling IPv6 i noted something strange. I don't know if docker has anything to do with this, it's just that i noticed this problem after installing it. My default route is configured to…
lajuette
  • 771
  • 6
  • 16
12
votes
1 answer

OpenVPN with mixed ipv4 and ipv6 clients

I have a VPN server handling various clients; some with ipv4 only, some with ipv4 and ipv6, and some that will be ipv6 only. Some of these clients are roaming, so ideally they should connect to ipv6 if it's available, and fall back to ipv4 if it…
Tuinslak
  • 1,465
  • 8
  • 32
  • 56
12
votes
2 answers

How to scan ipv6 enabled hosts on my LAN?

I want to discover all my neighbors who enabled ipv6 protocol and still alive. I tried ip -6 neighbor show but it shows nothing. Can someone recommend a tool and show some examples? Thanks.
Douglas Su
  • 263
  • 1
  • 3
  • 9
12
votes
2 answers

How should I temporarily disable IPv6 for an entire network?

We have a medium sized network with IPv4 and IPv6 across it, and our upstream provider is making IPv6 go away for two weeks while they do... something. (It's "experimental" and we don't pay for it, but it's been stable for years so we turned it on…
Zanchey
  • 3,051
  • 22
  • 28
12
votes
4 answers

How to prevent delays associated with IPv6 AAAA records?

Our Windows servers are registering IPv6 AAAA records with our Windows DNS servers. However, we don't have IPv6 routing enabled on our network, so this frequently causes stall behaviours. Microsoft RDP is the worst offender. When connecting to a…
Nic
  • 13,425
  • 17
  • 61
  • 104
12
votes
2 answers

Debian 7 how are IPv6 link local addresses set?

It seems like when dhclient runs on eth0 I get an IPv4 address from the DHCP server and a Scope:Link IPv6 address attached to eth0: inet6 addr: fe80::a00:27ff:fed0:4d41/64 Scope:Link But I can't see from dhclient-script how that address is being…
Aaron
  • 223
  • 1
  • 2
  • 6
12
votes
2 answers

Why is my domain controller causing my router to send advertisements for Unique Local Addresses?

I'm currently evaluating Server 2012 to serve as a domain controller in a small heterogeneous network of Linux and Windows workstations and servers, all of which would eventually be joined to the domain. This is a 100% dual stack network; every…
12
votes
5 answers

Managing parallel rules for ipv4 and ipv6 iptables?

We've recently started experimenting with IPv6, and one of the first issues we're having to contend with is dealing with a completely separate set of firewall (Linux iptables/ip6ables) rules for the two protocol stacks. Our firewall logic is based…
larsks
  • 43,623
  • 14
  • 121
  • 180
12
votes
3 answers

How to set apache virtualhost to work with ipv6?

I've got server with 1 ipv4 address and with a few ipv6 addresses. One domain is redirected to ipv4 A record I set up apache ports.conf like this: Listen ip.v4.address:80 NameVirtualHost ip.v4.address:80 and virtualhost file:
sheldy
  • 121
  • 1
  • 1
  • 3
12
votes
4 answers

How to prepare (or not) small company to IPv6

There's an ongoing "panic" all over the news for some time now about IPv4 running out and IPv6 being the savior. All the big companies are preparing and showing how it should be done (last actions from Google, FaceBook). I do understand the problem…
MadBoy
  • 3,725
  • 15
  • 63
  • 94
12
votes
5 answers

Best practice for picking convenient IPv6 addresses for a few hosts on an isolated LAN

I have in the past setup small ad hoc LANs which were totally disconnected from the internet and when assigning addresses to the hosts, I could pick whatever made communicating the addresses between humans as easy as possible (and as easy as…
IllvilJa
  • 223
  • 2
  • 7
11
votes
2 answers

Do Araknis switches support IPv6?

In an otherwise fully IPv6 enabled network, can devices put behind Araknis switches use IPv6? I can't find any mention of IPv6 here: https://www.snapav.com/shop/en/snapav/araknis-switches Araknis's only current router does support IPv6 (see Specs):…
11
votes
1 answer

Can clients learn their time zone on a network configured using RA?

I found that there are some clients which when they are on an IPv4 network learn their current time zone through DHCP option number 101. On an IPv6-only network where an IP prefix is advertised by radvd on Ubuntu Server 14.04 these clients do not…
kasperd
  • 30,455
  • 17
  • 76
  • 124
11
votes
0 answers

IPv6: Destination unreachable: Address unreachable

My server can't ping/reach any other outside. ping6 works for my local fe80::468... address as well as the 2a01:4f8..., but not for fe80::1! Errors/Troubles/Issues: ip neigh show fe80::1 dev eth0 FAILED ping6 2001:4860:4860:8888 (Google) PING…
am1
  • 221
  • 1
  • 2
  • 4
11
votes
2 answers

Prefer IPv4 incoming connections over IPv6

We run a social/local service that benefits from geolocating the IP of users. The problem is that with IPv6, geolocation is quite a bit spottier than with IPv4. Is there a way to prefer incoming connections over IPv6, on a Ubuntu host with nginx?…
Dan Dascalescu
  • 601
  • 1
  • 10
  • 21