1 |
* Walter Dnes: |
2 |
|
3 |
> I prefer man pages to rambling Youtube videos. |
4 |
|
5 |
As you wish: man ndp ;-) |
6 |
|
7 |
> given that SLAAC and DHCPV6 assign random addresses how do I |
8 |
> accomplish the equivalant of "scp <filename> i660:." |
9 |
|
10 |
The world according to 'argon', a MacBook Pro I am using right now: |
11 |
|
12 |
argon $ ndp -a |
13 |
Neighbor Linklayer Address Netif Expire St Flgs Prbs |
14 |
fd67:1111:2222::10 (incomplete) en0 expired N |
15 |
fd67:1111:2222:0:86a:e0ce:2999:7c4 4c:57:ca:dc:8d:5e en0 23h59m20s S |
16 |
fd67:1111:2222:0:882:c472:d94f:66e3 20:c9:d0:45:ee:af en0 permanent R |
17 |
fd67:1111:2222:0:a96:d7ff:fe8b:69dd 8:96:d7:8b:69:dd en0 23h53m10s S R |
18 |
fd67:1111:2222:0:553c:9719:22e0:af74 4c:57:ca:dc:8d:5e en0 23h52m30s S |
19 |
fd67:1111:2222:0:9d4c:8017:ae:c5af 20:c9:d0:45:ee:af en0 permanent R |
20 |
argon.local (incomplete) lo0 permanent R |
21 |
fe80::1%en0 (incomplete) en0 expired N |
22 |
fe80::a96:d7ff:fe8b:69dd%en0 8:96:d7:8b:69:dd en0 36s R R |
23 |
silver.local 4c:57:ca:dc:8d:5e en0 23h59m10s S |
24 |
argon.local 20:c9:d0:45:ee:af en0 permanent R |
25 |
ferrum.local 3c:7:54:7d:50:c1 en0 23h28m48s S |
26 |
argon.local (incomplete) utun0 permanent R |
27 |
argon.local (incomplete) utun1 permanent R |
28 |
[... more addresses removed ...] |
29 |
|
30 |
argon $ ssh ferrum.local |
31 |
Last login: Fri Nov 29 01:06:17 2019 from 192.168.235.17 |
32 |
ferrum $ who |
33 |
ralph ttys000 Nov 29 01:45 (fe80::1444:5bd9:f47c:663c%en0) |
34 |
|
35 |
The ndp dump on 'argon' shows expired entries, entries that are still |
36 |
valid for the listed time, and permanent entries. As you can see, I can |
37 |
use 'ferrum.local' to identify a particular machine and login. There is |
38 |
also 'silver', which happens to be my smartphone. There is even an entry |
39 |
'fd67:1111:2222::10' which represents a static IPv6 address I used for |
40 |
testing earlier, with fd67:1111:2222 being my obfuscated ULA prefix. |
41 |
|
42 |
IPv6 clients are chatting link-local without user intervention, to say |
43 |
"I'm here" and to ask "Who is near me?". Routers actively advertise |
44 |
their services. After a little while, clients start to get an idea of |
45 |
their surroundings without an admin holding their hand. IPv6 is pretty |
46 |
nifty in that regard. |
47 |
|
48 |
-Ralph |