僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。
LANの全ノードにpingする。
$ ping -c 3 -6 -I NIC ff02::1 PING ff02::1(ff02::1) from fe80::NODE_A%NIC enp2s0: 56 data bytes 64 bytes from fe80::NODE_A%NIC: icmp_seq=1 ttl=64 time=0.037 ms 64 bytes from fe80::NODE_B%NIC: icmp_seq=1 ttl=64 time=0.213 ms (DUP!) 64 bytes from fe80::NODE_C%NIC: icmp_seq=1 ttl=64 time=0.225 ms (DUP!) 64 bytes from fe80::NODE_C%NIC: icmp_seq=1 ttl=64 time=0.376 ms (DUP!) 64 bytes from fe80::NODE_D%NIC: icmp_seq=1 ttl=64 time=0.554 ms (DUP!) 64 bytes from fe80::NODE_E%NIC: icmp_seq=1 ttl=64 time=0.661 ms (DUP!) 64 bytes from fe80::NODE_F%NIC: icmp_seq=1 ttl=64 time=1.00 ms (DUP!) 64 bytes from fe80::NODE_G%NIC: icmp_seq=1 ttl=64 time=2.72 ms (DUP!) 64 bytes from fe80::NODE_H%NIC: icmp_seq=1 ttl=64 time=3.41 ms (DUP!) 64 bytes from fe80::NODE_I%NIC: icmp_seq=1 ttl=64 time=6.15 ms (DUP!) // 略 64 bytes from fe80::NODE_A%NIC: icmp_seq=3 ttl=64 time=0.084 ms --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, +18 duplicates, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 0.037/2.974/33.384/7.064 ms
LAN内のルータ限定でマルチキャスト。
$ ping -c 3 -6 -I enp2s0 ff02::2 PING ff02::2(ff02::2) from fe80::HOST%enp2s0 enp2s0: 56 data bytes 64 bytes from fe80::R_1%enp2s0: icmp_seq=1 ttl=64 time=0.242 ms 64 bytes from fe80::R_2%enp2s0: icmp_seq=1 ttl=64 time=0.561 ms (DUP!) 64 bytes from fe80::R_1%enp2s0: icmp_seq=2 ttl=64 time=0.251 ms 64 bytes from fe80::R_2%enp2s0: icmp_seq=2 ttl=64 time=0.565 ms (DUP!) 64 bytes from fe80::R_1%enp2s0: icmp_seq=3 ttl=64 time=0.284 ms --- ff02::2 ping statistics --- 3 packets transmitted, 3 received, +2 duplicates, 0% packet loss, time 2026ms rtt min/avg/max/mdev = 0.242/0.380/0.565/0.151 ms
クラウドではどうなるんだろうか。
なんか凄そうなんだけど。
$ ping -q -c 3 -6 -I eth0 ff02::1 PING ff02::1(ff02::1) from fe80::HOST%eth0 eth0: 56 data bytes --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, +525 duplicates, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.067/1.666/18.495/1.298 ms
$ ping -q -c 3 -6 -I eth0 ff02::2 PING ff02::2(ff02::2) from fe80::HOST%eth0 eth0: 56 data bytes --- ff02::2 ping statistics --- 3 packets transmitted, 3 received, +8 duplicates, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.494/12.406/39.883/15.911 ms
リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。