Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 566
  • Last Modified:

How do you change the subnet mask for the entire domain?

I need to change our subnet mask from 255.255.255.0 to 255.255.0.0.  I know for all the static equipment I have to do it manually, so my question is how do I do it so it gets applied to the entire domain.
0
J.R. Sitman
Asked:
J.R. Sitman
  • 4
  • 3
  • 2
  • +2
3 Solutions
 
CompProbSolvCommented:
What are you using for a DHCP server?  You would make the change there.
0
 
CompProbSolvCommented:
In newer Windows servers, you will find it under the General Properties of the Scope in the DHCP manager.  You will likely have to delete and recreate the scope to change the netmask.
0
 
KCTSCommented:
Once a scope is created then you can't change the subnet mask - you have to delete the scope and recreate it with the new mask
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
Stelian StanCommented:
To accomplish that you need to deleted DHCP scope first and then create the new one using the new subnet mask. It also require you to change all subnet host and gateway.

You can also have a look on another EE question with the same topic: http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_22450986.html
0
 
David Johnson, CD, MVPOwnerCommented:
SetStaticIP.ps1
$wmi = Get-WmiObject win32_networkadapterconfiguration -filter "ipenabled = 'true'"
$wmi.EnableStatic($wmi.IPAddress[0], "255.255.0.0")
$wmi.SetGateways("$wmi.DefaultIPGateway, 1)

Open in new window

0
 
J.R. SitmanAuthor Commented:
Ok I under stand what needs to be done.

@clonyxlro please clarify "It also require you to change all subnet host and gateway.
0
 
J.R. SitmanAuthor Commented:
while creating the new scope I got the attached error.  Should I deactivate the existing scope first?
dhcp.png
0
 
J.R. SitmanAuthor Commented:
Should I also change the subnet mask of the DHCP server first?
0
 
KCTSCommented:
Yes!
0
 
KCTSCommented:
DHCP Error - Delete the existing scope !
0
 
Stelian StanCommented:
Your new scope overlaps the old one, so delete the old scope first.
0
 
J.R. SitmanAuthor Commented:
Thanks to all.  It worked
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

  • 4
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now