From: Jan Synacek <jsynacek@redhat.com>
To: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: netdev@vger.kernel.org
Subject: iputils: ping -I <iface>
Date: Thu, 29 Nov 2012 15:12:43 +0100 [thread overview]
Message-ID: <50B76D5B.8010804@redhat.com> (raw)
Hello,
There seems to be a bug(?) when calling ping with -I lo:
$ ping -I lo kernel.org
PING kernel.org (149.20.4.69) from 192.168.1.10 lo: 56(84) bytes of data.
^C
Note that 192.168.1.10 is my primary interface's address (em1). However, no
replies are coming back.
$ ping -I em1 kernel.org
PING kernel.org (149.20.4.69) from 192.168.1.10 em1: 56(84) bytes of data.
64 bytes from pub2.kernel.org (149.20.4.69): icmp_seq=1 ttl=42 time=202 ms
64 bytes from pub2.kernel.org (149.20.4.69): icmp_seq=2 ttl=42 time=187 ms
^C
Works as expected.
I know that binding to loopback probably doesn't make much sense, but I think
that ping should be able to cope with that.
Also, it would be nice to mention the difference between -I <ip> and -I <iface>
in the manpage.
I don't understand the problem clearly enough to write a patch.
Regards,
--
Jan Synacek
Software Engineer, BaseOS team Brno, Red Hat
next reply other threads:[~2012-11-29 14:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 14:12 Jan Synacek [this message]
2012-11-29 19:48 ` iputils: ping -I <iface> Ben Greear
2012-11-30 6:06 ` Jan Synacek
2012-11-30 19:04 ` YOSHIFUJI Hideaki
2012-11-30 19:11 ` Ben Greear
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50B76D5B.8010804@redhat.com \
--to=jsynacek@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.