On Thu, Jul 16, 2009 at 9:39 AM, Javier Viguera<[email protected]> wrote:
> Denys Vlasenko wrote:
>>
>> Yes, it's normal.
>>
>> Think about it. When you ping *yourself*,
>> do ping packets really go over the physical wire?
>>
>> Of course not. They exist only inside your computer.
>>
>> In other words, they go over _loopback interface_!
>
> Makes sense what you say, i understand now.
>
> One minor thing, though.
>
> It seems that the "normal" ping from my PC (iputils-ping package - Ubuntu
> Hardy) does show the echo replies, while busybox ping does not show them:
>
> My eth1 is 192.168.105.1
>
> busybox.git$ sudo ./busybox -I eth1 192.168.105.1
> PING 192.168.105.1 (192.168.105.1): 56 data bytes
>
> --- 192.168.105.1 ping statistics ---
> 2 packets transmitted, 0 packets received, 100% packet loss
>
> busybox.git$ ping -I eth1 192.168.105.1
> PING 192.168.105.1 (192.168.105.1) from 192.168.105.1 eth1: 56(84) bytes of
> data.
> 64 bytes from 192.168.105.1: icmp_seq=1 ttl=64 time=0.030 ms
> 64 bytes from 192.168.105.1: icmp_seq=2 ttl=64 time=0.024 ms
> 64 bytes from 192.168.105.1: icmp_seq=3 ttl=64 time=0.024 ms
>
> --- 192.168.105.1 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 1998ms


Can you send me the strace output of Ubuntu's ping?

strace -o LOGFILE -s99 ping -c3 -I eth1 192.168.105.1

--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to