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

Jagadeesh M jagadeesh.m422 at gmail.com
Wed Jun 22 04:52:13 UTC 2022


Hi,

Hope you all are doing well !!

First of all, many many thanks for your contribution to dnsmasq.

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.

Thanks in advance.

Best Regards,
Jagadeesh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20220622/847de80c/attachment.htm>


More information about the Dnsmasq-discuss mailing list