Questions tagged [ipv6]

Version 6 of the internet protocol, which will replace version 4.

Internet Protocol version 6 (IPv6) is the successor to the well known IPv4 protocol, commonly known as IP. Your Ubuntu system comes with all you will need to use IPv6.

In the early 1990s, growth of the Internet led to various problems with IPv4, including:

  • Running out of subnets. This was deferred by conversion to Classless Inter-Domain Routing (CIDR), currently described by RFC4632
  • Running out of addresses. This was deferred by using RFC1918 private address space (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) hiding behind Network Address Translation (NAT) devices, in which a single public IPv4 address can be shared by multiple computers, e.g. all the users connected through a DSL/Cable modem. But NAT has its own problems. Besides NAT, in some cases during the transition to IPv6, multiple internet connections will share IPv4 addresses via dual-stack-lite. And as of 2011, a growing number of nodes on the Internet only speak IPv6 since unassigned IPv4 addresses started to run out.
  • Routing table were getting too large. This is still a concern today.

IPv6 deals with these and many other issues:

  • 128 bit address space, with a design goal of supporting 240 subnets organizing 250 hosts. While theoretically there are 340,282,366,920,938,463,463,374,607,431,768,211,456 addresses possible, this is unattainable in practice. IPv6 does offer multitudes of addresses per person, so we are unlikely to run out again.
  • Each computer can have it's own globally routable address. There is no need for NAT in IPv6, returning us an architecture more similar to the peer-to-peer internet of the 1980's.
  • Smaller routing tables. Due to both better geographic and more hierarchical allocation strategies, IPv6 subnets currently generate only 1/7th as many routes as IPv4 subnets.

There are also lots of other useful features of IPv6 such as:

  • Address autoconfiguration (RFC2462)
  • Anycast addresses (“one-out-of many”)
  • Mandatory multicast addresses
  • IPsec (IP security)
  • Simplified header structure
  • Mobile IP
  • IPv6-to-IPv4 transition mechanisms

--From Ubuntu Wiki, which is licensenced CC-BY-SA

389 questions
78
votes
1 answer

Why do I get multiple global IPv6 addresses listed in ifconfig?

This could be a no-brainer, but when I look in ifconfig it lists two different global IPv6 addresses. Is there a reason why I'm getting two assigned? Shouldn't I just get a single address? valorin@gandalf:~$ ifconfig eth0 Link encap:Ethernet …
Stephen RC
  • 4,812
19
votes
6 answers

How to let the browser prefer IPv6 over IPv4?

I installed miredo and have IPv6 up and running it seems. I can ping6 hosts and download webpages with wget or my webbrowser when I specify IPv6 addresses, however whenever I specify a hostname that is offered over both IPv4 and IPv6 the browser…
Grumbel
  • 4,729
11
votes
2 answers

How can I set /etc/network/interfaces to just autoconfigure ipv6?

I have a machine that I just want to run ipv6 on, no ipv4. I want to use an autoconfigured ipv6 address - I have radvd running on my network and it is working fine. However there is no config in /etc/network/interfaces that I can set to do that. It…
user55807
  • 111
  • 1
  • 1
  • 3
8
votes
1 answer

Is there a identd-like package in Ubuntu that supports IPv6?

Of those identd daemons available in Ubuntu 10.04, can any of them be made to work with IPv6? If so, a nudge in the right direction regarding how to configure the IPv6 support would be nice.
andol
  • 6,733
6
votes
3 answers

IPv6 FAQ and checklist for a home user?

Can we start an IPv6 FAQ and checklist for a (*)Ubuntu home user, covering both hardware and software? The answers can cover the following areas: ISP readiness. Home router readiness and configuration. (*)Ubuntu configuration. Since when has…
augustin
  • 511
6
votes
2 answers

IPV6 auto configuration not working

In Windows 7, my computer can automatically get a IPV6 global address and use IPV6 network, but in Ubuntu Natty, I can't find out how to let stateless configuration work. My network is a university campus network,so I don't need tunnels. I think if…
5
votes
3 answers

Can I have native ipv6 communication?

I wonder if I can communicate via IPv6. I know this depends on the ISP. Is there any simple way how to deterimne if my ISP provides IPv6 connection or at least if my router provides this functionality? If there is not such possibility to use "real"…
Pavel S.
  • 2,116
4
votes
1 answer

I blacklisted IPv6. Want to undo

So, I followed this answer on this post and now I want to undo the changes. How do I even know something has changed? And if something changed, how would I undo it?
3
votes
0 answers

Disable IPV6 on Ubuntu 20.04 is broken

Settings - > Network - Wifi -> IPV6 -> DISABLE is not working how do I disable it? why is the network GUI broken?
3
votes
1 answer

commandline request to get ipv6 address as from test-ipv6.com

https://test-ipv6.com gives me an ipv6 address as: "Your IPv6 address on the public Internet appears to be 2604:...." How can I get that information through the commandline? For IPv4 I can do this : wget -qO- http://ipecho.net/plain and get…
2
votes
1 answer

Adding IPv6 address results in deactivated WIFI

I tried: auto wls3 iface wls3 inet manual iface wls3 inet6 auto iface wls3 inet6 static address new_static_ip netmask 64 gateway fe80::1 after a service network-manager restart wifi isn't working anymore. I want dhcp and static IPv6
1
vote
0 answers

Enable IPv6 on Ubuntu 18.04

I followed this tutorial (https://www.digitalocean.com/docs/networking/ipv6/how-to/enable/) to enable IPv6 on my existing Ubuntu 18.04.3 LTS Droplet on DigitalOcean. My server doesn’t have anything in /etc/netplan, so I followed instructions for…
JanezKranjski
  • 831
  • 7
  • 18
  • 36
1
vote
0 answers

Ubuntu 18.04 LTS need to stop ipv6 router solicitation

I have 2 lab systems that have no connection to the outside world. We don't have an ipv6 infrastructure in our lab. We have no need for ipv6. The machines are connected to three networks, one is a 1GbE network the other two are 10-GbE networks. Both…
1
vote
0 answers

Does Ubuntu support Mobile IPv6?

I have a network running IPv6 connected to the internet through a router running Ubuntu Server 14.04. My laptop running Ubuntu 14.04 can connect to this network using either Ethernet or WiFi which both work as intended. Occasionally the laptop is…
kasperd
  • 1,729
0
votes
1 answer

Why can't I disable IPv6 on Ubuntu 17.04?

I have disabled IPV6 but still see traffic from my Ubuntu 17.04 machine. $ cat /proc/sys/net/ipv6/conf/all/disable_ipv6 1 $ cat /etc/sysctl.conf |grep ipv6 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 =…
1
2