[Dnsmasq-discuss] Problem in DHCPv6

Lorenzo Milesi maxxer at ufficyo.com
Tue Jul 22 18:53:00 BST 2014


Hi.
I've set up my box to have an IPV6 address, and it works fine. My DNSMASQ server is NOT the default router, and I'm having troubles in correctly delivering dhcpv6 responses to clients.

My setup:
# ipv6
dhcp-range=2001:1111:100:858b::ff00,2001:1111:100:858b::ffff,12h
dhcp-option=option6:3,2001:1111:100:858b::1
enable-ra


2001:1111:100:858b::1 is my firewall, thus the default gw. When a clients connects to the network and dnsmasq replies, the returned prefix length is wrong. This is what I get with ifconfig on an ubuntu box:
2001:1111:100:858b::ff25/128 Scope:Global
while it should be /64. The dnsmasq server correctly has 64, the default should be 64, so why is it returning 128?
I'm using 2.68

thanks
-- 
Lorenzo Milesi - lorenzo.milesi at yetopen.it

YetOpen S.r.l. - http://www.yetopen.it/




More information about the Dnsmasq-discuss mailing list