Switching subnet /24 to /23
-
No real downside to /23 other than the effort to make the switch. These days I would pretty much always start with /23 when designing a fresh network or maybe /22. Not much reason to not be ready. If you use it, you needed it. If you don't then it didn't matter.
-
@JaredBusch said:
This is easy, you just have to plan it out. Note, you cannot "change" the scope of your DHCP server. You can choose to add another or wipe it and reimport it via PowerShell (what I typically do).
- Understand what your new range will be. Since you are on X.X.1.X/24. the new scope will be X.X.0.X/23.
I am abit confuse on the #1. x.x.1.x/24 to x.x.0.x/23. Do you meant x.x.1.x/24 to x.x.1.x/23 ?
-
@LAH3385 said:
@JaredBusch said:
This is easy, you just have to plan it out. Note, you cannot "change" the scope of your DHCP server. You can choose to add another or wipe it and reimport it via PowerShell (what I typically do).
- Understand what your new range will be. Since you are on X.X.1.X/24. the new scope will be X.X.0.X/23.
I am abit confuse on the #1. x.x.1.x/24 to x.x.0.x/23. Do you meant x.x.1.x/24 to x.x.1.x/23 ?
No I did not mean X.X.1.X/23. That is not were the scope of the network starts.
You always note a network with the beginning of the subnet. So your X.X.1.0/24 becomes X.X.0.0/23 -
Use this to see how it all works. http://www.subnet-calculator.com/cidr.php
-
@JaredBusch said:
@LAH3385 said:
I have 80 devices (printers, phones, server) that is on statics. The rest are DHCP. Should I eleminate statics all together and use DHCP reservation instead?
I would take this opportunity to move all the non 100% critical (aka the DC and the Hypervisor) to DHCP reservations.
I'd agree.. as long as you mean leaving the DC static haha.
-
Does the workstations need to be restart to take the new IP address?
-
@LAH3385 said:
Does the workstations need to be restart to take the new IP address?
It doesn't need a new one. Only a new subnet mask. And no, you can renew the lease.
-
@LAH3385 said:
Does the workstations need to be restart to take the new IP address?
It should renew itself at somepoint as the DHCP server would still be within the old scope. It will just update the subnet mask when it send a request for a renew (and they check well before they expire to make sure they still have the lease.)
-
@LAH3385 said:
Does the workstations need to be restart to take the new IP address?
To more fully answer, this. If you followed my instructions the entire new range will be excluded in the DHCP scope anyway.
The reason I told you to do that would be to have less impact on your systems in case you missed something.
By doing this, nothing will be in the new range initially.
Then as your devices renew their DHCP, you can have a test device manually placed in the new space and make sure it can ping them all.
At that point, delete the exlusion range that blocks the entire new section and just setup an smaller exclusion for whatever you desire.
-
Currently our DHCP server reside on an older DC. With all these configurations I want to move it to our new DC (failover cluster) at the same time. Can I skip step #8 and start #9 onward on the new DC?
Or at that point start fresh DHCP is better?
Same question for DNS as well. -
@LAH3385 said:
Currently our DHCP server reside on an older DC. With all these configurations I want to move it to our new DC (failover cluster) at the same time. Can I skip step #8 and start #9 onward on the new DC?
Or at that point start fresh DHCP is better?Moving to a new DHCP makes it easier. Just export, makes changes, move the file to the new DHCP server.
Then prior to import, unauthorized and stop the DHCP service on the original.
On the new server, just port and authorize.
Restart service and you should be good to go. -
@LAH3385 said:
Same question for DNS as well.
There is no moving DNS. If you made the new DC a DC properly, then it already has all of the DNS.
Now, if you are going to make this new DNS server the primary, then you do need to update that in the DHCP scope as well as in any static assigned devices.
-
@JaredBusch said:
@LAH3385 said:
Same question for DNS as well.
There is no moving DNS. If you made the new DC a DC properly, then it already has all of the DNS.
Now, if you are going to make this new DNS server the primary, then you do need to update that in the DHCP scope as well as in any static assigned devices.
The reason I mentioned DNS is because I don't know what has been done to its configuration. DNS is probably the only section I rarely visit daily.
-
@LAH3385 said:
@JaredBusch said:
@LAH3385 said:
Same question for DNS as well.
There is no moving DNS. If you made the new DC a DC properly, then it already has all of the DNS.
Now, if you are going to make this new DNS server the primary, then you do need to update that in the DHCP scope as well as in any static assigned devices.
The reason I mentioned DNS is because I don't know what has been done to its configuration. DNS is probably the only section I rarely visit daily.
Well, pull itup and go look at it. you will see everything is there. That is simply a function of making a Windows DC.
-
When will you need IPV6?
-
As a business or home user you will likely never need IPv6.
-
IPv6 is for the world, as there are hundreds of billions of available IP addresses.
-
@JaredBusch said:
This is easy, you just have to plan it out. Note, you cannot "change" the scope of your DHCP server. You can choose to add another or wipe it and reimport it via PowerShell (what I typically do).
- Understand what your new range will be. Since you are on X.X.1.X/24. the new scope will be X.X.0.X/23.
- Update your router LAN IP to use the /23. If it was X.X.1.1/24, it is now X.X.1.1/23.
- Update your DC (asusming a WIndows network here) to use the new /23.
- Put a test device manually on X.X.0.X/23 and make sure you have internet and can ping the DC.
- Update all of your static devices to the /23.
- Export the DHCP Scope via PowerShell
Export-DhcpServer -ComputerName dhcpserver.contoso.com -File C:\exportdir\dhcpexport.xml
- Edit the XML file to expand the scope. Here is an example of one I did this on a couple years ago. Basically change the ScopeID, SubnetMask, StartRange, and add an ExclusionRange for the entire X.X.0.1-X.X.0.255 initially. You can delete this exclusion in the GUI later when you are ready to use it.
- Delete your current DHCP scope from the GUI.
- Import the updated scope from PowerShell.
Import-DhcpServer -ComputerName dhcpserver.contoso.com -File C:\exports\dhcpexport.xml
. - Refresh the GUI, enable the scope, restart the service, etc.
- Make sure all the settings migrated in correctly.
- Force a machine to DHCP renew and you are done.
Does this looks about right? 1.1-1.30 belong to current static IP addresses
-
@LAH3385 You noted the subnetmask as a /22 but noted the end range as 1.254. The end range of a /22 is 3.254.
-
Am I reading that right that you want to to exclude the entire 192.168.0.1/24 subnet?