Bug #1280
closedMS DHCP ignores address exclusions
Description
I have the following set in my MS DHCP scope
Address range 192.168.1.1 - 192.168.1.254
Address Excluded Range: 192.168.1.1 - 192.168.1.150
Address Excluded Range: 192.168.1.200 - 192.168.1.254
However, when foreman makes a request to get an IP it returns an IP from the range without considering the excluded ranges.
So when an IP of 192.168.1.1 is returned via the dhcp smart-proxy it will conflict with another IP
Files
Updated by Corey Osman almost 13 years ago
We can get the excluded ranges by using the following command:
netsh dhcp server 192.168.1.1 scope 192.168.1.0 show excluderange
Updated by Ohad Levy almost 13 years ago
yep, imho ms dhcp should be queried via the netsh dump command instead of individual netsh commands.
Updated by Corey Osman almost 13 years ago
- Category set to DHCP
- Target version set to 0.3
Updated by Ohad Levy over 12 years ago
is it scope reservations range, or scope range in general? I think there is a difference between when a scope enables dynamic guests (e.g. with no reservation) vs. this IP's are out of the DHCP server range.
Updated by Corey Osman over 12 years ago
Foreman currently picks an ip that is part of the scope but is also part of an excluded range. Because the IP is part of the excluded range there could be IP conflicts.
Updated by Dominic Cleal about 10 years ago
- Has duplicate Feature #4171: Smart proxy DHCP plugin does not honor exclude ranges added
Updated by Dominic Cleal almost 8 years ago
- Related to Bug #7766: ms_native dhcp smart proxy code scales poorly added
Updated by Anonymous over 7 years ago
- Description updated (diff)
- Status changed from New to Resolved
This has been fixed in Ms dhcp provider on Windows Server 2012 platform (please note there won't be a fix for Windows Server 2008). Marking this as resolved.
Updated by Oliver Weinmann almost 5 years ago
- Fixed in Releases 1.24.0 added
Hi,
sorry this problem still exists even on Windows 2012 R2. We are running Foreman 1.22.1 (Katello 3.12). DHCP exclusions are not honored when creating hosts.
Best Regards,
Oliver
Updated by Tomer Brisker almost 5 years ago
Oliver, could you please open a new bug with the details of the issue you are seeing and mark it as related to this one? it may be that the symptoms are similar but the cause is different than the original issue.
Updated by Oliver Weinmann over 2 years ago
- Related to Feature #34105: Windows MS DHCP Scope and Exclusions not honored added