[OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq
Jean-Michel Pouré - GOOZE
jmpoure at gooze.eu
Wed Aug 19 04:53:50 EDT 2015
Le mardi 18 août 2015 à 18:30 +0200, Steven Barth a écrit :
> It is not possible, DHCPv6 doesn't carry routes. So you still need
> RAs even with ra_management set to 2.
I spotted a problem with ra_management = 2
First configuration: stateful only configuration/sbin/route -A inet6 Table de routage IPv6 du noyauDestination Next Hop Flag Met Ref Use If2a01:e35:xxxx:xxxx::3/128 :: U 256 0 0 eth0fe80::/64 :: U 256 1 4 eth0::/0 :: !n -1 1 11892 lo::1/128 :: Un 0 11 101 lo2a01:e35:xxxx:xxxx::3/128 :: Un 0 1 15 lofe80::5642:49ff:xxxx:xxxx/128 :: Un 0 1 39 loff00::/8 :: U 256 3 0 eth0::/0 :: !n -1 1 11892 lo
There is no unique gateway (no Next Hop for ::/0).The unique gateway should be the local address of the OpenWRT gateway.As a result, ping6 does not work (network unreachable).
Second configuration: static IPv6 configurationIf i set the IPv6 staticly with correct gateway, the routing table becomes:/sbin/route -A inet6 Table de routage IPv6 du noyauDestination Next Hop Flag Met Ref Use If2a01:e35:xxxx:xxxx::7/128 :: U 256 0 0 eth0fe80::ea94:f6ff:xxxx:xxxx/128 :: U 100 0 3 eth0fe80::/64 :: U 256 0 0 eth0::/0 fe80::ea94:f6ff:xxxx:xxxx UG 100 7 0 eth0::/0 :: !n -1 1 11937 lo::1/128 :: Un 0 11 107 lo2a01:e35:xxxx:xxxx::7/128 :: Un 0 1 38 lofe80::5642:49ff:xxxx:xxxx/128 :: Un 0 1 9 loff00::/8 :: U 256 2 0 eth0::/0 :: !n -1 1 11937 lo
fe80::ea94:f6ff:xxxx:xxx is the correct UG. ping6 works.
To me, it seems that when using stateful only configuration, IPv6 gateway is not broadcasted. How can this be configured/fixed?
The best would be IMHO to broadcast IPv6 gateway along with dhcp:config host option name 'sony-vaio' option ip '192.168.1.xxx' option mac '54:42:49:xx:xx:xx' option duid '0004901071a15f278795aa0ddxxxxxxxxxxx' option hostid '3' => option gateway 'fe80::ea94:f6ff:xxxx:xxxx'???
What do you think? Do you know a workaround? Shall I open a bug/feature report?
Kind regards,Gnutella
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5640 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150819/c29f3f16/attachment.bin>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list