Computing.Net > Forums > Networking > Two NIC Ping to localhost?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Two NIC Ping to localhost?

Reply to Message Icon

Name: dan y
Date: May 19, 2002 at 12:44:56 Pacific
Comment:

I have a computer with two nics and one nic connects to hub sharing internet connection on home network. The other nic connects to another computer. I have been trying to troubleshoot the connection on the crossover cable. The one machine without the 2 nics can boot into win2000 and RH Linux 7.2. My real Question is when testing my machine with 2 nics I try pinging itself by loopback, but want to specify which card the ping should come from. Because a simple ping works, but I am pretty positive its coming from the card connected to the internet, not the card connected to the other computer. Thus I need to specify card 1 or card 2, when testing localhost loopback?

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: junky_toof
Date: May 19, 2002 at 12:52:17 Pacific
Reply:

Linux allows you to use the -I argument to
ping which you can use to specify your
interface address.


0

Response Number 2
Name: michael
Date: May 19, 2002 at 13:04:38 Pacific
Reply:

Instead of pinging the localhost, try pinging the actual IP of the NIC. Localhost is more of a stack check, IP is the NIC to the tranceivers. I've seen localhost work when the IP ping failed (bad IRQ setting for the ISA NIC).


0

Response Number 3
Name: dan y
Date: May 19, 2002 at 13:28:29 Pacific
Reply:

Followed that advice...My request times out. So its not working. What should I try now?


0

Response Number 4
Name: dan y
Date: May 19, 2002 at 13:42:00 Pacific
Reply:

This is my setup right now I have that computer with 2 NICs running WIN2000(Computer1). 1st nic connected to internet, 2nd connected to another computer by CrossOver cable currently booted into WIN2000(Computer2). They both can access each other by means of Microsoft Networking so I can share files and stuff works fine. The IP of Computer1 2nd NIC is set to 192.168.0.1, Computer2 is set to 192.168.0.2 both on same subnet mask! But they cannot ping each other. Or themselves for that matter. Computer1 has internet connection sharing enabled (that by default is what set the 2nd nics ip address), I manually changed Computer2 ip. My goal is to share that internet connection for when Computer2 boots into WIN2000 or RH linux 7.2, so far both aren't working.

THANK YOU ALL!


0

Response Number 5
Name: Curt R
Date: May 19, 2002 at 14:38:37 Pacific
Reply:

Generally speaking, when you ping a NIC by it's IP address and you get no reply it means a problem with the NIC. If you have another working NIC to test with, replace the one that's in there now with a working NIC and see if that doesn't cure the problem.


0

Related Posts

See More



Response Number 6
Name: dan y
Date: May 19, 2002 at 14:41:16 Pacific
Reply:

TO: Curt R
Yes but remember that I can Access through microsoft networking, which means all my NICs are working. Positive of that!


0

Response Number 7
Name: michael
Date: May 19, 2002 at 22:20:14 Pacific
Reply:

If you changed the 2nd PC's IP manually, does that mean you changed from dynamic addressing to static? I though I read where ICS didn't liked that and needed to DHCP the systems accessing the internet. That's part of why I use something like AnalogX's Proxy (its free). I perfer to call the shots (IPs and some ports) on my network.

I've also seen where having a dedicated default gateway on that 2nd NIC can cause that ping problem. Don't think that's the case here though.

If you have a firewall, that too could be a cause. I had to configure ZoneAlarm to allow for my internal network. Can't receive ping responses back from the internet or renew my internet DHCP address though.


0

Response Number 8
Name: dan y
Date: May 19, 2002 at 22:57:05 Pacific
Reply:

Michael Thank You, Thank You, Thank You!!!

After no success using Windows ICS I took your advice and it worked practically perfect. Had to read the ReadMe File accompanied by AnalogX and reconfig everything and through some trial and error...

SUCCESS!


0

Response Number 9
Name: dan y
Date: May 19, 2002 at 22:59:56 Pacific
Reply:

OK next ?

Anybody think they can get Computer2 to work when booted into RH Linux 7.2


0

Response Number 10
Name: Brian
Date: May 20, 2002 at 07:32:43 Pacific
Reply:

You mean setup the Redhat box as a router/firewall? Sure


0

Response Number 11
Name: dan y
Date: May 20, 2002 at 10:47:11 Pacific
Reply:

NO, This would have to be the other way around!


0

Response Number 12
Name: michael
Date: May 20, 2002 at 21:15:46 Pacific
Reply:

Your welcome.

Just point the Linux browser to the IP and port used by AnalogX's proxy. Should work no problem.

BTW, you can change the ports via this key:

HK_CU\software\analogx\proxy\


0

Response Number 13
Name: Brennan
Date: July 18, 2002 at 12:21:22 Pacific
Reply:

I was searching around came across this thread. I have a similar problem to the first issue you were discussing on the two nic ping.

I am able to ping the internet NIC IP address when the interface cable is connected successfully, but unable to when the cable is disconnected.

I have limited experience, is it a basic requirement that the interface cable be installed to be able to ping the NIC's IP address.

Thanks


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Two NIC Ping to localhost?

Ping Localhost Erratic www.computing.net/answers/networking/ping-localhost-erratic/36671.html

How to configure two NIC www.computing.net/answers/networking/how-to-configure-two-nic/37041.html

intermittant internet service with two nics www.computing.net/answers/networking/intermittant-internet-service-with-two-nics/975.html