Discussion Locked

Changing default gateway setting

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have WIN 95 and 98 computers that receive there IP num and default gateway settings from a DHCP server. I would like to change (or remove) the default gateway from selected computers as I do not want them to have access to servers through the gateway (I want them to have access to our Intranet but not the Internet). Any quick solutions?

7 replies

by stillatit

On 95 and 98 there is little security on settings, so anything you do, a smart user can undo. Here are some of the simple things:

If you enter a default gateway explicitly in network properties (TCP/IP properties), it overrides the default gateway that the DHCP server tries to provide. Point them at a non-existant default gateway.

If you give them a static IP, you can filter them out at the gateway.

If you are using Proxy to provide internet access, you could put their login in the Deny table.

Good luck

by bgump

I had tried this approach and the DHCP server settings do in fact override the entry you put in in the default gateway screen. I am trying to avoid installing a proxy server although this would work.

by nettek

A DHCP server does not send the Default Gateway settings to a Win 9x machine on its own. The 9x machine must request this setting. A Win 9x machine will not receive WINS settings or Default Gateway settings from a DHCP server if you go into NetworkProperties -> TCP/IP Properties on these machines and uncheck the box that tells the machine to do so. You can then manually add the WINS server IP address and leave the Default Gateway empty.

by bgump

The only check mark on a 95/98 machine is under the TCP/IP number where it requests from a DHCP server and when you check it, it requests ALL information.

by nettek

Under TCP/IP Properties, you have an IP address tab. Under this tab you have set the PC to take an address automatically.

I am 90% certaing that if you go to the WINS Configuration tab and uncheck the box next to "Use DHCP for WINS resolution", you should not receive the WINS server settings and Default Gateway automatically. Then go to the Gateway tab and make sure the gateway was not manually installed.

While I am fairly sure this is the solution, you can delete the Gateway by creatingand placing a batch file in the Startup folder with the following command:
ROUTE DELETE 0.0.0.0

This discussion is closed to new replies.