On 29.04.2023 17:42, Per Jessen wrote:
Andrei Borzenkov wrote:
On 29.04.2023 15:48, Per Jessen wrote:
Andrei Borzenkov wrote:
On 29.04.2023 15:00, Per Jessen wrote:
- monitor the ipv6 lease file, in /var/lib/NetworkManager
Prefix comes from RA, not from DHCP
Yes, but the prefix will still be written into the lease file,
As my example that you gratuitously trimmed shows - it does not.
Your example did not appear to be applicable to the situation at hand.
office68:~ # cat /var/lib/NetworkManager/dhclient6-987c4a73-1fb9-3528-9145-9b04bc192c30-eth0.lease default-duid "\000\004\330\216\262\302\224f\300\254\032\354G\260\207p\207S"; lease6 { interface "eth0"; ia-na 76:17:e1:1b {
You requested IA NA from DHCPv6, of course you got back full address with prefix. But that requires using DHCPv6 for address configuration in the first place.
Which ISTR was necessary anyway? for DNS config?
DNS_SERVERS is just another DHCPv6 option like IA_NA, IA_TA or IA_PD. If clients asked for DNS_SERVERS, why should it get back IA_NA?