Solved

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

Posted on 2013-02-02
12
560 Views
Last Modified: 2013-02-02
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
Comment
Question by:J.R. Sitman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +2
12 Comments
 
LVL 21

Expert Comment

by:CompProbSolv
ID: 38847452
What are you using for a DHCP server?  You would make the change there.
0
 
LVL 21

Expert Comment

by:CompProbSolv
ID: 38847456
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
 
LVL 70

Expert Comment

by:KCTS
ID: 38847466
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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 23

Accepted Solution

by:
Stelian Stan earned 300 total points
ID: 38847467
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
 
LVL 81

Expert Comment

by:David Johnson, CD, MVP
ID: 38847506
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
 

Author Comment

by:J.R. Sitman
ID: 38847569
Ok I under stand what needs to be done.

@clonyxlro please clarify "It also require you to change all subnet host and gateway.
0
 

Author Comment

by:J.R. Sitman
ID: 38847586
while creating the new scope I got the attached error.  Should I deactivate the existing scope first?
dhcp.png
0
 

Author Comment

by:J.R. Sitman
ID: 38847593
Should I also change the subnet mask of the DHCP server first?
0
 
LVL 70

Assisted Solution

by:KCTS
KCTS earned 100 total points
ID: 38847617
Yes!
0
 
LVL 70

Assisted Solution

by:KCTS
KCTS earned 100 total points
ID: 38847619
DHCP Error - Delete the existing scope !
0
 
LVL 23

Expert Comment

by:Stelian Stan
ID: 38847626
Your new scope overlaps the old one, so delete the old scope first.
0
 

Author Closing Comment

by:J.R. Sitman
ID: 38847698
Thanks to all.  It worked
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
A hard and fast method for reducing Active Directory Administrators members.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

751 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