Project

General

Profile

Actions

Bug #1280

closed

MS DHCP ignores address exclusions

Added by Corey Osman over 12 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
DHCP
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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


Related issues 3 (1 open2 closed)

Related to Smart Proxy - Bug #7766: ms_native dhcp smart proxy code scales poorlyClosed10/01/2014Actions
Related to Smart Proxy - Feature #34105: Windows MS DHCP Scope and Exclusions not honoredNewActions
Has duplicate Smart Proxy - Feature #4171: Smart proxy DHCP plugin does not honor exclude ranges Duplicate01/23/2014Actions
Actions #1

Updated by Corey Osman over 12 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

Actions #2

Updated by Ohad Levy over 12 years ago

yep, imho ms dhcp should be queried via the netsh dump command instead of individual netsh commands.

Actions #3

Updated by Corey Osman over 12 years ago

  • Category set to DHCP
  • Target version set to 0.3
Actions #4

Updated by Ohad Levy over 12 years ago

  • Target version changed from 0.3 to 1.0
Actions #5

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.

Actions #6

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.

Actions #7

Updated by Ohad Levy almost 12 years ago

  • Target version deleted (1.0)
Actions #8

Updated by Dominic Cleal over 9 years ago

  • Has duplicate Feature #4171: Smart proxy DHCP plugin does not honor exclude ranges added
Actions #9

Updated by Dominic Cleal over 7 years ago

  • Related to Bug #7766: ms_native dhcp smart proxy code scales poorly added
Actions #10

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.

Actions #11

Updated by Oliver Weinmann over 4 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

Actions #12

Updated by Oliver Weinmann over 4 years ago

  • Found in Releases 1.22.1 added
Actions #13

Updated by Tomer Brisker over 4 years ago

  • Fixed in Releases deleted (1.24.0)
Actions #14

Updated by Tomer Brisker over 4 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.

Actions #15

Updated by Oliver Weinmann over 2 years ago

  • Related to Feature #34105: Windows MS DHCP Scope and Exclusions not honored added
Actions

Also available in: Atom PDF