Created
July 2, 2014 09:06
-
-
Save ciastek/b9d64d31bf473b2aaf77 to your computer and use it in GitHub Desktop.
Ubuntu 14.04, IPv6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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