When I use stock Linksys firmware on my router, my networked devices properly use IPv4 only to access the Internet.
When I use OpenWRT 15.05.1, the devices try to connect to various sites using IPv6 addresses, which would be great if my ISP provided IPv6 service, which it doesn't.
I've tried a few things which haven't worked: turning off DHCPv6, disabling the DNS caching of dnsmasq, setting dnsmasq's DHCP server to provide a static DNS server address (8.8.8.8
), and setting OpenWRT's internal DNS server setting to use that DNS server.
How do I get OpenWRT to stop telling devices that it's OK to use IPv6?
Results of commands on one of the networked devices
The results of ip addr
are:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp6s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1a:80:7a:4e:47 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.107/24 brd 192.168.1.255 scope global dynamic enp6s0
valid_lft 42521sec preferred_lft 42521sec
inet6 fd7f:77c6:629f::9e8/128 scope global
valid_lft forever preferred_lft forever
inet6 fd7f:77c6:629f::4e3/128 scope global
valid_lft forever preferred_lft forever
inet6 fd7f:77c6:629f:0:21a:80ff:fe7a:4e47/64 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::21a:80ff:fe7a:4e47/64 scope link
valid_lft forever preferred_lft forever
3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:1d:e0:44:04:57 brd ff:ff:ff:ff:ff:ff
The results of route -6
are:
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If
fd7f:77c6:629f::4e3/128 :: U 256 0 0 enp6s0
fd7f:77c6:629f::9e8/128 :: U 256 0 0 enp6s0
fd7f:77c6:629f::/64 :: U 100 1 3 enp6s0
fd7f:77c6:629f::/48 fe80::c256:27ff:fe77:37a7 UG 100 0 0 enp6s0
fe80::/64 :: U 256 2 10 enp6s0
::/0 :: !n -1 1 729 lo
::1/128 :: Un 0 3 6 lo
fd7f:77c6:629f::4e3/128 :: Un 0 1 0 lo
fd7f:77c6:629f::9e8/128 :: Un 0 1 0 lo
fd7f:77c6:629f:0:21a:80ff:fe7a:4e47/128 :: Un 0 2 3 lo
fe80::21a:80ff:fe7a:4e47/128 :: Un 0 2 30 lo
ff00::/8 :: U 256 2 67 enp6s0
::/0 :: !n -1 1 729 lo
The results of both ping6 google.com
and ping6 2607:f8b0:4008:808::200e
are:
connect: Network is unreachable
ip addr
on one of the client machines and include the output in the question.