<br><br><div class="gmail_quote">On Sun, Jan 27, 2013 at 3:35 AM, Török Edwin <span dir="ltr"><<a href="mailto:edwin+ml-cerowrt@etorok.net" target="_blank">edwin+ml-cerowrt@etorok.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 01/27/2013 01:25 PM, Dave Taht wrote:<br>
<div class="im">><br>
><br>
> On Sun, Jan 27, 2013 at 12:46 AM, Török Edwin <<a href="mailto:edwin%2Bml-cerowrt@etorok.net">edwin+ml-cerowrt@etorok.net</a> <mailto:<a href="mailto:edwin%2Bml-cerowrt@etorok.net">edwin+ml-cerowrt@etorok.net</a>>> wrote:<br>
><br>
> On 01/27/2013 06:17 AM, Richard E. Brown wrote:<br>
> > Thanks to Dave Täht and Robert Bradley for the pointers to making CeroWrt 3.7.x hand out IPv6 addresses to LAN devices. (This has been tested with 3.7.4-2.) The process is indeed a few simple<br>
> steps:<br>
> ><br>
> > 1) remove dnsmasq & dnsmasq-dhcpv6, then install again (see Dave Täht's note below)<br>
> > 2) Add config to /etc/dnsmasq.conf to hand out DHCPv6 addresses (as suggested by Robert Bradley)<br>
><br>
> Yep, that sounds like what I've done too.<br>
><br>
><br>
><br>
> I have incorporated these changes (aside from the he specific config) into the next build of cero. (which has dnsmasq 2.66 test12 in it.<br>
><br>
> Thx everyone for tracking this down.<br>
><br>
> Incidentally, how do I get dnsmasq to hand out more than one dns server to clients? I'd like it to<br>
> do so - one for ipv6 and for ipv4, or 2 for ipv4, etc.<br>
><br>
> What happens now is you can configure dnsmasq to talk to tons of dns servers but it only hands out itself. Given the timeouts in DNS and so on it seems saner to hand out two, or more, to clients, as<br>
> per the RFC (if you have two or more)<br>
><br>
> Another place I was stuck was on getting dhcpv6-pd to work. I'd setup an isc-dhcp server as a test (on a laptop, pretending to be the master box)<br>
> and I could see it handing out a /56 prefix, as configured, but only the external ge00 address would be configured. What seemed to be happening was bombing out in the netifd script not putting in the<br>
> ".ge00" interface into a ubus function call. It was also only distributing a /128 to clients...<br>
<br>
</div>dhcpv6-pd works with pppoe for me.<br>
I have this in /etc/config/network which is pretty much the default, except se00 is the only one with ip6assign:<br>
<br>
config interface 'ge01'<br>
option ifname '@ge00'<br>
option proto 'dhcpv6'<br>
option broadcast '1'<br>
option metric '2048'<br>
option reqprefix 'auto'<br></blockquote><div><br>This is the only difference betwen your setup<br>and mine, in that I was specifically requesting a 60 rather than "auto". <br><br>I'll try it.<br>
<br>Still unintegrated at present is the p2p ipv6 ahcp/mesh networking support for ipv6, which is a shame because it used to be easier than all the other interfaces.<br><br>What needs to happen there is that all the ahcp meshy interfaces (gw11 and gw01) need to get the same /128 prefix and ahcp server handed a /64 pool to deal with...<br>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
config interface 'se00'<br>
option ifname 'se00'<br>
option proto 'static'<br>
option ipaddr '172.30.42.1'<br>
option netmask '255.255.255.224'<br>
option ip6assign '64'<br>
<br>
What happens then is that se00 gets the delegated /64 prefix directly, and only that:<br>
2: se00: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000<br>
inet6 2a02:2f02:1022:a2eb::1/64 scope global<br>
valid_lft forever preferred_lft forever<br>
inet6 fe80::c43d:c7ff:fe97:8050/64 scope link<br>
<br></blockquote><div><br>However, I will argue this is wrong, and the lifetimes should match whatever was handed to you from upstream.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
With the default configuration I noticed something similar to you: only a /128 assigned, but I thought thats because<br>
I only get a /64 to begin with.<br>
<div class="im"><br></div></blockquote><div><br>Well, on a shared network it should be part of the local /64...<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
><br>
> Perhaps now that this other stuff is correct, that will work. I will try it in the morning.<br>
><br>
> this was how I'd setup the "dhcpv6 server"'s /etc/dhcp/dhcpd.conf<br>
><br>
> subnet6 2001:db8:0:1::/64 {<br>
> # Range for clients<br>
> range6 2001:db8:0:1::129 2001:db8:0:1::254;<br>
> # Additional options<br>
> option dhcp6.name-servers 2001:db8:0:1::1;<br>
</div>> option dhcp6.domain-search "<a href="http://cerowrt.org" target="_blank">cerowrt.org</a> <<a href="http://cerowrt.org" target="_blank">http://cerowrt.org</a>>";<br>
<div class="im">> # Prefix range for delegation to sub-routers<br>
> prefix6 2001:db8:0:100:: 2001:db8:0:f00:: /56;<br>
> # Example for a fixed host address<br>
> host specialclient {<br>
> host-identifier option dhcp6.client-id 00:01:00:01:4a:1f:ba:e3:60:b9:1f:01:23:45;<br>
> fixed-address6 2001:db8:0:1::127;<br>
> }<br>
> }<br>
><br>
> I think the last unaligned_instruction trap is dead.<br>
><br>
> Lastly, there is another nifty new feature of dnsmasq - secondary domain updates. I have no idea how to get that going...<br>
><br>
><br>
> > 3) Tweak the firewall to put henet 6in4 tunnel into WAN zone<br>
> > 3) Bring up henet and restart network, firewall, dnsmasq<br>
><br>
> Not related to ipv6, but if you want a ntp server for your LAN you have to do this:<br>
> # opkg remove luci-app-ntpc<br>
> # opkg remove ntpclient<br>
> # killall ntpclient<br>
> # uci set system.ntp.enable_server 1<br>
> # uci commit system<br>
> # /etc/init.d/sysntpd restart<br>
><br>
><br>
> This is an artifact of formerly using the isc ntp server in cero (for the multicast, and autokey support, as well as for the possible linkage to the gpsd daemon for a 1pps signal) At some future point<br>
> I'd like to make this work again (because testing against a stratum 1 clock like what gpsd can do has long been on my list of worthwhile things to do), but I have no problem with using the well<br>
> integrated smaller default ntp server in openwrt. (well, I'd like it to do ipv6, too)<br>
><br>
> I have made these two packages optional and enabled the local ntp server.<br>
><br>
> Still up here, no matter what ntp client/server is used is some means of doing dnssec again.<br>
<br>
</div>Does dnsmasq support that?<br>
<br></blockquote><div><br>partial dnssec support is in a branch of dnsmasq. simon is seeking funding to complete it.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Best regards,<br>
--Edwin<br>
</blockquote></div><br><br clear="all"><br>-- <br>Dave Täht<br><br>Fixing bufferbloat with cerowrt: <a href="http://www.teklibre.com/cerowrt/subscribe.html" target="_blank">http://www.teklibre.com/cerowrt/subscribe.html</a>