[Dnsmasq-discuss] wrong ipv6 netmask to dhcp clients

Simon Kelley simon at thekelleys.org.uk
Fri Apr 3 15:10:16 BST 2015


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

On 03/04/15 14:15, Lorenzo Milesi wrote:
> Hi. I've set up my dnsmasq for serving IPv6 DHCP addresses this
> way:
> 
> dhcp-range=2001:1418:999:1::ff00,2001:1418:999:1::ff50,64,12h 
> dhcp-option=option6:3,2001:1418:999:1::1 
> dhcp-option=option6:dns-server,[::]
> 
> I'm not doing RA because the firewall is doing that. It's working
> fine, except that sometimes the netmask received by clients is /128
> instead of the configured /64.
> 
> I'm using 2.68 on Ubuntu 12.04.
> 
> Have I set up ipv6 with some mistakes or is this a bug? thanks
> 

The netmask isn't sent by DHCP with IPv6, the host gets the netmask
from the the router advertisements, so check the configuration of your
firewall router adverts.

Note also that DHCPv6 clients have been known to just assume the the
netmask, but when they do that they normally assume /64

Cheers,

Simon.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlUen0gACgkQKPyGmiibgrdFnQCcDfO3Z1GM6+zWaWempMx1m1vm
YNIAoIQA/SA9oq8cb3/sGxBei+n11ekl
=h4fZ
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list