shell@hammerhead:/ $ su
su
root@hammerhead:/ # echo 0 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
echo 0 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
root@hammerhead:/ # ip a | grep wlan -A10
ip a | grep wlan -A10
21: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether c4:9a:02:8b:7b:76 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.60/24 brd 192.168.1.255 scope global wlan0
    inet6 2a02:8070:b288:4700:5c58:16af:c495:1222/64 scope global temporary dynamic
       valid_lft 604744sec preferred_lft 85744sec
    inet6 2a02:8070:b288:4700:c69a:2ff:fe8b:7b76/64 scope global dynamic
       valid_lft 1027189sec preferred_lft 422389sec
    inet6 fe80::c69a:2ff:fe8b:7b76/64 scope link
       valid_lft forever preferred_lft forever
root@hammerhead:/ # time ping -c1 $RANDOM-v4.metric.gstatic.com
time ping -c1 $RANDOM-v4.metric.gstatic.com
PING 2665-v4.metric.gstatic.com (173.194.112.164) 56(84) bytes of data.
64 bytes from fra07s32-in-f4.1e100.net (173.194.112.164): icmp_seq=1 ttl=55 time=23.1 ms

--- 2665-v4.metric.gstatic.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 23.100/23.100/23.100/0.000 ms
    0m0.12s real     0m0.01s user     0m0.01s system
root@hammerhead:/ # time ping -c1 $RANDOM-v4.metric.gstatic.com
time ping -c1 $RANDOM-v4.metric.gstatic.com
PING 15808-v4.metric.gstatic.com (173.194.112.174) 56(84) bytes of data.
64 bytes from fra07s32-in-f14.1e100.net (173.194.112.174): icmp_seq=1 ttl=57 time=20.8 ms

--- 15808-v4.metric.gstatic.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 20.851/20.851/20.851/0.000 ms
    0m0.09s real     0m0.00s user     0m0.00s system
root@hammerhead:/ # time ping -c1 $RANDOM-v4.metric.gstatic.com
time ping -c1 $RANDOM-v4.metric.gstatic.com
PING 31663-v4.metric.gstatic.com (173.194.112.164) 56(84) bytes of data.
64 bytes from fra07s32-in-f4.1e100.net (173.194.112.164): icmp_seq=1 ttl=55 time=18.2 ms

--- 31663-v4.metric.gstatic.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 18.299/18.299/18.299/0.000 ms
    0m0.09s real     0m0.00s user     0m0.03s system
root@hammerhead:/ # time ping -c1 $RANDOM-v4.metric.gstatic.com
time ping -c1 $RANDOM-v4.metric.gstatic.com
PING 6486-v4.metric.gstatic.com (173.194.112.160) 56(84) bytes of data.
64 bytes from fra07s32-in-f0.1e100.net (173.194.112.160): icmp_seq=1 ttl=57 time=21.4 ms

--- 6486-v4.metric.gstatic.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 21.476/21.476/21.476/0.000 ms
    0m0.18s real     0m0.02s user     0m0.00s system
root@hammerhead:/ # ping6 -c1 ipv4.google.com
ping6 -c1 ipv4.google.com
unknown host
2|root@hammerhead:/ # ping6 -c1 ipv6.google.com
ping6 -c1 ipv6.google.com
PING ipv6.google.com(fra07s27-in-x03.1e100.net) 56 data bytes
64 bytes from fra07s27-in-x03.1e100.net: icmp_seq=1 ttl=57 time=19.1 ms

--- ipv6.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 19.103/19.103/19.103/0.000 ms
root@hammerhead:/ # ping -c1 ipv4.google.com
ping -c1 ipv4.google.com
PING ipv4.l.google.com (173.194.112.7) 56(84) bytes of data.
64 bytes from fra07s27-in-f7.1e100.net (173.194.112.7): icmp_seq=1 ttl=55 time=35.6 ms

--- ipv4.l.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 35.625/35.625/35.625/0.000 ms
root@hammerhead:/ # ping -c1 ipv6.google.com
ping -c1 ipv6.google.com
ping: unknown host ipv6.google.com

2|root@hammerhead:/ # echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
root@hammerhead:/ # ip a | grep wlan -A10
ip a | grep wlan -A10
21: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether c4:9a:02:8b:7b:76 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.60/24 brd 192.168.1.255 scope global wlan0
root@hammerhead:/ # time ping -c1 $RANDOM-v4.metric.gstatic.com
time ping -c1 $RANDOM-v4.metric.gstatic.com
PING 19984-v4.metric.gstatic.com (173.194.116.110) 56(84) bytes of data.
64 bytes from fra02s27-in-f14.1e100.net (173.194.116.110): icmp_seq=1 ttl=55 time=28.1 ms

--- 19984-v4.metric.gstatic.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 28.190/28.190/28.190/0.000 ms
    0m0.11s real     0m0.00s user     0m0.02s system
root@hammerhead:/ # time ping -c1 $RANDOM-v4.metric.gstatic.com
time ping -c1 $RANDOM-v4.metric.gstatic.com
PING 21985-v4.metric.gstatic.com (173.194.116.98) 56(84) bytes of data.
64 bytes from fra02s27-in-f2.1e100.net (173.194.116.98): icmp_seq=1 ttl=57 time=19.7 ms

--- 21985-v4.metric.gstatic.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 19.776/19.776/19.776/0.000 ms
    0m0.12s real     0m0.02s user     0m0.00s system
root@hammerhead:/ # time ping -c1 $RANDOM-v4.metric.gstatic.com
time ping -c1 $RANDOM-v4.metric.gstatic.com
PING 1710-v4.metric.gstatic.com (173.194.116.96) 56(84) bytes of data.
64 bytes from fra02s27-in-f0.1e100.net (173.194.116.96): icmp_seq=1 ttl=55 time=19.6 ms

--- 1710-v4.metric.gstatic.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 19.606/19.606/19.606/0.000 ms
    0m0.10s real     0m0.00s user     0m0.03s system
root@hammerhead:/ # time ping -c1 $RANDOM-v4.metric.gstatic.com
time ping -c1 $RANDOM-v4.metric.gstatic.com
PING 28204-v4.metric.gstatic.com (173.194.116.97) 56(84) bytes of data.
64 bytes from fra02s27-in-f1.1e100.net (173.194.116.97): icmp_seq=1 ttl=55 time=18.0 ms

--- 28204-v4.metric.gstatic.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 18.025/18.025/18.025/0.000 ms
    0m0.10s real     0m0.00s user     0m0.02s system
root@hammerhead:/ # ping6 -c1 ipv4.google.com
ping6 -c1 ipv4.google.com
unknown host
2|root@hammerhead:/ # ping6 -c1 ipv6.google.com
ping6 -c1 ipv6.google.com
connect: Network is unreachable
2|root@hammerhead:/ # ping -c1 ipv4.google.com
ping -c1 ipv4.google.com
PING ipv4.l.google.com (173.194.116.104) 56(84) bytes of data.
64 bytes from fra02s27-in-f8.1e100.net (173.194.116.104): icmp_seq=1 ttl=57 time=19.0 ms

--- ipv4.l.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 19.088/19.088/19.088/0.000 ms
root@hammerhead:/ # ping -c1 ipv6.google.com
ping -c1 ipv6.google.com
ping: unknown host ipv6.google.com
2|root@hammerhead:/ #