[Bug 9346] ping -I br0 <ip of br0> doesn't work

bugzilla at busybox.net bugzilla at busybox.net
Tue Dec 13 09:17:35 UTC 2016


https://bugs.busybox.net/show_bug.cgi?id=9346

--- Comment #4 from Markus Gothe <markus at dovado.com> ---
(In reply to Denys Vlasenko from comment #3)
I challenge you:

markus at markus:~/development/branches/9.0.x/TINYAC$ ping -I br0 192.168.7.1
PING 192.168.7.1 (192.168.7.1) from 192.168.7.1 br0: 56(84) bytes of data.
64 bytes from 192.168.7.1: icmp_req=1 ttl=64 time=0.020 ms
64 bytes from 192.168.7.1: icmp_req=2 ttl=64 time=0.034 ms
64 bytes from 192.168.7.1: icmp_req=3 ttl=64 time=0.027 ms
64 bytes from 192.168.7.1: icmp_req=4 ttl=64 time=0.032 ms
^C
--- 192.168.7.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.020/0.028/0.034/0.006 ms
markus at markus:~/development/branches/9.0.x/TINYAC$ ping -I eth0 192.168.7.1
PING 192.168.7.1 (192.168.7.1) from 192.168.7.1 eth0: 56(84) bytes of data.
>From 10.10.10.3 icmp_seq=1 Destination Host Unreachable
>From 10.10.10.3 icmp_seq=2 Destination Host Unreachable
>From 10.10.10.3 icmp_seq=3 Destination Host Unreachable
^C
--- 192.168.7.1 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4024ms

An strace gives me this:
setsockopt(4, SOL_SOCKET, SO_BINDTODEVICE, "eth0\0", 5) = 0

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list