Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-19 Thread Jean-Michel Pouré - GOOZE
Le mercredi 19 août 2015 à 11:27 +0200, Jean-Michel Pouré - GOOZE a écrit : > > It is not possible, DHCPv6 doesn't carry routes. So you still need > > RAs even with ra_management set to 2. Please don't reply on the devel list. My messages are becoming messy and fill the list. Just use this ticke

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-19 Thread Jean-Michel Pouré - GOOZE
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. Sorry for this garbage, I just resend my email : I spotted a problem with ra_management = 2 First configuration: stateful only

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-19 Thread Jean-Michel Pouré - GOOZE
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 routa

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-18 Thread Steven Barth
> Thanks ! I could update my docs and add acknowledgment for your kind > help.http://wiki.openwrt.org/doc/howto/freebox?&#acknowledgmentsremerciements > The only missing part in stateful only configuration is the the default IPv6 > gateway fe80::5642:49ff:fe87: on local network. > Do you kno

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-18 Thread Jean-Michel Pouré - GOOZE
Le mardi 18 août 2015 à 13:49 +0200, Steven Barth a écrit : > Where you have option dhcpv6 and option ra you can add an option > ra_management > and set it to 0, 1 or 2. > > 0 means stateless only, > 1 means stateless + stateful (default) > 2 means stateful only > > Please note that stateful is

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-18 Thread Steven Barth
> I could solve all issues and write a complete HOWTO (in French only at > first).http://wiki.openwrt.org/doc/howto/freebox That is nice to hear. > OpenWRT seems to provide at the same time stateful and stateless > adressing. Where you have option dhcpv6 and option ra you can add an option ra_

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-18 Thread Jean-Michel Pouré - GOOZE
Le lundi 17 août 2015 à 20:32 +0200, Steven Barth a écrit : > is clearly a stateful address (/128) and your host got the host-id > 953 for stateful adressing. You should see the lease on the router > in the WebUi or under /tmp/hosts/odhcpd. There you can also see the > duid you need for adding the

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
> Okay, I got it, it works using 8 digits:0008 I am still having difficulties setting IPv6 gateway using DHCP only. If using SLAAC, routes will propagate very well, but I end-up with several IPv6. I don't want any derived IPv6 from MAC. The client IP is 2a01:e35:87d8::::. The c

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Stefan Lippers-Hollmann
Hi On 2015-08-17, Jean-Michel Pouré - GOOZE wrote: > Dear Steven, > > Thanks for this kind response. > > > " addr inet6: 2a01:e35:87d8:::953/128 Scope:Global" > > OK, I cannot find the lease in Luci, but here is /tmp/hosts/odhcpd LuCI should show it on Status/ Overview, quite to the bottom

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Le lundi 17 août 2015 à 20:32 +0200, Steven Barth a écrit : > config host > option duid '0012345678900...' > option hostid 4 Okay, I got it, it works using 8 digits:0008 Will add it to the HOWTO and try to make a special howto on ipv6 delegation sooner. Kind regards,Jean-Miche

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Dear Steven, Thanks for this kind response. > " addr inet6: 2a01:e35:87d8:::953/128 Scope:Global" OK, I cannot find the lease in Luci, but here is /tmp/hosts/odhcpd # br-lan 0004901071a15f278795aa0dd83bde8b 49874f74 - 1439881026 953 128 2a01:e35:87d8:::953/128 Is my duid 0004901071a

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Steven Barth
Hello Jean-Michel, according to your Wiki-Entry stateful addressing does work, no need to do anything with dnsmasq. Quoting your ifconfig output " addr inet6: 2a01:e35:87d8:::953/128 Scope:Global" is clearly a stateful address (/128) and your host got the host-id 953 for stateful adressing.

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Dear Steven, Thank you for answering. > I'm not sure what you are trying to accomplish. If you are connecting > a router with a default > OpenWrt image with default configuration to an ISP or IPv6 router > which offers prefix delegation, > everything works out of the box including client config

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Steven Barth
I'm not sure what you are trying to accomplish. If you are connecting a router with a default OpenWrt image with default configuration to an ISP or IPv6 router which offers prefix delegation, everything works out of the box including client configuration. You don't need to touch a single config

[OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-15 Thread Jean-Michel Pouré - GOOZE
Dear all, I currently writting a HOWTO for French Freebox users. http://wiki.openwrt.org/doc/howto/freebox We can obtain IPv6 address delegation an configure clients IPv6 staticly. We are using OpenWRT staging (latest dev). What is the recommended way to serve ipv6 IPs to clients? I need to serv