Discussion Locked

DHCP has wrong default gateway

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a Win98 machine that seems to lose it's DHCP information every time it is restarted.The computer then has no Internet access and TCP/IP applications will not work. Winipcfg shows a valid IP address, subnet mask, and a current lease. However, the default gateway is set to the IP address of the local adapter, not the router. None of the other stations on the subnet have any problems. The Win98 machines are running TCP/IP, IPX/SPX, and NetBEUI protocols for different applications. Removing the extra protocols does not fix the problem, nor has removing and reinstalling the NIC. Does anybody know why the default gateway would set to the NIC address, or how to fix this?

5 replies

by ann777

To fix, i suggest trying another nic and seeing if you get the same results.

If you still get the same results from another nic, then try removing everything from the DHCP portion in the registry (as follows):

HKEY_LOCAL_MACHINE --> System --> CurrentControlSet --> Services --> VxD --> DHCP (and remove everything under it).
Then delete the entire DhcpOptions key and contents under -->VxD --> Dhcpoptions. Reboot and see if you can get DHCP to stay now.

If you do not have the problemwith another nic, then that original nic is the problem.

by nettek

You do not say whether an incorrect gateway was manually installed under Network Neighborhood -> Properties -> TCP/IP -> Properties -> Gateway tab. If so, you should obviously remove it. You may want to try manually entering the correct default gateway.

If this does not work, go to a command prompt and type in
ROUTE PRINT.
For the Destination of 0.0.0.0, you should have your router listed as the Gateway. If your local adapter is listed as the Gateway instead, type the following command atthe prompt
ROUTE DELETE 0.0.0.0
When you reboot, the Gateway for 0.0.0.0 will hopefully change to your router.

This discussion is closed to new replies.