ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Switching subnet /24 to /23

    Scheduled Pinned Locked Moved IT Discussion
    40 Posts 7 Posters 6.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by

      Use this to see how it all works. http://www.subnet-calculator.com/cidr.php

      1 Reply Last reply Reply Quote 0
      • J
        Jason Banned @JaredBusch
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • L
          LAH3385
          last edited by

          Does the workstations need to be restart to take the new IP address?

          scottalanmillerS J JaredBuschJ 3 Replies Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @LAH3385
            last edited by

            @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.

            1 Reply Last reply Reply Quote 1
            • J
              Jason Banned @LAH3385
              last edited by

              @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.)

              1 Reply Last reply Reply Quote 1
              • JaredBuschJ
                JaredBusch @LAH3385
                last edited by

                @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.

                1 Reply Last reply Reply Quote 1
                • L
                  LAH3385
                  last edited by LAH3385

                  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.

                  JaredBuschJ 2 Replies Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @LAH3385
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @LAH3385
                      last edited by

                      @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.

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        LAH3385 @JaredBusch
                        last edited by

                        @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.

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • JaredBuschJ
                          JaredBusch @LAH3385
                          last edited by

                          @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.

                          1 Reply Last reply Reply Quote 0
                          • L
                            LAH3385
                            last edited by

                            When will you need IPV6?

                            1 Reply Last reply Reply Quote 0
                            • DustinB3403D
                              DustinB3403
                              last edited by

                              As a business or home user you will likely never need IPv6.

                              1 Reply Last reply Reply Quote 1
                              • DustinB3403D
                                DustinB3403
                                last edited by

                                IPv6 is for the world, as there are hundreds of billions of available IP addresses.

                                1 Reply Last reply Reply Quote 1
                                • L
                                  LAH3385 @JaredBusch
                                  last edited by

                                  @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).

                                  1. 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.
                                  2. 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.
                                  3. Update your DC (asusming a WIndows network here) to use the new /23.
                                  4. Put a test device manually on X.X.0.X/23 and make sure you have internet and can ping the DC.
                                  5. Update all of your static devices to the /23.
                                  6. Export the DHCP Scope via PowerShell Export-DhcpServer -ComputerName dhcpserver.contoso.com -File C:\exportdir\dhcpexport.xml
                                  7. 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.
                                    0_1458057915602_upload-d032b659-e66f-40cc-90f5-40be59de11d2
                                  8. Delete your current DHCP scope from the GUI.
                                  9. Import the updated scope from PowerShell. Import-DhcpServer -ComputerName dhcpserver.contoso.com -File C:\exports\dhcpexport.xml.
                                  10. Refresh the GUI, enable the scope, restart the service, etc.
                                  11. Make sure all the settings migrated in correctly.
                                  12. 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
                                  0_1458133908175_upload-53d7ed7b-6417-4b54-b646-f945e4953e54

                                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @LAH3385
                                    last edited by

                                    @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.

                                    0_1458134281881_upload-97bd05bf-9d79-4265-a3f0-f0eeabb331c9

                                    1 Reply Last reply Reply Quote 1
                                    • coliverC
                                      coliver
                                      last edited by

                                      Am I reading that right that you want to to exclude the entire 192.168.0.1/24 subnet?

                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        LAH3385 @coliver
                                        last edited by

                                        @coliver said:

                                        Am I reading that right that you want to to exclude the entire 192.168.0.1/24 subnet?

                                        For the time being. yes. It will be open to public later. I don't have a solid game plan yet so might as well keep everything the way it is (starting at .1.xx)

                                        coliverC 1 Reply Last reply Reply Quote 0
                                        • coliverC
                                          coliver @LAH3385
                                          last edited by

                                          @LAH3385 said:

                                          @coliver said:

                                          Am I reading that right that you want to to exclude the entire 192.168.0.1/24 subnet?

                                          For the time being. yes. It will be open to public later. I don't have a solid game plan yet so might as well keep everything the way it is (starting at .1.xx)

                                          Ah, ok I was just checking.

                                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @coliver
                                            last edited by

                                            @coliver said:

                                            @LAH3385 said:

                                            @coliver said:

                                            Am I reading that right that you want to to exclude the entire 192.168.0.1/24 subnet?

                                            For the time being. yes. It will be open to public later. I don't have a solid game plan yet so might as well keep everything the way it is (starting at .1.xx)

                                            Ah, ok I was just checking.

                                            It is what I told him to do for the immediate change over. I suggested it, because every time I open up a range, I find something that was missed and suddenly people cannot do whatever task they need to.

                                            1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post