[Dnsmasq-discuss] Valid and Preferred lifetimes are not decreasing in RA's(captures)

Nothing New stappers at stappers.nl
Wed Jun 22 05:31:12 UTC 2022


On Wed, Jun 22, 2022 at 10:22:13AM +0530, Jagadeesh M wrote:
> Hi,
> 
> Wanted your suggestion regarding a problem we are seeing with dnsmasq
> configuration.
> 
> At first, we had an issue where we did have dnsmasq sending RA's with
> multiple prefixes as we had multiple ipv6 addresses(with different
> prefixes) on the interface.
> So, as per our requirement we made dnsmasq to send only one prefix (clients
> should configure ipv6 address with only that prefix), we changed dhcp-range
> config in dnsmasq.
> 
> from
> *a. dhcp-range=::,constructor:eth0,ra-stateless,24*h (with this config,
> lifetimes are decrementing in clients properly)
> 
> to
> *b. dhcp-range=eth0,1234::,ra-stateless,24h*
> 
> But,* after changing configuration to type 'b'*, we observed that whenever
> the clients receive a new RA, the clients are updating lifetimes values
> back to 86400 seconds(valid and preferred lifetime values which we gave)
> I mean to say, always the valid and preferred lifetimes in RA(seen through
> captures) is *constant at 86400*. It is not decrementing and it is becoming
> a protocol violation.
> 
> Overall, our aim is to send only 1 ipv6 prefix in RA, even though we have
> multiple ipv6 addresses(with multiple prefixes) on the interface.
> Also, another question: Is there any dhcp-range configuration with which we
> can exclude sending ULA prefixes in RA ?
> 
> I tried to configure dhcp-range with other alternative ways, but nothing is
> working out.
> 
> Any help/suggestions would be highly helpful and appreciated.

Suggestion:  Try harder to explain the "problem".


-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list