[Dnsmasq-discuss] Problem in DHCPv6

Niels Penneman niels at penneman.org
Tue Jul 22 18:59:45 BST 2014


This looks like the same problem I have (see my earlier post on this list).

If I understood correctly, you will have to send router advertisements
from your default router (apparently you need to do this from the
router, with IPv6) using e.g. radvd to advertise the prefix length.

Niels

On 07/22/2014 07:53 PM, Lorenzo Milesi wrote:
> 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
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 538 bytes
Desc: OpenPGP digital signature
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140722/7c6ef7d9/attachment.sig>


More information about the Dnsmasq-discuss mailing list