I’m trying to change the IP address range of my network using DHCP. My current range is 192.168.1.0 /24 and I’m trying to change it to 10.20.1.0 /24. I have a scope in DHCP setup for my current range which is working fine. I’ve created a new scope with the new range, activated it, deactivated the old one, and when I try to get a workstation to renew it’s IP, it just hangs. As soon as I activate the old scope, it instantly gets an IP from that.<\/p>\n
It’s worth mentioning I currently have my server running 2x IP’s of 192.168.1.1 and 10.20.1.1 as I’m trying to limit disruptions and allowing my users to continue working while I test this. Not sure if this is an issue?<\/p>","upvoteCount":4,"answerCount":18,"datePublished":"2020-09-18T19:02:58.000Z","author":{"@type":"Person","name":"jonathanbyron2","url":"https://community.spiceworks.com/u/jonathanbyron2"},"suggestedAnswer":[{"@type":"Answer","text":"
I’m trying to change the IP address range of my network using DHCP. My current range is 192.168.1.0 /24 and I’m trying to change it to 10.20.1.0 /24. I have a scope in DHCP setup for my current range which is working fine. I’ve created a new scope with the new range, activated it, deactivated the old one, and when I try to get a workstation to renew it’s IP, it just hangs. As soon as I activate the old scope, it instantly gets an IP from that.<\/p>\n
It’s worth mentioning I currently have my server running 2x IP’s of 192.168.1.1 and 10.20.1.1 as I’m trying to limit disruptions and allowing my users to continue working while I test this. Not sure if this is an issue?<\/p>","upvoteCount":4,"datePublished":"2020-09-18T19:02:58.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/1","author":{"@type":"Person","name":"jonathanbyron2","url":"https://community.spiceworks.com/u/jonathanbyron2"}},{"@type":"Answer","text":"
I’d try to releasing your lease and then get a new one. OR just reboot.<\/p>","upvoteCount":0,"datePublished":"2020-09-18T19:10:23.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/2","author":{"@type":"Person","name":"jadrien","url":"https://community.spiceworks.com/u/jadrien"}},{"@type":"Answer","text":"
What happens during a DHCP renewal is slightly different than what happens during a discover. When the computer has an active lease and you ask it to renew, it will contact the DHCP server that last issued that lease. By deactivating the old scope, it stops responding to those requests so a renewal will time out.<\/p>\n
As Jim alluded to, releasing and then subsequently requesting a new lease works different in that it will stop using its current IP address (it will send a DHCP Release to the old server which may or may not respond to it at this point) and then rather than doing a renewal it will send a DHCP Discover broadcast<\/em> to start the process from scratch.<\/p>\n While you use the same /renew<\/strong> option with the ipconfig<\/em> command, it just behaves slightly differently based on the current state.<\/p>","upvoteCount":0,"datePublished":"2020-09-18T19:26:29.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/3","author":{"@type":"Person","name":"gerardbeekmans","url":"https://community.spiceworks.com/u/gerardbeekmans"}},{"@type":"Answer","text":" Even if I do a release and then a renew, it’s still the same.<\/p>","upvoteCount":0,"datePublished":"2020-09-18T20:48:32.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/4","author":{"@type":"Person","name":"jonathanbyron2","url":"https://community.spiceworks.com/u/jonathanbyron2"}},{"@type":"Answer","text":" Logging is going to come in handy here. If you run DHCP on Windows Server, go to the server’s IPv4 properties, Advanced tab and check where the Audit logs are stored. Take a look at the files there. Each files covers a day and the top of the file contains a handy reference list explaining what each status code means on each line. See if you can spot any errors here that give a clue.<\/p>","upvoteCount":0,"datePublished":"2020-09-18T20:57:29.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/5","author":{"@type":"Person","name":"gerardbeekmans","url":"https://community.spiceworks.com/u/gerardbeekmans"}},{"@type":"Answer","text":" How do you have 2 IPs on the server? How are you doing the new subnet on your switches, same VLAN or different VLAN? You can only have one active default gateway on your nic. If the default gateway is the 192.168 set of addresses and your 10.x subnet is in a different VLAN then it’s not going to get there because your server won’t have a default gateway pointing at that subnet.<\/p>","upvoteCount":1,"datePublished":"2020-09-19T14:43:05.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/6","author":{"@type":"Person","name":"PatrickFarrell","url":"https://community.spiceworks.com/u/PatrickFarrell"}},{"@type":"Answer","text":" I was thinking what Patrick was thinking.<\/p>\n What network setup do you have?<\/p>","upvoteCount":0,"datePublished":"2020-09-19T17:56:46.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/7","author":{"@type":"Person","name":"brianwhelton","url":"https://community.spiceworks.com/u/brianwhelton"}},{"@type":"Answer","text":" I’ve just set an additional IP in the IPv4 properties, no VLAN. Another thing I’ve noticed is that when setting the DNS address, clients arn’t able to see that DNS is running on the 10.x.x.x address of the server.<\/p>","upvoteCount":0,"datePublished":"2020-09-21T06:53:13.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/8","author":{"@type":"Person","name":"jonathanbyron2","url":"https://community.spiceworks.com/u/jonathanbyron2"}},{"@type":"Answer","text":" The reason the 10. and 192. ranges cannot see each other (and explains you DNS observation) is they are in different network segment’s, this is dictated by the Subnet mask, and you need a router to pass traffic from one address range to the other<\/p>","upvoteCount":0,"datePublished":"2020-09-21T07:07:17.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/9","author":{"@type":"Person","name":"brianwhelton","url":"https://community.spiceworks.com/u/brianwhelton"}},{"@type":"Answer","text":" When you installed DHCP role initially on the server , you must have selected the IP (all existing ips appear there) . if you add additional IP later on in NIC setting, that won’t work . Also why can’t you deploy a new server ,plan for cutover -Update Ip helper list at switch end,it should not be much complex.<\/p>","upvoteCount":0,"datePublished":"2020-09-21T07:12:52.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/10","author":{"@type":"Person","name":"saurabh21","url":"https://community.spiceworks.com/u/saurabh21"}},{"@type":"Answer","text":" DNS issue solved, in the DNS settings it was set to only accept responses from the one IP, just needed to check the other. DHCP server has been authorised using new IP.<\/p>","upvoteCount":0,"datePublished":"2020-09-21T08:47:03.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/11","author":{"@type":"Person","name":"jonathanbyron2","url":"https://community.spiceworks.com/u/jonathanbyron2"}},{"@type":"Answer","text":" I guess you mean to say in DHCP binding option ,not in NIC<\/p>","upvoteCount":0,"datePublished":"2020-09-21T08:49:48.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/12","author":{"@type":"Person","name":"saurabh21","url":"https://community.spiceworks.com/u/saurabh21"}},{"@type":"Answer","text":" please check for the bindings of the DHCP server. are both the ip’s listed and activated?
\nYou can check in adsiedit if that ip is showing as authorized,ideally it will not be reflecting there. Path will be adsiedit.msc > connect to configuration schema>CN-services> CN= netservices. On right pane you can see all authorized IP.<\/p>\n<\/p>","upvoteCount":0,"datePublished":"2020-09-21T09:17:07.000Z","url":"https://community.spiceworks.com/t/changing-network-ip-range/776148/13","author":{"@type":"Person","name":"c-j-r","url":"https://community.spiceworks.com/u/c-j-r"}},{"@type":"Answer","text":"