Re: [Dnsmasq-discuss] Problem in DHCPv6

2014-07-23 Thread Lorenzo Milesi
 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.

Setting the RA on the router in Managed mode and commenting enable-ra 
worked, thanks.

-- 
Lorenzo Milesi - lorenzo.mil...@yetopen.it

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


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Problem in DHCPv6

2014-07-23 Thread Dan Williams
On Wed, 2014-07-23 at 13:45 +0200, Lorenzo Milesi wrote:
  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.
 
 Setting the RA on the router in Managed mode and commenting enable-ra 
 worked, thanks.

DHCPv6 is meant to be used in conjunction with router advertisements,
and is not a mechanism to deliver a default gateway/router to clients.
That is what RA is for.  If you're not delivering actual options (DNS,
search domains, etc) with DHCP, you might re-evaluate whether you need
to use DHCP at all.  RA might be all you need.

Dan


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] Problem in DHCPv6

2014-07-22 Thread Lorenzo Milesi
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::100:858b::ff00,2001::100:858b::,12h
dhcp-option=option6:3,2001::100:858b::1
enable-ra


2001::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::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.mil...@yetopen.it

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


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss