Beolach, You are right. Ping -I eth0 192.168.1.1 is what I use to ping from one interface to another.
Regards, Devesh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Beolach Sent: Wednesday, January 21, 2004 11:32 PM Cc: chuck; [EMAIL PROTECTED] Subject: Re: 2 NIC cards not talking Oops. I just tried it, and it doesn't take an interface name (eth0), but rather, the IP address for the interface. So instead of ping -I eth0 192.168.1.1 it would be ping -I xxx.xxx.xxx.xxx 192.168.1.1 Where xxx.xxx.xxx.xxx is the IP address of eth0. Beolach wrote: > ping has a -I option that allows you to specify the source interface. > I > haven't used this option myself, but I would guess Chadha used some > thing like this: 'ping -I eth0 192.168.1.1'. > > > Conway S. Smith > > chuck wrote: > >>Dear Chadha: >> >>In (4.) & (5.)... >> >>I know how to ping from a host with an 'eth0' or 'eth1' device. I do >>not know how to ping from 'eth0' or from 'eth1'. >> >>Sorry, I cannot help. >> >>Chuck >> >>"Chadha, Devesh" wrote: >><snip> >> >> >> >>>4.Pinging 192.168.1.1 from eth0 gave destnation host unreachable and >>>pinging xxx.xxx.xxx.xxx from eth1 gave the same. >>> >>>5. I can connect to internet using eth0 since I can browse the >>>internet. I can also ping the gateway from eth0 >> >><snip> >> > > - > To unsubscribe from this list: send the line "unsubscribe > linux-newbie" in the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.linux-learn.org/faqs > - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs ------------------------------------------------------------------------------ This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
