Skip to content

Instantly share code, notes, and snippets.

@ciastek
Created July 2, 2014 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ciastek/b9d64d31bf473b2aaf77 to your computer and use it in GitHub Desktop.
Save ciastek/b9d64d31bf473b2aaf77 to your computer and use it in GitHub Desktop.
Ubuntu 14.04, IPv6
vagrant@ubuntu:~$ curl --head github.com
curl: (6) Could not resolve host: github.com
vagrant@ubuntu:~$ curl --head --ipv4 github.com
HTTP/1.1 301 Moved Permanently
(...)
vagrant@ubuntu:~$ sudo sysctl -p
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
vagrant@ubuntu:~$ ip addr
(...)
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 08:00:27:1a:ef:11 brd ff:ff:ff:ff:ff:ff
inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
valid_lft forever preferred_lft forever
(...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment