by wolrah · 3w ago · 0 comments
How often do you really need to communicate a complete IP address manually, human to human, via voice or handwriting where you can't just copy/paste?
I mean REALLY NEED. Not just "I'm too lazy to set up DNS", not some hypothetical nonsense where you've found yourself on a network that has functional IPv6 but all autoconfiguration beyond SLAAC is disabled, etc. It just doesn't happen at a rate sufficient to justify how much people like you whine about it.
DNS works. You set it up correctly once when you provision the system, it stays working, you never need to think about a raw IP address again until it's time to deploy a new system or something weird happens like changing a NIC. If your DNS is that broken that you can't depend on it, fix that first and stop worrying about trying to remember complete addresses. If you need to tell a colleague what system you're looking at and DNS is not properly configured for that system, "the one ending in 44a1" is more than sufficient 99% of the time in the same way "the one ending in 127" was for v4 and the rest of the time you have computers and copy/paste works.
Like I said in my previous post, for the most part if you need to actually communicate the raw IP that probably means something has gone wrong and you're now troubleshooting with someone who should have access to a higher level view of the network where "the one ending in 3 charlie echo 5" should be more than sufficient just like it would be if you were communicating a MAC address while troubleshooting DHCPv4 issues.
In the 12 years I've had a dual-stack network I've never had to communicate a full IPv6 address verbally, but if I did I'd pretty much do it the same way I would an IPv4 address. One group at a time, with a pause implying the separator. If there was one or more zero subnets involved that could be shortened with double-colon I'd say that.
For example the record I just got back for Google of 2607:f8b0:4023:141b::71 I'd read off as:
two six zero seven (or maybe twenty-six oh seven)
foxtrot eight bravo zero
four zero two three (or maybe forty twenty-three)
one four one bravo
double colon
seven one
edit: HN makes it way harder than it should be to have multiple lines.
That was the whole point of mDNS.
This will work even on a pure ipv6 network (with no hosts having ipv4 addresses).
~ $ arp -a
? (192.168.50.1) at e8:9c:25:52:83:10 on en0 ifscope [ethernet]
? (192.168.50.9) at 64:9a:63:eb:ed:f1 on en0 ifscope [ethernet]
? (192.168.50.50) at 14:98:77:70:17:a7 on en0 ifscope [ethernet]AFAIK you must always specify a service like `_ssh._tcp` or `_http._tcp`; you can’t ask dns-sd to just dump all the advertised mDNS services on your network. That might be possible with the underlying `nw_browser_t` APIs, though.
Here's me pinging my laptop (macOS 27) from my file server (Ubuntu 24.04)
~ ping persephone.local
PING persephone.local (fd82:74ca:1cef:385a:1897:2e4b:a726:18b6%3) 56 data bytes
64 bytes from fd82:74ca:1cef:385a:1897:2e4b:a726:18b6: icmp_seq=1 ttl=64 time=0.496 ms
64 bytes from fd82:74ca:1cef:385a:1897:2e4b:a726:18b6: icmp_seq=2 ttl=64 time=0.515 ms
^C
--- persephone.local ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.496/0.505/0.515/0.009 msSame with ULA addresses like 10.$x.$y.$z for private networks. Most of those you can assume `fd$x::$z` and just need to pass whatever is on the other side of the double colons. (Where $x is optional and likely network-wide.)
DHCP6 is pretty well supported on a lot of Enterprise routers, so the fd:: ULA space, which is what DHCP6 is most good for, has no required reason to be long addresses (outside of silly things like this link's mentioned Tailscale fingerprinting/advertising IP).
If you want a real example, I was at a nonprofit event helping with their video livestream. They have a Zowiebox that displays its IP address on a digital display. I reached its web management portal that way on their Windows PC that ofc had no nmap etc installed. Oh and that box is IPv4-only.
Uhh, that one time in 2003 over Teamspeek, but it was really cool and really important, I promise! Definitely important enough to justify the horror that is NAT.