problem with DHCP server on Windows 2022 Server

Anonymous
2024-03-14T15:39:39+00:00

Hello,

I manage about fifteen offices which used to have an internet connection with a Fortigate (which also did dhcp server) on each site.

Little by little I'm modifying the network of each site, removing the Fortigate on each site, and for all sites it's a firewall and DHCP server in the cloud.

I created the different Superscope and scope.

All vlan IDs are identical, just the site number changes as you can see.

My lease time is 8 hours.

My problem is that many people move, change location during the day and have a problem (whether wired or wireless).

For example, in the morning I'm connected to site 14 in VLAN110, so I get an IP address like 10.14.110.xxx.

In the afternoon, if I go to the site 12 and connect to the same VLAN, I don't receive a new IP address. I go to my card and I still see 10.14.110.xxx.

Even I do "ipconfig /release" then an "ipconfig / renew", but the problem remains the same.

Even if I stay at site 14 but connect to another VLAN, the problem is the same: my card keeps the first IP.

To receive a valid IP address 10.12.110.xxx, I have to go to the DHCP server in the right scope (i.e. 10.14.110.0) and in "Lease addresses" I'll remove my device from the list. I reboot my PC and after that I get a new IP address that's correct for the site where I am.

if I set a very, very short lease time, the problem will go away, but maybe not a solution.

And it's probably a question of configuring the DHCP server (a setting, a checkbox?):

  1. Either it doesn't receive a new address request (DHCP request) from the terminal, for one reason (the terminal doesn't detect that it's changing network) or another (the message doesn't reach the server, which would be odd);
  2. Either the DHCP server receives the new DHCP request, but doesn't respond (because the terminal is "blocked") on the assigned address, or responds with the old address (which it still considers valid);
  3. It could be a question of ARP cache on the switch, but I doubt it.

Thanks for your advice.

Thomas

Windows for business | Windows Server | Networking | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-03-19T10:18:29+00:00

    Hello,

    By default, Windows clients will attempt to renew their existing lease before requesting a new one. When moving to another subnet, they may not detect the change immediately. Try disabling and re-enabling the network adapter on the client machine to force a complete DHCP discover process instead of just a renew request.

    I hope this helps!

    Best regards

    Zunhui

    0 comments No comments
  2. Anonymous
    2024-04-30T11:46:09+00:00

    Hello,

    I manage about fifteen offices which used to have an internet connection with a Fortigate (which also did dhcp server) on each site.

    Little by little I'm modifying the network of each site, removing the Fortigate on each site, and for all sites it's a firewall and DHCP server in the cloud.

    I created the different Superscope and scope.

    All vlan IDs are identical, just the site number changes as you can see.

    My lease time is 8 hours.

    Image

    My problem is that many people move, change location during the day and have a problem (whether wired or wireless).

    For example, in the morning I'm connected to site 14 in VLAN110, so I get an IP address like 10.14.110.xxx.

    In the afternoon, if I go to the site 12 and connect to the same VLAN, I don't receive a new IP address. I go to my card and I still see 10.14.110.xxx.

    Even I do "ipconfig /release" then an "ipconfig / renew", but the problem remains the same.

    Even if I stay at site 14 but connect to another VLAN, the problem is the same: my card keeps the first IP.

    To receive a valid IP address 10.12.110.xxx, I have to go to the DHCP server in the right scope (i.e. 10.14.110.0) and in "Lease addresses" I'll remove my device from the list. I reboot my PC and after that I get a new IP address that's correct for the site where I am.

    if I set a very, very short lease time, the problem will go away, but maybe not a solution.

    And it's probably a question of configuring the DHCP server (a setting, a checkbox?):

    1. Either it doesn't receive a new address request (DHCP request) from the terminal, for one reason (the terminal doesn't detect that it's changing network) or another (the message doesn't reach the server, which would be odd);
    2. Either the DHCP server receives the new DHCP request, but doesn't respond (because the terminal is "blocked") on the assigned address, or responds with the old address (which it still considers valid);
    3. It could be a question of ARP cache on the switch, but I doubt it.

    Thanks for your advice.

    Thomas

    if you are using super scope this won't work, you must not use it super scope in server 2022

    try deleting superscope it won't delete the child scope it will work

    --If the reply is helpful, please Up vote and Accept it as an answer–

    0 comments No comments