Solved

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

Posted on 2013-02-02
12
554 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:jrsitman
  • 4
  • 3
  • 2
  • +2
12 Comments
 
LVL 20

Expert Comment

by:CompProbSolv
Comment Utility
What are you using for a DHCP server?  You would make the change there.
0
 
LVL 20

Expert Comment

by:CompProbSolv
Comment Utility
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
Comment Utility
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
 
LVL 23

Accepted Solution

by:
Stelian Stan earned 300 total points
Comment Utility
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 78

Expert Comment

by:David Johnson, CD, MVP
Comment Utility
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:jrsitman
Comment Utility
Ok I under stand what needs to be done.

@clonyxlro please clarify "It also require you to change all subnet host and gateway.
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:jrsitman
Comment Utility
while creating the new scope I got the attached error.  Should I deactivate the existing scope first?
dhcp.png
0
 

Author Comment

by:jrsitman
Comment Utility
Should I also change the subnet mask of the DHCP server first?
0
 
LVL 70

Assisted Solution

by:KCTS
KCTS earned 100 total points
Comment Utility
Yes!
0
 
LVL 70

Assisted Solution

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

Expert Comment

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

Author Closing Comment

by:jrsitman
Comment Utility
Thanks to all.  It worked
0

Featured Post

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now