Cade Cairns wrote:

I am sure there are versions of ping that let you specify the source
interface, but the first thing that comes to my mind is packit
(http://packit.sourceforge.net/).

On Thu, 17 Feb 2005 12:31:42 -0700, Kevin Anderson
<[EMAIL PROTECTED]> wrote:


If I have 2 ips on a nic, and I want the ping to originate from the second,
eth0:1, how would I go about making that happen? Is it even possible.


I have this setup
eth0 = 10.10.11.1
eth0:1 = 10.100.5.1

ping commands I use

ping 10.10.12.2
PING 10.10.12.2 (10.10.12.2) from 10.10.11.1 : 56(84) bytes of data.
64 bytes from 10.10.12.2: icmp_seq=0 ttl=63 time=849 usec
and
ping -I 10.100.5.1 10.100.5.5
PING 10.100.5.5 (10.100.5.5) from 10.100.5.1 : 56(84) bytes of data.
64 bytes from 10.100.5.5: icmp_seq=0 ttl=128 time=605 usec

This helps?
(And does what I think it should do?)

Peter

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to