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
0
votes
1 answer

Setting up mikrotik router with native IPv6 with only a single /64 block

I am at a colo provider that supplies a single IPv6 /64 block. The goal was to route the provided /64 of IPv6 addresses to the hosts behind the Mikrotik running RouterOS 6.24. Some Mikrotik examples and that I found always had the user getting a…
craigdfrench
  • 158
  • 8
0
votes
1 answer

DNS resolving incorrectly for some countries

European visitors are being served an old version of the website - because it appears they are getting a site that is resolving to an ipv6 address. Other countries resolve to the correct ipv4 IP. My understanding of DNS routing is fairly limited -…
jaybong
  • 103
  • 2
0
votes
0 answers

can't permanently delete automatic MAC-based inet6 address

Although I never explicitly configured ipv6 on my rhel servers and only have static ipv4 configuration in /etc/sysconfig/network-scripts/ifcfg-eth0, an automatic ipv6 address based on MAC address keeps being added. Now there's a need to reuse this…
basin
  • 558
  • 1
  • 5
  • 22
0
votes
3 answers

how do I stop protocol 41 unreachable packets from being sent?

I'm using a Hurricane Electric tunnel on one of my VPSs, and it isn't working completely. I set up the tunnel with a script basically identical to this one: http://www.cybermilitia.net/2013/07/22/ipv6-tunnel-on-openvz/, with only modifications for…
jcomeau_ictx
  • 262
  • 4
  • 13
0
votes
1 answer

ip6tables forward chain filters all ports

Trying the following on a centos 6 node (running openvz kernel) ip6tables -F ip6tables -X ip6tables -P FORWARD DROP ip6tables -A FORWARD -p tcp -m multiport --dports 21,22,80,443 -j ACCEPT ip6tables -A FORWARD -p udp -m multiport --dports…
el5yeli
  • 1
  • 2
0
votes
1 answer

Setting up stateful DHCPv6 on Linux

I want to set up a DHCP server on my local network for IPv6 that issues addresses and further information like DNS/NTP and so on. From my ISP I got the IPv6 Prefix which I will refer to as in further snippets. I use the isc-dhcp-server.…
fragwürdig
  • 103
  • 1
  • 6
0
votes
1 answer

ip6tables port dropping and defaults

On CentOS 6, ip6tables is literally giving a nightmare on this machine. Having ip6tables -P INPUT ACCEPT ip6tables -P OUTPUT ACCEPT ip6tables -P FORWARD ACCEPT with ip6tables -A INPUT -p tcp -m multiport ! --dports 21,22,80,443 -j DROP ip6tables…
el5yeli
  • 1
  • 2
0
votes
0 answers

Bind, IPV6, and Out of Zone Data

I am running into some problems getting bind properly configured to support IPV6 hosts. IPv4 is working fine, no issues. My zone file has both IP4 and IP6 data intermingled which I believe should not be a problem. My zone file looks like this: @ …
David
  • 43
  • 3
0
votes
2 answers

IPv6 Vs IPv4 for geolocation

disclaimer at first : this question is from a noob on IPv6 topic. Our web server initially had IPv6 active and Nginx not configure properly so the users with IPv6 got an error and website did not load. After configuration of Nginx to listen on…
Memes
  • 408
  • 2
  • 4
  • 11
0
votes
1 answer

Can't ssh after configuring sshd_config

I have configured my sshd configuration files to listen to ipv6 addresses, but forgot to uncomment ipv4 local addresses. Here is a snippet from my configuration file: AddressFamily any ListenAddress 0.0.0.0(forgot to uncomment this) ListenAddress…
sweatbar
  • 19
  • 5
0
votes
1 answer

Prevent non-intercept Squid traffic being tagged by Policy Routing

I've re-edited the original question, because I have changed the setup since the original answer, which was for NAT based setup. NAT is no longer being used and has been replaced with TPROXY for IPv6 compatibility. I'm running squid in a small…
James White
  • 674
  • 3
  • 18
  • 32
0
votes
1 answer

IPv6 users see different site than IPv4 users

I had a site hosted on 1and1 that I moved to an Azure VM. I found that some people who have IPv6 enabled in their routers (not sure if that's the only situation but it's the one that I came across) are being sent to the site that was on 1and1. The…
Jane
  • 11
0
votes
1 answer

ipv6 address configuration on serial interfaces

I tried to configure Ipv6 static routing on three routers, I configured ipv6 addresses on all three routers using ipv6 address auto config, The middle router have been configured with different global unicast addresses perfectly on it's both serial…
0
votes
1 answer

OpenVPN ifconfig-ipv6 in TAP mode

I want to set up IPv6 address on my OpenVPN server operating in TAP mode. According to documentation, ifconfig expects two parameters: l and rn. For TAP devices, l is local address, rn is netmask. It works fine with IPv4: e.g. ifconfig 192.168.2.1…
WGH
  • 145
  • 9
0
votes
1 answer

IPv6 dead before receiving ICMPv6 ping

TCPv6 and UPDv6 are dead until server received ICMPv6 ping. Further analysis shows that actually TCP and UDP packets won't even come to the server. But after receiving ICMPv6 ping, everything starts working as expected. What could be causing this?…