[Dnsmasq-discuss] DHCPv6 same host different subnets

Simon Kelley simon at thekelleys.org.uk
Tue Dec 17 18:02:34 GMT 2013


I'm confused at to what's happening. You're saying that the client on 
the physical network associated with 2a01:348:31:2:: gets 
2a01:348:31:3::2 allocated? That's very odd.


You _should_ be able to have as many dhcp-host lines as you like for a 
client-id, they're filtered by subnet so only one will be relevant for a 
particular DHCP request. This may not scale well to IPv6 when a physical 
interface could easily have multiple addresses on multiple subnets. Is 
that the problem?



Cheers,

Simon.


On 13/12/13 20:35, Roy Marples wrote:
> Different physical networks.
> If it matters both networks are plugged into the router via USB dongles. One goes into a wireless AP and the other into an Ethernet Over Power point. For the curious the box itself only has one physical ethernet port which is plugged into a PPPoE modem.
>
> For reference,  ISC dhcpd manages to do this fine provided you create dummy host entries for the same ClientID but with different fixed ips on each.
>
> Roy
>
>
> Sent from Samsung Mobile
>
> -------- Original message --------
> From: Simon Kelley<simon at thekelleys.org.uk>
> Date:
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] DHCPv6 same host different subnets
>
> On 12/12/13 14:57, Roy Marples wrote:
>> Hi
>>
>> According to this:
>> http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2013q3/007464.html
>>
>> This should work
>> dhcp-host=id:00:01:00:01:XXX,[2a01:348:31:2::2],fred
>> dhcp-host=id:00:01:00:01:XXX,[2a01:348:31:3::2],fred
>>
>> But it fails. I get the last address assigned to the 2a01:348:31:2
>> subnet request.
>> This is running 2.68 on NetBSD, not tested the above config with earlier
>> versions.
>>
>
> What's the server configuration? Are 2a01:348:31:2::
> and 2a01:348:31:3:: on different networks, or the same physical network.
>
> Cheers,
>
> Simon.
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>




More information about the Dnsmasq-discuss mailing list