Hello world! I can't get IPv6 working with dnsmasq. My ISP supports IPv6 "natively", but when I run 'ping6 -c 1 google.com' on a client, I get "Network unreachable". When I ping a host that's IPv4-only, the message becomes "unknown host". My router (with dnsmasq atop) sits between the modem and the rest of the network.
I do see some DNS queries (see below) logged from the pings (I assume) I just mentioned, but I'm not sure what to make of these logs since I don't know how healthy ones look. 'ifconfig' shows one IPv6 address (for that particular network interface), and it starts with f80::. Not terribly useful. Many thanks, Nickolai Dobrynin ############### # dnsmasq.conf: ############### interface=wlp2s0 domain-needed bogus-priv expand-hosts # Assign names based on mac address: dhcp-host=00:1e:68:c2:ff:ee,endor,192.168.0.54,24h # Any other DHCP request gets an ip from this range: dhcp-range=2001:db8:81:e2::,ra-only,infinite dhcp-range=192.168.0.100,192.168.0.250,12h ############### # dnsmasq.log: ############### Sep 16 15:18:09 dnsmasq[2583]: started, version 2.72 cachesize 150 Sep 16 15:18:09 dnsmasq[2583]: compile time options: IPv6 GNU-getopt no-DBus i18n IDN DHCP DHCPv6 no-scripts no-TFTP no-conntrack ipset no-auth no-DNSSEC loop-detect Sep 16 15:18:09 dnsmasq-dhcp[2583]: DHCP, IP range 192.168.0.100 -- 192.168.0.250, lease time 12h Sep 16 15:18:09 dnsmasq-dhcp[2583]: router advertisement on 2001:db8:81:e2:: Sep 16 15:18:09 dnsmasq[2583]: reading /etc/resolv.conf Sep 16 15:18:09 dnsmasq[2583]: ignoring nameserver 127.0.0.1 - local interface Sep 16 15:18:09 dnsmasq[2583]: using nameserver 192.168.2.1#53 Sep 16 15:18:09 dnsmasq[2583]: read /etc/hosts - 2 addresses Sep 16 15:18:47 dnsmasq-dhcp[2583]: DHCPREQUEST(wlp2s0) 192.168.0.136 00:1d:87:7e:56:c6 Sep 16 15:18:47 dnsmasq-dhcp[2583]: DHCPACK(wlp2s0) 192.168.0.136 00:1d:87:7e:56:c6 myhostname # Some irrelevant stuff removed. Sep 16 15:18:48 dnsmasq-dhcp[2583]: RTR-SOLICIT(wlp2s0) Sep 16 15:18:52 dnsmasq-dhcp[2583]: RTR-SOLICIT(wlp2s0) Sep 16 15:18:56 dnsmasq-dhcp[2583]: RTR-SOLICIT(wlp2s0) # Some irrelevant stuff removed. Sep 16 15:21:02 dnsmasq[2583]: query[AAAA] google.com from 192.168.0.136 Sep 16 15:21:02 dnsmasq[2583]: forwarded google.com to 192.168.2.1 Sep 16 15:21:02 dnsmasq[2583]: reply google.com is 2a00:1450:4005:800::1002 Sep 16 15:21:26 dnsmasq[2583]: query[AAAA] google.com from 192.168.0.136 Sep 16 15:21:26 dnsmasq[2583]: forwarded google.com to 192.168.2.1 Sep 16 15:21:26 dnsmasq[2583]: reply google.com is 2a00:1450:4005:800::1008 Sep 16 15:22:23 dnsmasq[2583]: query[AAAA] google.com from 192.168.0.136 Sep 16 15:22:23 dnsmasq[2583]: cached google.com is 2a00:1450:4005:800::1008 Sep 16 15:22:36 dnsmasq[2583]: query[AAAA] google.com from 192.168.0.136 Sep 16 15:22:36 dnsmasq[2583]: cached google.com is 2a00:1450:4005:800::1008 Sep 16 15:23:06 dnsmasq[2583]: exiting on receipt of SIGTERM ############### # Network: ############### config_enp1s10="dhcp" config_enp3s0="dhcp" config_wlp2s0="192.168.0.1/24 brd 192.168.0.255" modules_wlp2s0="!iw !wpa_supplicant" ############### # ip6tables-save ############### # Generated by ip6tables-save v1.4.21 on Mon Sep 14 22:04:17 2015 *mangle :PREROUTING ACCEPT [622:48036] :INPUT ACCEPT [595:46068] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [176:20477] :POSTROUTING ACCEPT [194:21821] COMMIT # Completed on Mon Sep 14 22:04:17 2015 # Generated by ip6tables-save v1.4.21 on Mon Sep 14 22:04:17 2015 *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [176:20477] :TCP - [0:0] :UDP - [0:0] -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -m conntrack --ctstate INVALID -j DROP -A INPUT -s fe80::/10 -p ipv6-icmp -j ACCEPT -A INPUT -p udp -m conntrack --ctstate NEW -j UDP -A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -m conntrack --ctstate NEW -j TCP -A INPUT -p udp -j REJECT --reject-with icmp6-port-unreachable -A INPUT -p tcp -j REJECT --reject-with tcp-reset -A FORWARD -i wlp2s0 -j ACCEPT -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT COMMIT # Completed on Mon Sep 14 22:04:17 2015 ############### # sysctl.conf ############### #.............. net.ipv6.conf.all.forwarding=1 #.............. _______________________________________________ Dnsmasq-discuss mailing list [email protected] http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
