Re: [olug] Ping Is Broken

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rob Townley
Date: Sunday, November 22, 2009 - 1:10 pm

On Tue, Oct 13, 2009 at 12:50 AM, Matthew G. Marsh
<olug4mgm@paktronix.com> wrote:

Matt,

without iproute2, ping -I ethX works.

leave it to a lawyer to explain away ping failing! (just kidding)  it
probably does take legalese, but write that new book soon.
i never forgot your email.  i attempted to add additional routes based
on your explanation.  It was so long ago that i do not remember the
exact details of the attempts, but there was no success.  i was not
sure if you were thinking it would never work as is or that simply
additional routes needed to be added?  Regardless, here are some
interesting results that i found using the slax live cd without
iproute installed  which demonstrate ping -I ethX works not resulting
in an error.  It is not a true test because all interfaces in this vm
are using the same gateway.  Have you written your new book yet?

Downloaded the slax livecd iso from slax.org which appears to not have
iproute installed at all, but specifying different ethX interfaces
works fine.  There is a iproute module that can be downloaded and
installed, but it isn't.  The same VirtualBox config running Fedora 12
Live, ping fails when specifying anything but the default gateway
ethX.

Installed on a VirtualBox vm with 4 virtual bridged network cards.

Linux slax 2.6.27.27 #1 SMP Wed Jul 22 07:27:34 AKDT 2009 i686
Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux

Linux version 2.6.27.27 (root@darkstar) (gcc version 4.2.4) #1 SMP Wed
Jul 22 07:27:34 AKDT 2009

for ((i=0; i < 4; i++)); do ping -c 1 -I eth${i} 208.67.222.222; done;

PING 208.67.222.222 (208.67.222.222) from 192.168.168.219 eth0: 56(84)
bytes of data.
64 bytes from 208.67.222.222: icmp_seq=1 ttl=49 time=1098 ms

--- 208.67.222.222 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1098.078/1098.078/1098.078/0.000 ms
PING 208.67.222.222 (208.67.222.222) from 192.168.168.231 eth1: 56(84)
bytes of data.
64 bytes from 208.67.222.222: icmp_seq=1 ttl=49 time=156 ms

--- 208.67.222.222 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 156.386/156.386/156.386/0.000 ms
PING 208.67.222.222 (208.67.222.222) from 192.168.168.157 eth2: 56(84)
bytes of data.
64 bytes from 208.67.222.222: icmp_seq=1 ttl=49 time=143 ms

--- 208.67.222.222 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 143.279/143.279/143.279/0.000 ms
PING 208.67.222.222 (208.67.222.222) from 192.168.168.229 eth3: 56(84)
bytes of data.
64 bytes from 208.67.222.222: icmp_seq=1 ttl=49 time=128 ms

--- 208.67.222.222 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 128.547/128.547/128.547/0.000 ms
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Ping Is Broken, Rob Townley, (Fri Oct 9, 9:44 am)
Re: Ping Is Broken, Brian Haley, (Mon Oct 12, 1:36 pm)
Re: Ping Is Broken, Jarek Poplawski, (Mon Oct 12, 2:28 pm)
Re: Ping Is Broken, Jarek Poplawski, (Mon Oct 12, 2:45 pm)
Re: Ping Is Broken, Brian Haley, (Mon Oct 12, 4:30 pm)
Re: Ping Is Broken, Jarek Poplawski, (Mon Oct 12, 10:10 pm)
Re: Ping Is Broken, Brian Haley, (Tue Oct 13, 6:48 am)
Re: [olug] Ping Is Broken, Rob Townley, (Sun Nov 22, 1:10 pm)