Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ping command to allow me to ping from multiple network adapters? 1

Status
Not open for further replies.

lesj1968

Programmer
Sep 3, 2005
166
GB
Hi

I have a machine on a network with two network ethernet NIC adapters (LAN connections). Each has their own IP specified. Please can anyone tell me if there is a ping command available for me to choose which network adapter IP I am pinging from, as I need to test pinging from both IP's separately?

Thank you for any help.

Les
 
Anyone? There must be a way for me to tell which NIC I am pinging "from"?
 
Well there is one way that I know of probally isnt the most convenient. That is why I didnt reply when I first seen this. Anyways worthless idea of mine or not ill post it lol. A couple of ways depending on what os your using. If 98 you can use winipcfg and select which adapter and then ping. I figure that might work. If your using win2k pro or above go to command prompt and fidddle with ipconfig. Or network properties and temp disable one while you ping with the other. Anyways ive never tried using 2 network adapters so this probally isnt much help. Regardless since you didnt have any replies thought id post it. So if this blabble helps any cool.
 
It depends on your setup. I'm assuming that although you have two adapters connected at once, each one is going to a different subnet on a different network.

For example, on one of my PC's, I have one adapter connected to 192.168.0.1 and the other connected to 192.168.2.1 (both go to individual routers). If I ping anything on the 192.168.0 subnet, then I know it's using that adapter. If I ping anything on the 192.168.2 subnet, then it's the other one.

So it also depends on what you're pinging. To make it real simple, then you can try what electronicsfreak said and disable the one you don't want to ping from.

~cdogg
"Insanity: doing the same thing over and over again and expecting different results." - Albert Einstein
[tab][navy]For general rules and guidelines to get better answers, click here:[/navy] faq219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top