Link to home
Start Free TrialLog in
Avatar of Mark Litin
Mark LitinFlag for United States of America

asked on

PC gets DHCP but fails ping to gateway

Hi

I have a client with windows 2000 and a network issue.

The client uses 2 pc's for their business. Computer 1is XP  which they use for drafting and never internet  . This pc has a static IP and subnet, but no gateway or DNS.  Computer 2 has Windows 2000, and  they use for that computer for internet. Computer 2 has two NICs, one connected to a switch which is used to connect both computers for sharing, and the other connected to the router for internet access.

The sharing happens fine, but the connection to the internet is not working.  The symptoms are:
1. It is set up for DHCP, and succeeds getting IP, Gateway and DNS settings.
2. It fails to ping the gateway
3. Internet connection fails (of course)

I have tried a new NIC for the adapter used for internet, and the CPI slot where it is installed.  However no dice.  DHCP fails, but no ping to the gateway.

What could be wrong here? It used to work fine.

Thanks lots!

Mark
ASKER CERTIFIED SOLUTION
Avatar of rsimsee
rsimsee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Krzysztof Pytko
Krzysztof Pytko
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mark Litin

ASKER

Hi rsimsee


Yes, computer 2;  THE WIN2000 BOX

the router/gateway is 192.168.1.254

The NIC is getting:
IP:         192.168.1.71
subnet:  255.255.255.0
GW:      192.168.1.254

DNS 1&2: 192.168.1.254

I got the same values successfully connecting from my machine.

Hi iSiek

Thanks.  I'll try that tomorrow.


.71 is an odd dhcp address when you only have 2 computers, but that's another story....

Ok, so what happens when you ping 192.168.1.254 from computer 2?
What kind of router is it?
Can you access the web config page on the router?
Is the router connecting ok / what is it's WAN ip address / gateway?
What is the IP Address of the *other* nic in computer 2?

And lastly, do you know why they have it hooked up like this at all?  The only reason I could think of is if they wanted to isolate computer 1 from the internet, but there are easier ways to do it than this.  The "normal" way of hooking up would be to have 1 nic in each pc and have them both plugged into the router.  I apoligize if you realize this, but I don't know your level of expertise :)

Hi

I think the pc just has a long lease.

The ping times out, though it gets consistent dhcp info.
It's  2Wire, supplied by ATT with Uverse service.  Other computers can connect just fine, so it's something with the PC.

Yes, they want to isolate computer 1 from the internet, and this setup is what they've been using

No worries, just stumped.
I'll check the rest out tomorrow...

Thanks.
How many other computers are there?

What happens if you ipconfig /release and ipconfig /renew that nic - does it still come back with a valid address?
Hi All

Sorry 'bout the delay...

The problem was solved through elimination of one of the NICs and setting networks to that those who wanted internet access could get it and those who did not had no connection to the gateway.  Everything id now hunky dory!

I will now award points.