* On 2026 09 Feb 07:11 -0600, Chris Green wrote:
> If I moved wholly to IPV6 how could I provide the same sort of 'access
> by name' for the LAN?  The Asus router provides standard IPV6 services
> already by giving all my systems with IPV6 addresses from the block
> provided by my ISP, but I don't see how to get systems to have a name.
What does 'host [device]' show?  Is an IPv6 address returned?

So long as you have DNS resolution, the actual IP address doeasn't
matter, at least that is the "official" impression I've gotten.
However, I wasn't satisfied with pseudo random interface addresses and
went searching for a solution, particularly with Network Manager and
systemd-networkd and I found solutions for each in the form of tokens.

For Network Manager the command is something like:

nmcli connection modify Wired\ connection\ 1 ipv6.token ::3

Where "Wired\ connection\ 1" is the connection name.  This results in
'host' returning:

# host device
device.home has address 192.168.1.3
device.home has IPv6 address fd01:xxxx:xxxx:xxxx::11f
device.home has IPv6 address 2000:xxxx:xxxx:xxxx::11f
device.home has IPv6 address fd01:xxxx:xxxx:xxxx::3

Then I set a static DNS record for the ::3 address.  The "::11f" address
is conjured up by Network Manager and while pseudo randomi, it is
stable.  I had tried forcing the issue with DHCPv6 to no avail.

Similarly, I configured systemd-networkd by adding:

[Network]
DHCP=yes
IPv6PrivacyExtensions=true

[IPv6AcceptRA]
Token=eui64
Token=::1

This results in IPv6 addresses I can recognize.  By adding the options
for privacy extensions and eui64, random temporary IPv6 addresses are
generated.  These are mostly used by browsers and will be seen as the
address in use from IPv6 test sites.

It is not unusual to see six to ten IPv6 addresses assigned to an
interface.

HTH,

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

Attachment: signature.asc
Description: PGP signature

Reply via email to