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