Secondary default gateway

Posted on 2002-06-11
Medium Priority
Last Modified: 2013-12-23
My job has DHCP NT Server that automatically assigns DNS,WINS,default gateway, IP address to 150 clients. My boss wants to add 1 additional default gateway, so the goal is to have 2 default gateways, 1 default gateway for certain users and the second default gateway  for some other users. (We have the second router to act as a secondary default gateway) Where in Windows NT do I make the second default gateway entry? so that when clients ask for a lease the second default gateway is automatically assign to the client.

Question by:guanaco2000
  • 2

Accepted Solution

TooKoolKris earned 1200 total points
ID: 7072923
Your not going to be able to specify with DHCP which clients can receive what gateway assignment as long as they are all on the same subnet. You can however put both gateways into the scope and any client that receives a lease will have both gateways. Other then that you will have to manually tell each pc which gateway to use via it's network properties. Anything you manually put into the network settings on the pc's will override the information that DHCP hands out.

Now if it is possible to use a different subnet mask and create 2 different subnets, you can place the computers that need the one gateway into one subnet with their own DHCP server. Then you can place the other pc's that need the 2nd gateway into another subnet with their own DHCP as well.

Only having 1 DHCP isn't going to accomplish what you are requesting because DHCP can decide which computers should have what gateway, it simply responds to the request for IP and returns the information it's told to give. If it doesn't matter that all pc's have both gateways this would be the easiest way to accomplish this and would create redundancy in you network as well.

Hope this helps,

LVL 63

Expert Comment

ID: 7072981
In addition to the great info from TooKoolKris, I would like to point out that Windows has seriuos problems using the secondary gateway properly.

I would use a login scrit and the reg program to change the computers default gateways based on either login name, or some other criteria.

Also look into the Kixtart batch file enhancer.

Here's a few, you can also get a bit of info from the NT res.kit.
http://support.microsoft.com/support/kb/articles/Q162/7/93.ASP  username Home directory for win9x kixtart

I hope this helps !


Expert Comment

ID: 7073061
Just to add I have 2 Gateways that my DHCP hand out for the clients on my networks and it has been working just fine for the last 3 years. Both with NT and W2K. If you are having problems with this type of setup it's not do to OS design.


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question