New post: Finding out what nodes are on an IPv6 Network - fixed code blocks
All checks were successful
Generate and upload hugo website / generate_and_uplaod_site (push) Successful in 1m34s

This commit is contained in:
HenryV 2025-03-21 15:17:33 +01:00
parent 10e6e49b2a
commit 353fefe637

View File

@ -10,17 +10,20 @@ On an IPv4 network it is possible to find out what hosts are on a network by que
In IPv6 networks multicast addresses are commonplace and are required for key components of the network such as ND. All IPv6 nodes belong the `ff02::01` multicast address. When sending a ping to this address all nodes will respond using their link local address. The interface on which the network is attached to must be specified using the % sign.
[henryv@HenryV-T480 ~]$ ping -6 ff02::1%wlan0
PING ff02::1%wlan0 (ff02::1%wlan0) 56 data bytes
64 bytes from fe80::f16:b9b:1724:fc75%wlan0: icmp_seq=1 ttl=64 time=0.068 ms
64 bytes from fe80::7eff:4dff:feb8:827f%wlan0: icmp_seq=1 ttl=64 time=3.56 ms
64 bytes from fe80::4e52:62ff:fe12:da2%wlan0: icmp_seq=1 ttl=255 time=4.05 ms
```
[henryv@HenryV-T480 ~]$ ping -6 ff02::1%wlan0
PING ff02::1%wlan0 (ff02::1%wlan0) 56 data bytes
64 bytes from fe80::f16:b9b:1724:fc75%wlan0: icmp_seq=1 ttl=64 time=0.068 ms
64 bytes from fe80::7eff:4dff:feb8:827f%wlan0: icmp_seq=1 ttl=64 time=3.56 ms
64 bytes from fe80::4e52:62ff:fe12:da2%wlan0: icmp_seq=1 ttl=255 time=4.05 ms
```
To the the global unicast address of a host the IP address to be used from interface can be specified.
[henryv@HenryV-T480 ~]$ ping -6 -I 2001:9e8:e364:9100:6286:2235:7c45:14b4 ff02::1%wlan0
PING ff02::1%wlan0 (ff02::1%wlan0) from 2001:9e8:e364:9100:6286:2235:7c45:14b4 : 56 data bytes
64 bytes from 2001:9e8:e364:9100:6286:2235:7c45:14b4: icmp_seq=1 ttl=64 time=0.061 ms
64 bytes from 2001:9e8:e364:9100:7eff:4dff:feb8:827f: icmp_seq=1 ttl=64 time=3.80 ms
64 bytes from 2001:9e8:e364:9100:f027:4857:3588:a035: icmp_seq=1 ttl=255 time=71.9 ms
64 bytes from 2001:9e8:e364:9100:85ce:2483:d39c:e212: icmp_seq=1 ttl=255 time=113 ms
```
[henryv@HenryV-T480 ~]$ ping -6 -I 2001:9e8:e364:9100:6286:2235:7c45:14b4 ff02::1%wlan0 PING ff02::1%wlan0 (ff02::1%wlan0) from 2001:9e8:e364:9100:6286:2235:7c45:14b4 : 56 data bytes
64 bytes from 2001:9e8:e364:9100:6286:2235:7c45:14b4: icmp_seq=1 ttl=64 time=0.061 ms
64 bytes from 2001:9e8:e364:9100:7eff:4dff:feb8:827f: icmp_seq=1 ttl=64 time=3.80 ms
64 bytes from 2001:9e8:e364:9100:f027:4857:3588:a035: icmp_seq=1 ttl=255 time=71.9 ms
64 bytes from 2001:9e8:e364:9100:85ce:2483:d39c:e212: icmp_seq=1 ttl=255 time=113 ms
```