[Dnsmasq-discuss] replace dnsmaq by radvd

Moritz Warning moritzwarning at web.de
Wed May 22 22:43:48 BST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry for the delay - life is busy. :)

Actually the ip address of br-private is of type "prefix"::1

root at OpenWrt:~# ip -6 address show dev br-private
8: br-private: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 
    inet6 fdef:17a0:ffb1:1::1/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::f887:99ff:fea9:34af/64 scope link 
       valid_lft forever preferred_lft forever

Here is the content of my dnsmasq.conf:
enable-ra
dhcp-range=fdef:17a0:ffb1:1::1,constructor:br-private,slaac,64,infinite
dhcp-authoritative
domain-needed
localise-queries
read-ethers
bogus-priv
expand-hosts
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto


dhcp-range=private,192.168.133.100,192.168.133.249,255.255.255.0,12h
dhcp-option=private,3,192.168.133.1
dhcp-range=public,10.29.0.1,10.29.254.254,255.255.0.0,2h
dhcp-option=public,3,10.29.131.187
no-dhcp-interface=eth0.2


The problem is that my computer (attached to br-private) does only
get an ipv4 address and ipv6 link local (fe80::..).

Any ideas where I should look for errors?
dnsmasq is version 2.62 (IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack).

regards,
mwarning

On 05/15/2013 11:01 PM, Kevin Darbyshire-Bryant wrote:
> Sorry top posted I know. However constructor options requires interface to have host address match the start point of your constructor option before it will pick up the prefix. 
> 
> So BR-private must have address "prefix"::1 so it matches the constructor range. 
> 
> Hope that helps
> 
> Kevin
> 
> --
> Cheers,
> 
> On 15 May 2013, at 17:38, "Moritz Warning" <moritzwarning at web.de> wrote:
> 
> Hi,
> 
> I try to replace radvd by dnsmasq but have trouble to configure dnsmasq.
> 
> This line in /etc/dnsmasq.conf works as expected:
> dhcp-range=fdef:17a0:ffb1:1::,slaac
> 
> But actually I like dnsmasq to get the ipv6 prefix from the interface
> it should advertise on (br-private).
> 
> This line doesn't seem to work:
> dhcp-range=::1,constructor:br-private,slaac
> 
> I have read the manpage but couldn't see anything wrong.
> Could someone point out what is wrong?
> 
> regards,
> mwarning
>>
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJRnTwUAAoJECHrh56PP4wpVbUIAIKzy6CEDrWVL+TKg75m+5Kc
oLgAC2pDLS2KTWXEUpFrtswZ1vXbg5TdF1WOOIbVeMyUYwhImNTyeRVSaZCQm1Rn
vuRGq1hFmxOUYC30v8h6zOAZjzcVkarnMjHAjzAWpfraOjglt+LyI6cKNdgI3c03
MXpEgK+wXcd3W6rlp09m6yXLJx20TNTK3Y+2r1yIvH9wV2XpbqyB6GKAoj/VVF1E
Uj7dVU9lJcucBpbEq6Xu/CR5GKpEHqafHG/i6KmbAB/LAYeoSe1PXRm5cqL3zxTu
HQfjnMiXd29quU0HOVbQoJO4+WIuAxCG0qbWEpa3sLRYCfbvgCk1umLYPB+9zYM=
=LMOc
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list