From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f42.google.com (mail-oa0-f42.google.com [209.85.219.42]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id A9F2621F0BA for ; Tue, 22 Jan 2013 14:19:05 -0800 (PST) Received: by mail-oa0-f42.google.com with SMTP id j1so7859450oag.15 for ; Tue, 22 Jan 2013 14:19:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=7AciN65XSGWf/IZEt3t/6pVwmiICZTH2ZSAetAWYxuY=; b=C3V7JN9gSkDZ0099XgFxAaY2rSqake5qybpsi005CKCpmLGTqtgVYSTYRNEln5G8O6 X+QbBO8rp16kHNRyAbruNBsRxrwXX2nDbAXyMWWDNaUmV9rfnd/rYZ3Jd8lJ+hvD44Fy 5DHd1i0CrnKVIhy0P2mCUUKZqSbSDIIrF5IJY8HFDdTvpwcVzyCo+hEv7Iiv5WSOlJCy mVSroXJSXHcrz3QAR12uKePojMjgoM1K4XpXY+Fw5J+8V8Xbn8IKazLI/9jmUtmmEJ9X RN3QAfORuTjHITg9OQaYXYwlBXkoNlR6kgIOWNBvwEt8WFvY4KDAIsxnaRGuDETzFHhz 2cpQ== MIME-Version: 1.0 X-Received: by 10.60.11.130 with SMTP id q2mr18042995oeb.141.1358893144657; Tue, 22 Jan 2013 14:19:04 -0800 (PST) Received: by 10.76.82.73 with HTTP; Tue, 22 Jan 2013 14:19:04 -0800 (PST) X-Originating-IP: [77.65.47.165] In-Reply-To: References: Date: Tue, 22 Jan 2013 23:19:04 +0100 Message-ID: From: Maciej Soltysiak To: Chris Lawrence Content-Type: multipart/alternative; boundary=e89a8fb203a02cd0a804d3e7f74c X-Gm-Message-State: ALoCoQl8s4Ta1eS/sCNk9fnr7WcXyykH5se/TFJvvfhZPNJX4R5rlsZ5I8FPxmYYyZP9G4suH/nv Cc: "" Subject: Re: [Cerowrt-devel] dnsmasq ipv6 stuff X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2013 22:19:07 -0000 --e89a8fb203a02cd0a804d3e7f74c Content-Type: text/plain; charset=UTF-8 Something doesn't add up for me. Editing /etc/dnsmasq.conf and restarting yields a process: /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf Now, /var/etc/dnsmasq.conf, being compiled from /etc/config/dhcp doesn't seem to have the settings from /etc/dnsmasq.conf Also, things like ra-names in /etc/dnsmasq.conf doesn't seem to add --enable-ra to runtime options. Am I wrong in thinking that /etc/dnsmasq.conf, although is pared during /etc/init.d/dnsmasq restart, does not get you control over options of the final dnsmasq process? Regards, Maciej On Tue, Jan 22, 2013 at 7:52 PM, Chris Lawrence wrote: > On Tue, Jan 22, 2013 at 1:40 AM, Dave Taht wrote: > > I think that's this in /etc/dnsmasq.conf > > > > dhcp-range=se00,1234::, ra-stateless, ra-names > > dhcp-range=sw00,1234::, ra-stateless, ra-names > > dhcp-range=sw10,1234::, ra-stateless, ra-names > > dhcp-range=gw00,1234::, ra-stateless, ra-names > > dhcp-range=gw10,1234::, ra-stateless, ra-names > > > > It's kind of unclear to me what 1234 could be replaced with. > > "ce30" works for me... > > Using ::1 on each will autoassign the addresses based on the address > of the interface, which seems like a sensible default no matter what > network address you have. Having said that I found that with > ra-stateless enabled, at least one device on my network would send > DHCPv6 requests that crashed dnsmasq. So I have: > > dhcp-range=::1,constructor:se00,ra-names > (etc.) > > I think with test11 that can be further simplified to: > > dhcp-range=::1,constructor:*,ra-names > > This uses SLAAC only, which seems sufficient for my network purposes. > I tried adding an end to the range to see if that was the problem with > DHCP, but that doesn't seem to help, at least in test10. > > The other thing I noticed in 3.7.2-4 is that both dnsmasq and > dnsmasq-dhcpv6 are installed, but the dnsmasq binary is actually the > non-v6 version unless you reinstall the dnsmasq-dhcpv6 package > (according to upstream OpenWRT, only one or the other should be > installed since they conflict). > > > Chris > _______________________________________________ > Cerowrt-devel mailing list > Cerowrt-devel@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/cerowrt-devel > --e89a8fb203a02cd0a804d3e7f74c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Something doesn't add up for me. Editing /etc/dnsmasq.conf and restarti= ng yields a process:

/usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf
<= br>Now, /var/etc/dnsmasq.conf, being compiled from /etc/config/dhcp doesn&#= 39;t seem to have the settings from /etc/dnsmasq.conf
Also, things like ra-names in /etc/dnsmasq.conf doesn't seem to add --e= nable-ra to runtime options.

Am I wrong in thinking that /etc/dnsmas= q.conf, although is pared during /etc/init.d/dnsmasq restart, does not get = you control over options of the final dnsmasq process?

Regards,
Maciej

On Tue, Jan 22, 20= 13 at 7:52 PM, Chris Lawrence <lordsutch@gmail.com> wrote:=
On Tue, Jan 22, 2013 at 1:= 40 AM, Dave Taht <dave.taht@gmail= .com> wrote:
> I think that's this in /etc/dnsmasq.conf
>
> dhcp-range=3Dse00,1234::, ra-stateless, ra-names
> dhcp-range=3Dsw00,1234::, ra-stateless, ra-names
> dhcp-range=3Dsw10,1234::, ra-stateless, ra-names
> dhcp-range=3Dgw00,1234::, ra-stateless, ra-names
> dhcp-range=3Dgw10,1234::, ra-stateless, ra-names
>
> It's kind of unclear to me what 1234 could be replaced with.
> "ce30" works for me...

Using ::1 on each will autoassign the addresses based on the address<= br> of the interface, which seems like a sensible default no matter what
network address you have. =C2=A0Having said that I found that with
ra-stateless enabled, at least one device on my network would send
DHCPv6 requests that crashed dnsmasq. =C2=A0So I have:

dhcp-range=3D::1,constructor:se00,ra-names
(etc.)

I think with test11 that can be further simplified to:

dhcp-range=3D::1,constructor:*,ra-names

This uses SLAAC only, which seems sufficient for my network purposes.
I tried adding an end to the range to see if that was the problem with
DHCP, but that doesn't seem to help, at least in test10.

The other thing I noticed in 3.7.2-4 is that both dnsmasq and
dnsmasq-dhcpv6 are installed, but the dnsmasq binary is actually the
non-v6 version unless you reinstall the dnsmasq-dhcpv6 package
(according to upstream OpenWRT, only one or the other should be
installed since they conflict).


Chris
_______________________________________________
Cerowrt-devel mailing list
Cerowrt-devel@lists.= bufferbloat.net
https://lists.bufferbloat.net/listinfo/cerowrt-devel

--e89a8fb203a02cd0a804d3e7f74c--