06-06-2024, 12:57 AM
(06-05-2024, 11:02 PM)Tim Curtis Wrote: I think I see that if ipv4 is set to static, ipv6 method=auto could prolly create some sort of weird conflict.
[ipv6]
addr-gen-mode=default
method=auto
According to the spec for nmconnect files "disabled" is an option for method.
Code:IP configuration method. NMSettingIP4Config and NMSettingIP6Config both support "disabled", "auto", "manual", and "link-local". See the subclass-specific documentation for other values. In general, for the "auto" method, properties such as "dns" and "routes" specify information that is added on to the information returned from automatic configuration. The "ignore-auto-routes" and "ignore-auto-dns" properties modify this behavior. For methods that imply no upstream network, such as "shared" or "link-local", these properties must be empty. For IPv4 method "shared", the IP subnet can be configured by adding one manual IPv4 address or otherwise 10.42.x.0/24 is chosen. Note that the shared method must be configured on the interface which shares the internet to a subnet, not on the uplink which is shared.
Precisely what I did using nmcli but somehow the method got reset to "enabled" during shutdown/reboot. I'll look into it.
When I configure a player with DHCP addressing, I get
Code:
xxx@m901pi3bp:~ $ cat /etc/resolv.conf
# Generated by NetworkManager
search hsd1.md.comcast.net
nameserver 75.75.75.75
nameserver 75.75.76.76
nameserver 2001:558:feed::1
# NOTE: the libc resolver may not support more than 3 nameservers.
# The nameservers listed below may not be recognized.
nameserver 2001:558:feed::2
nameserver 2601:147:4380:e0d0:aa70:5dff:fe49:74b8
Those are the Comcast IPv4 and IPv6 DNS server addresses as provided by the router's DHCP service..
I installed the bind9-dnsutils package and ran
Code:
dig ice1.somafm.com
The response shows the IPv4 DNS server 75.75.75.75 is queried.
OTOH, if I configure a player with static addressing (including the 8.8.8.8 and 1.1.1.1 external DNS servers) I get
Code:
xxx@m901pi5b:~ $ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 2001:558:feed::1
nameserver 2001:558:feed::2
nameserver 2601:147:4380:e0d0:aa70:5dff:fe49:74b8
When I repeat the dig command the response shows the first IPv6 DNS server is queried.
Regards,
Kent