* Walter Dnes:

> I prefer man pages to rambling Youtube videos.

As you wish: man ndp  ;-)

> given that SLAAC and DHCPV6 assign random addresses how do I
> accomplish the equivalant of "scp <filename> i660:."

The world according to 'argon', a MacBook Pro I am using right now:

argon $ ndp -a
Neighbor                        Linklayer Address  Netif Expire    St Flgs Prbs
fd67:1111:2222::10              (incomplete)         en0 expired   N
fd67:1111:2222:0:86a:e0ce:2999:7c4 4c:57:ca:dc:8d:5e en0 23h59m20s S
fd67:1111:2222:0:882:c472:d94f:66e3 20:c9:d0:45:ee:af en0 permanent R
fd67:1111:2222:0:a96:d7ff:fe8b:69dd 8:96:d7:8b:69:dd en0 23h53m10s S  R
fd67:1111:2222:0:553c:9719:22e0:af74 4c:57:ca:dc:8d:5e en0 23h52m30s S
fd67:1111:2222:0:9d4c:8017:ae:c5af 20:c9:d0:45:ee:af en0 permanent R
argon.local                     (incomplete)         lo0 permanent R
fe80::1%en0                     (incomplete)         en0 expired   N
fe80::a96:d7ff:fe8b:69dd%en0    8:96:d7:8b:69:dd     en0 36s       R  R
silver.local                    4c:57:ca:dc:8d:5e    en0 23h59m10s S
argon.local                     20:c9:d0:45:ee:af    en0 permanent R
ferrum.local                    3c:7:54:7d:50:c1     en0 23h28m48s S
argon.local                     (incomplete)       utun0 permanent R
argon.local                     (incomplete)       utun1 permanent R
[... more addresses removed ...]

argon $ ssh ferrum.local
Last login: Fri Nov 29 01:06:17 2019 from 192.168.235.17
ferrum $ who
ralph  ttys000  Nov 29 01:45  (fe80::1444:5bd9:f47c:663c%en0)

The ndp dump on 'argon' shows expired entries, entries that are still
valid for the listed time, and permanent entries. As you can see, I can
use 'ferrum.local' to identify a particular machine and login. There is
also 'silver', which happens to be my smartphone. There is even an entry
'fd67:1111:2222::10' which represents a static IPv6 address I used for
testing earlier, with fd67:1111:2222 being my obfuscated ULA prefix.

IPv6 clients are chatting link-local without user intervention, to say
"I'm here" and to ask "Who is near me?". Routers actively advertise
their services. After a little while, clients start to get an idea of
their surroundings without an admin holding their hand. IPv6 is pretty
nifty in that regard.

-Ralph

Reply via email to