Skip to main content

Questions tagged [ipv6]

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

Filter by
Sorted by
Tagged with
138 votes
3 answers
349k views

How to disable IPv6 in Ubuntu 14.04?

I am using Ubuntu 14.04. And I have done the following to disable ipv6. I have open /etc/sysctl.conf using gedit and paste the following lines at the end of sysctl.conf. net.ipv6.conf.all....
A J's user avatar
  • 11.4k
90 votes
5 answers
115k views

apt-get update stuck: Connecting to security.ubuntu.com

When I run apt-get update on my machine it gets stuck at: 100% [Connecting to security.ubuntu.com (2001:67c:1562::15)] [Connecting to archive.canonical.com (2001:67c:1360:8c01::16)] I have made no ...
Pabi's user avatar
  • 7,379
80 votes
7 answers
227k views

How to disable IPv6 permanently?

How can we disable IPv6 system wide via terminal commands? I've read editing /etc/modprobe.d/aliases and replacing: alias net-pf-10 ipv6 with: alias net-pf-10 off alias ipv6 off Is this safe to ...
Tinfoilhats's user avatar
78 votes
1 answer
71k views

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@...
Stephen RC's user avatar
  • 4,832
37 votes
2 answers
62k views

How to make scp to use ipv6 addresses?

When I try to use scp over IPv6 addresses I get this: scp -6 osis@::1:/home/osis/test.file ./test.file ssh: Could not resolve hostname : Name or service not known With scp all I ever get is ssh: ...
Osis's user avatar
  • 723
33 votes
7 answers
77k views

How to disable IPv6 when connecting to an OpenVPN server using Network Manager on a dual-stack system?

I'm using the OpenVPN client through the OpenVPN Network Manager plugin on a dual stack (meaning configured both for IPv4 and IPv6 connectivity) Ubuntu 13.10 to redirect all traffic through the VPN (...
Damn Terminal's user avatar
27 votes
5 answers
113k views

How to disable IPv6 on Ubuntu?

I disabled IPv6 on an Ubuntu box which has ssh and rsync running. But both of these are still listening on an IPv6 address. How should I fix this? [email protected]:~# sysctl net.ipv6.conf.all....
ACC's user avatar
  • 389
26 votes
6 answers
82k views

IPv6 is working, but IPv4 isn't

I've got a new laptop running Ubuntu 16.04 that worked like a charm for a couple of weeks but has now lost its appetite for connecting to the internet via Wi-fi. I know it's not a problem with my ...
cjolley's user avatar
  • 797
22 votes
3 answers
82k views

How to dynamically enable and disable ipv6 on an interface

How to dynamically enable and disable IPv6 on an interface so that it gets link local address when enabled? I have tried: sysctl net.ipv6.conf.all.disable_ipv6=1 to disable IPv6 and sysctl net....
LxBgnr's user avatar
  • 221
19 votes
6 answers
56k views

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 ...
Grumbel's user avatar
  • 4,779
17 votes
3 answers
32k views

How to disable IPv6 on Windows Subsystem for Linux?

I tried to disable IPv6 by adding in /etc/sysctl.conf: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 and then running sudo sysctl -p to ...
Răzvan Flavius Panda's user avatar
16 votes
1 answer
23k views

Disable IPv6 on Ubuntu 20.04

Simple way that worked for a very long time was adding in /etc/sysctl.conf net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1 Afterwards ...
frank_108's user avatar
  • 291
16 votes
1 answer
2k views

Diskless Boot with IPv6

At our work we are using around 80 diskless machines running Ubuntu. We want to make the transition to IPv6, so now I'm trying to get our diskless system to work with IPV6. The transmission of the ...
moritz's user avatar
  • 171
15 votes
4 answers
41k views

How do I add an additional IPv6 address to /etc/network/interfaces?

this question How do I add an additional IP address to /etc/network/interfaces? mostly asks what i want except that i want to add more IPv6 addresses in the same interface eth0 without incrementing to ...
Skaperen's user avatar
  • 435
13 votes
3 answers
50k views

How to allow an IP (ipv6) address using ufw?

I'm using Ubuntu 16.04 LTS, and I want to block all connections except some IP addresses. I ran these commands ufw default allow outgoing ufw default deny incoming ufw allow ssh ufw enable ufw allow ...
Suraj Bharti's user avatar
12 votes
3 answers
54k views

Disabling IPv6 on a single interface

I'm slightly weirded out by the fact that Ubuntu won't process ipv4 DHCP unless you explicitly tell it to, but will happily take ipv6 RAs unless you tell it not to. Is there any way to change the ...
ijw's user avatar
  • 259
12 votes
4 answers
17k views

Disable ipv6 in Exim4

Exim4 has an option disable_ipv6=true. As great in many ways as Debian/Ubuntu's split configuration files for Exim4 may be, it makes it difficult sometimes to know where to put configuration options. ...
Dennis Williamson's user avatar
12 votes
2 answers
17k views

Hurricane IPv6 buffer space error

I am trying to set up a Hurricane IPv6 tunnel on my Ubuntu 11.10 computer. I have set up my /etc/network/interfaces file as stated on https://wiki.ubuntu.com/IPv6#Get_connected_with_Hurricane_Electric....
Aaron Hill's user avatar
  • 4,987
12 votes
2 answers
22k views

How to set up IPv6 with netplan on Ubuntu 18.04?

I purchased a dedicated server installed with Ubuntu 18.04 which was given an IPv6 Block. I used the guide How to set up IPv6 on Ubuntu 16.04 before. Since Ubuntu 18.04 uses netplan instead of /etc/...
Eleatmelon's user avatar
11 votes
3 answers
16k views

How do I get a stable IPv6 address in 16.04?

I have a domain name that points toward my home server. Under every Ubuntu release up through Wily, by default I had a stable EIU-64 address that I could use for my AAAA record. However, after ...
Chris Keller's user avatar
11 votes
2 answers
39k views

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 /...
user55807's user avatar
  • 111
11 votes
3 answers
37k views

How to remove the sit0 network interface?

when I type ifconfig -a, there is a sit0, why it is here, and how to delete it? sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 ...
Yishu Fang's user avatar
  • 2,495
11 votes
3 answers
50k views

Trying to enable IPv6 results in a "No route to host" error

I'm configuring a dual stack network on a KVM server using static IPv4 and IPv6 addresses furnished by my provider. I input all addresses, nameservers and gateways as required when installing Ubuntu. ...
Alessandro Menti's user avatar
11 votes
2 answers
19k views

Using IPv6 for SSH connections issues

I'm having issues understanding how to use the IPv6 protocol to connect to other computers over SSH. I tried just using the address provided from ifconfig but it doesn't seem to work, I keep getting ...
Matanya's user avatar
  • 382
11 votes
4 answers
15k views

How to make Ubuntu honor "ignore-hosts" proxy settings for IPv6?

I just typed under "dconf-editor", System → Proxy → ignore-hosts, the following content: ['localhost', '127.0.0.0/8', '::1', '192.168.0.1', '2000::/3', 'fc00::/8'] But, Google Chrome (and ...
ThiagoCMC's user avatar
  • 829
10 votes
5 answers
63k views

How to add two IPv6 dns-nameservers into /etc/network/interfaces?

With IPv4, I can add two DNS Name Servers without any problem, like this: "dns-nameservers 8.8.4.4 8.8.8.8" Then on my resolv.conf I got: nameserver 8.8.4.4 nameserver 8.8.8.8 BUT, ...
ThiagoCMC's user avatar
  • 829
10 votes
3 answers
6k views

ipv6 tunnel in Ubuntu 17.10?

I used to be able to do the configuration below with no issues in /etc/network/interfaces but now it's not picked up anymore. How do I configure a ipv6 tunnel now? I see see the new netplan software ...
Tek's user avatar
  • 348
10 votes
1 answer
2k views

RFC7217 (stable privacy addresses) implementation in Ubuntu 16.10

I'm the author of IETF RFC7217, and I'm trying to figure out whether Ubuntu 16.10 implement support for RFC7217. It seems that there is no support in the version of NetworkManager Ubuntu is using, or ...
Fernando Gont's user avatar
9 votes
3 answers
28k views

IPv6 does not work over bridge

I installed Ubuntu 14.04 server a week ago. I use it as a virtual machine host (tasksel installed). meaning am running it with kvm + libvirt. I have set up the same bridge I had in 13.10. auto p4p1 ...
Niklas Hagman's user avatar
9 votes
2 answers
33k views

Ipv6 - Connect : Network is unreachable

I've just created a virtual Ubuntu machine in VMWare Player but ipv6 is not working. When I try to ping Google with ping6 www.google.be I get connect: Network is unreachable When I use ...
user426862's user avatar
9 votes
2 answers
2k views

How to disable NAT for IPv6 (NAT66)?

The current Ubuntu LTS does not support NAT tables for IPv6 (i.e. there is no ip6tables -t nat), and I'm fine with that, in fact, a NAT-less environment is the "core" of my networks. But, the next ...
ThiagoCMC's user avatar
  • 829
9 votes
1 answer
4k views

Sysctl IPv6 disable autoconfig for all interfaces not working

I am trying to turn off IPv6 autoconfig for my all interfaces (I have 4). I want to use net.ipv6.conf.all.autoconf = 0 In the my sysctl config (under /etc/sysct.d) But the settings not applied for ...
Attila Kis's user avatar
8 votes
4 answers
66k views

Have to run sudo dhclient eth0 automatically every boot

I just installed ubuntu 12.04.1 alternative install (for raid 0 on some disks). I Have some problems with the net. I'm at school, we use cable, and it got IPv6. If I run ifconfig eth0 heres my output:...
Fyksen's user avatar
  • 293
8 votes
1 answer
1k views

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's user avatar
  • 6,763
7 votes
2 answers
14k views

Ubuntu Server 20.04 - Netplan configuration for dynamic IPv4 and static IPv6

TL;DR Does anyone have a working netplan configuration that sets a dynamic IPv4 and a static IPv6 under Ubuntu Server 20.04? What works My provider (OVH) gave me a server with this configuration in /...
yaap's user avatar
  • 311
7 votes
1 answer
5k views

failure to resolve DNS query using IPv6, e.g. host -6 gnu.org, dig -6 gnu.org

Why doesn't the default Ubuntu LTS install allow host -6 gnu.org or dig -6 gnu.org to work? Welcome to Ubuntu 22.04 LTS (GNU/Linux 5.15.0-27-generic x86_64) $ host -6 gnu.org ;; communications error ...
Ian D. Allen's user avatar
7 votes
2 answers
14k views

Format of IPv6 addresses in the netstat output

When I use netstat -n, it won't display the whole IPv6 addresses. The local ip address is in this format xxxx:xxxx:xxxx:xxxx:portNum, so just a part of the address is displayed. Also the foreign ...
sykatch's user avatar
  • 173
7 votes
4 answers
3k views

Can't browse IPv6 Websites

I am using 20.04 LTS, but suddenly I can't browse websites which has their IP addresses as IPv6, for example (hepsiburada.com). Even apt update command no longer works, because Launchpad is ...
Madno's user avatar
  • 175
7 votes
2 answers
12k views

18.04 - How to disable temporary/privacy IPv6 addresses?

I have 18.04 installed and I'm using it as jump box to reach other things. Some of the things I need to access are only reachable via IPv6 and expect me to connect from a specific IPv6 address so my ...
J Doe's user avatar
  • 71
7 votes
2 answers
11k views

How can I force WiFi connection to only use ipv4?

I have Broadcom bcm43224 wifi card with proprietary broadcom sta driver. At home wifi connection works well, but in the office when I ping some resource there is a lot of loss packets and I cant ...
krasilich's user avatar
  • 245
6 votes
3 answers
9k views

Why do the interfaces show ipv6 address along with ipv4

I have manually specified only ipv4 address for my interfaces. But all the interfaces automatically show inet6 address as well. Does it mean that ubuntu starts an ipv6 tunnel by default. If it does, ...
nixnotwin's user avatar
  • 5,043
6 votes
2 answers
19k views

IPv6 over PPPoe?

What is the best way to be able to get IPv6 addresses over PPPoe? I currently use NM-Applet to get internet service from my ISP, but it has no IPv6 tab on PPPOE connections. I wouldn't mind using ...
Azendale's user avatar
  • 11.9k
6 votes
2 answers
3k views

Why can't I ping over IPv6?

I can browse normally, I can create this question for example, apt update works fine, but when I was trying to install firebase using npm, I received a time out (npm ERR! network request to http://...
Felipe Cristiano's user avatar
6 votes
2 answers
43k views

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 ...
Allan Ruin's user avatar
6 votes
2 answers
4k views

20.04: Why does sysctl.conf fail to disable ipv6 on the main interface?

I am aware of the grub kernel params method but I'd like to understand why the sysctl approach is not working. On a 20.04 server if I add net.ipv6.conf.(all|default|lo).disable_ipv6=1 (presumably &...
stackblow's user avatar
  • 570
6 votes
1 answer
12k views

Restarting the IPv6 network stack without restarting the IPv4 network stack?

In Ubuntu I use SSH to log in to my webserver. The IPv4 side of things is configured and already works, I can log in from other machines. But I'd like to configure the IPv6 side of things while I'm ...
leeand00's user avatar
  • 786
6 votes
3 answers
530 views

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 ...
augustin's user avatar
  • 511
6 votes
0 answers
3k views

How to use "docker.io" containers in Ubuntu 14.04 with IPv6? [closed]

I'm trying this: At the physical host with Ubuntu 14.04 (container's gateway for both IPv6 and IPv4), I tried: root@docker-srv-1:~# ip -6 a a 2804:XXX:4:acbd::1/64 dev docker0 Of course, host ...
ThiagoCMC's user avatar
  • 829
5 votes
1 answer
3k views

netplan gateway6 seems to have no effect

I'm trying to configure static IPv6 with netplan on a cloud server (public cloud from OVH) running Ubuntu 18.04 I have created a /etc/netplan/66-ipv6.yaml yaml file in addition to the existing /etc/...
duch's user avatar
  • 53
5 votes
3 answers
512 views

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?...
Pavel S.'s user avatar
  • 2,126

1
2 3 4 5
8