Reply
Highlighted

Trying to convert from ISC DHCP

Authority
Posts: 42
5424     0

I seem to have a large number of statements in my existing ISC dhcpd.conf files that state either

 

boot-unknown-clients true;

 

or

 

boot-unknown-clients false;

 

These statements are usually, but not always, associated with a subnet.  I cannot find any reference to these fields in an IB API docs.  I'm using the WAPI to port most of my config data, but I cannot fine a means of Infoblox grid accepting these statements.  A WAPI example (in python) would be ideal.

 

I can see the allow|deny known|unknown clients fields in the range object, but nothing with bootp, other than file and server names.

 

Thanks!

 

 

Re: Trying to convert from ISC DHCP

GHorne Community Manager
Community Manager
Posts: 254
5425     0

boot-unknown-clients is the same as deny-unknown-clients

Re: Trying to convert from ISC DHCP

Authority
Posts: 42
5425     0

So, your assertion is that in ISC-land

  

    boot-unknown-clients true;

 

is the same as

 

  {"unknown_clients" : "allow"}

 

in Infoblox WAPI?

 

In Infoblox this appears to only be valid in a range.  Based upon the WAPI dox, this only appears to be valid on a range.  I have subnets w/o ranges, so I guess I'll need at least one range on every subnet.

 

Similarly, I'm running across another command deny dynamic bootp clients; in an ISC pool (which also doesn't seem to exist in Infoblox.

Am also finding  max-lease-time; mainly in subnet definitions, which I'm not that concerned with.

 

Re: Trying to convert from ISC DHCP

Authority
Posts: 27
5425     0

Hello fitzie, 

 

the command deny dynamic bootp clients; 

can be configured thru the advanced menu  > go to  IPv4 BOOTP/PXE properties, then check the disable bootp requests option

 

hth

stephane

 

Re: Trying to convert from ISC DHCP

[ Edited ]
Authority
Posts: 42
5425     0

That sounds a bit too global for my purposes.  Your description seems to apply to a network, while I might have something like this in the ISC config:

 

A shared network with two subnets and two ranges.  Only one of the ranges denies dynamic bootp, and I have hundreds of of these to deal with.

 

shared-network 10.7.140.0 {
  subnet 10.7.140.0 netmask 255.255.255.0 {
   option routers 10.7.140.1;
   option subnet-mask 255.255.255.0;
   option broadcast-address 10.7.140.255;
   boot-unknown-clients true;
  }

 subnet 10.7.14.0 netmask 255.255.255.0 {
   option routers 10.7.14.1;
   option subnet-mask 255.255.255.0;
   option broadcast-address 10.7.14.255;
   option domain-name-servers 10.72.0.47;
   default-lease-time 120;
   max-lease-time 120;
  }

 pool {
   range 10.7.140.249 10.7.140.254;
   default-lease-time 600;
   max-lease-time 3600;
   allow members of "pxe-clients";
   allow members of "solaris9";
   allow known clients;
   allow unknown clients;
}

 pool {
  range 10.7.14.65 10.7.14.250;
   deny members of "pxe-clients";
   deny dynamic bootp clients;
   deny members of "solaris9";
   deny unknown clients;
 }

}

 

Also, I'm attempting to do all this via the WAPI.

Re: Trying to convert from ISC DHCP

Authority
Posts: 27
5425     0

Thanks for clarifying this

the option mentioned is available on grid/member/network / range / shared network - it will follow the grid inheritance model, which means you can configure this globally and set an override at different levels 

 

from the WAPI guide, it seems to be configurable using the field deny_bootp  (don't forget to check use_flag if you plan to do some override)

I don't have a WAPI example at hand,

however if you intend to import a full dhcpd.conf file, you might also be willing to look at the Infoblox Data Import Wizard (DIW) which should help managing the import in a granular way.  (you can find it here : http://ww2.infoblox.com/import/) 

hth

stephane

Re: Trying to convert from ISC DHCP

Authority
Posts: 42
5425     0

The DIW hangs on three of our dhcpd.conf files, so it is not appearing to be an option.  No error, it just hangs.

 

 

JRE Vendor=Apple Inc., Version=1.6.0_65
OS_Name=Mac OS X, OS_Version=10.10.5
User home directory=/Users/Defitz
User current directory=/Users/Defitz/Downloads

Parsing DHCP file: /Users/Defitz/Downloads/./dhcpd/dhcpd.conf_installer-1006
INFO: Using [UTF-8] charset

Re: Trying to convert from ISC DHCP

Authority
Posts: 42
5425     0

FYI, the issues appears to be with the number of host definitions in the dhcpd.conf files.  If I remove the host definitiuons entirely from any of the three files, I get the DIW to function.

 

How many hosts can the DIW handle?

 

 

Re: Trying to convert from ISC DHCP

Authority
Posts: 27
5425     0

hello fitzie,

I'm not aware of a hard limit on the # of hosts in the DIW

it could be you need to tweak the setup of DIW to have more resources allocated from a java standpoint

 

I would recommend you use the standalone DIW version 

and make sure to use the command stated in the note: 

java -jar -Xms128m -Xmx1024m diw-version#.jar

 

Re: Trying to convert from ISC DHCP

[ Edited ]
Authority
Posts: 42
5425     0

Clarification, please...

 

boot-unknown-clients true in ISC dhcpd.conf is the same as deny-unknown-clients?

 

That seems backwards...

 

I can't see that it does much of anything when read in through the DIW 7.2.

Showing results for 
Search instead for 
Do you mean 

Recommended for You