Package: mtr Version: 0.82-3 Tags: ipv6 I discovered something strange with mtr and a link local IPv6 address. If I ask mtr to connect to the IPv6 address, mtr would fail. If I use ping6 to ping the address first, mtr would work if I call it quickly after the ping6 call. If I wait too long, mtr would not work.
This made me believe the ARP table could be involved, and the ARP table dump seem to indicate that this is the case. Here is a test run demonstrating the problem: % mtr -r --report-cycles=1 fe80::cce:deff:fe0b:bb73%bat0 HOST: minerva.reinholdtsen.name Loss% Snt Last Avg Best Wrst StDev % sudo ip neighfe80::cce:deff:fe0b:bb73 dev wlan1 INCOMPLETE 192.168.1.1 dev wlan0 lladdr 00:14:bf:fa:27:a0 REACHABLE 192.168.1.16 dev wlan0 lladdr 54:52:00:68:97:39 DELAY % ping6 -c3 fe80::cce:deff:fe0b:bb73%bat0 PING fe80::cce:deff:fe0b:bb73%bat0(fe80::cce:deff:fe0b:bb73) 56 data bytes 64 bytes from fe80::cce:deff:fe0b:bb73: icmp_seq=1 ttl=64 time=60.8 ms 64 bytes from fe80::cce:deff:fe0b:bb73: icmp_seq=2 ttl=64 time=30.1 ms 64 bytes from fe80::cce:deff:fe0b:bb73: icmp_seq=3 ttl=64 time=66.9 ms --- fe80::cce:deff:fe0b:bb73%bat0 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2001ms rtt min/avg/max/mdev = 30.173/52.635/66.915/16.078 ms % mtr -r --report-cycles=1 fe80::cce:deff:fe0b:bb73%bat0 HOST: minerva.reinholdtsen.name Loss% Snt Last Avg Best Wrst StDev 1.|-- fe80::cce:deff:fe0b:bb73 0.0% 1 40.7 40.7 40.7 40.7 0.0 % sudo ip neigh fe80::cce:deff:fe0b:bb73 dev bat0 lladdr 2a:c1:aa:9f:61:cb router REACHABLE 192.168.1.1 dev wlan0 lladdr 00:14:bf:fa:27:a0 REACHABLE 192.168.1.16 dev wlan0 lladdr 54:52:00:68:97:39 REACHABLE % Any idea what is wrong here? The %interface specifier on the address seem to be ignored by mtr. In my view, mtr and ping6 should be equally able to reach a link local address. Can you change mtr to make this work? -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org