Solved

How to change subnet mask in dhcp scope (SBS 2008)

Posted on 2010-09-08
4
1,658 Views
Last Modified: 2013-05-08
Hi
Currently,
the IP of my server is : 10.0.0.7/8

Now i need to change it 10.0.0.7/26
which means, subnet mask have to change to 255.255.255.192

I have changed the Ip of the server from Network management.

but still other user is getting /8 subnetmask due to dhcp server
so i went to change the options in dhcp scope sections
but i cant change subnet mask

so how will i be able to change the subnet maks from dhcp configuration.. so that all dhcp client get /26 subnet..

thanks for your help .
0
Comment
Question by:fosiul01
  • 2
4 Comments
 
LVL 39

Accepted Solution

by:
Krzysztof Pytko earned 500 total points
ID: 33625258
Sorry, you can't do that. You have to recreate whole scope, delete it and then configure once again with new subnet mask.
0
 
LVL 29

Author Comment

by:fosiul01
ID: 33625283
thats done my job. i was thinking that but was not sure

thanks .
0
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 33625293
You're welcome
0
 
LVL 4

Expert Comment

by:HostOne
ID: 39150610
Late entry, I know but you can actually do this. I am only adding this comment now so the next person looking for help finds this.

First, dump to file your existing DHCP scope settings:
(CMD)

netsh -c dhcp server 192.168.2.5 scope 192.168.2.0 dump > c:\test.txt

The file will be something like:

 Changed the current scope context to 192.168.1.0 scope.

 Dhcp Server 192.168.1.24 add scope 192.168.1.0 255.255.255.0 "Vlan-1" "Vlan-1"
 Dhcp Server 192.168.1.24 Scope 192.168.1.0 set state 1

Now you can modify that file and change the subnet form 255.255.255.0 to whatever and run it back through:

C:\>netsh exec c:\dhcp.txt
0

Featured Post

Does Powershell have you tied up in knots?

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

Question has a verified solution.

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

Because virtualization becomes more and more common, and, with Microsoft Hyper-V included in Windows Server at no additional costs, and, most server hardware nowadays is more than capable of running a physical Small Business Server (SBS) 2008 or 201…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

822 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