[Dnsmasq-discuss] Random IP leases?

Simon Kelley simon at thekelleys.org.uk
Mon Jan 27 16:43:15 GMT 2014


On 27/01/14 16:03, Quintus wrote:
> Hi Simon,
>
> thank you for your detailed information. I didn’t know there’s something
> like temporary DHCPv6 addresses, but it indeed sounds like it is the
> feature I was looking for.
>
> Am 26.01.2014 22:01, schrieb Simon Kelley:
>> Of course this just changes the problem into "how do I tell my DHCPv6
>> client to request a DHCPv6 temporary address", for ISC dhclient, there's
>> a "-T" flag that does it.
>
> I’m using dhcpcd as DHCP client, and it appears dhcpcd has a
> configuration option "ia_ta" that can be placed in /etc/dhcpcd.conf,
> which then causes dhcpcd to request a temporary address. That option
> also optionally takes an IAID, but I’ve just used it without one and it
> seems to run fine anyway. Attached you can find the (obfuscated)
> server-side log of dnsmasq.
>
>> You well be the first person to try this dnsmasq facility, so feedback
>> on how you get on would be very valuable.
>
> I’ll monitor what happens and will give feedback when time allows it :-)
>

Ok, that looks good so far. I'm interested to know what happens when the 
lease expires, does the client attempt to renew it, or restart the 
process and get a new random address, or does it use the address forever 
or just drop the address and lose connectivity?

Cheers,


Simon.





More information about the Dnsmasq-discuss mailing list