[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


--- 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
PING ( from br0: 56(84) bytes of data.
64 bytes from icmp_req=1 ttl=64 time=0.020 ms
64 bytes from icmp_req=2 ttl=64 time=0.034 ms
64 bytes from icmp_req=3 ttl=64 time=0.027 ms
64 bytes from icmp_req=4 ttl=64 time=0.032 ms
--- 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
PING ( from eth0: 56(84) bytes of data.
>From icmp_seq=1 Destination Host Unreachable
>From icmp_seq=2 Destination Host Unreachable
>From icmp_seq=3 Destination Host Unreachable
--- 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