guides:reference:infoblox:dhcp_options
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
guides:reference:infoblox:dhcp_options [2022/04/29 15:43] – ↷ Links adapted because of a move operation yspeerte | guides:reference:infoblox:dhcp_options [2024/07/03 12:31] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{indexmenu_n> | ||
+ | |||
+ | ===== DHCP options ===== | ||
+ | |||
+ | This article describes in some detail how to setup the automatic DHCP option assignment and provisioning of Infoblox IPAM infrastructures. Before continuing familiarize yourself with the [[specials: | ||
+ | |||
+ | ==== IPAM tree option list ==== | ||
+ | |||
+ | For " | ||
+ | |||
+ | A simple example is shown below. In this case, most options are assigned to the " | ||
+ | |||
+ | The values in the '' | ||
+ | |||
+ | |||
+ | ^ Net_tier | ||
+ | | 0 | | container | ||
+ | | 1 | | container | ||
+ | | 2 | 0 | net | Users | | | 1, | ||
+ | | 3 | 0 | scope | Users | 0.0.0.6 | ||
+ | | 2 | 1 | net | Users | | | 1, | ||
+ | | 3 | 1 | scope | Users | 0.0.0.6 | ||
+ | | 2 | 2 | net | Users | | | 1, | ||
+ | | 3 | 2 | scope | Users | 0.0.0.6 | ||
+ | | 2 | 3 | net | Users | | | 1, | ||
+ | | 3 | 3 | scope | Users | 0.0.0.6 | ||
+ | |||
+ | A wide range op DHCP options exist. Due to their variety in function and arguments, only a limited set is currently supported. Adding support for additional options is relatively simple, but requires some coding by our developers. Support requests are welcome though. | ||
+ | |||
+ | ^ Option # ^ Option name ^ | ||
+ | | 1 | subnet-mask | | ||
+ | | 3 | routers | | ||
+ | | 6 | domain-name-servers | | ||
+ | | 15 | domain-name | | ||
+ | | 43 | vendor-encapsulated-options | | ||
+ | | 44 | netbios-name-servers | | ||
+ | | 46 | netbios-node-type | | ||
+ | | 51 | lease-time | | ||
+ | | 51a | lease-time (alternative rule set) | | ||
+ | | 60 | vendor-class-identifier | | ||
+ | | 150 | TFTP-Servers (exists as custom option 150 in DHCP option space) | | ||
+ | | 150a | TFTP-Servers (exists as custom option 150 in DHCP option space, alternative rule set) | | ||
+ | | 241 | WLC-Servers (exists as custom option 241 in WiFi option space) | | ||
+ | |||
+ | |||
+ | ==== DHCP Client table ==== | ||
+ | |||
+ | Many of the values used in the various DHCP options are Client specific. The Table '' | ||
+ | |||
+ | This Dhcp_client table has 14 columns to determine the required values for specific DHCP options. Since each option has its own set of rules and dependencies, | ||
+ | |||
+ | A sample set of rows form this table: | ||
+ | |||
+ | ^ClientCode ^Lease_time ^Ddns_enable ^Dhcpsrv1_feature ^Dhcpsrv2_feature ^Domain1_feature ^Domain2_feature ^Domain3_feature ^Lease1_feature ^Lease2_feature ^Dns_pri ^Dns_sec ^Dns_tert ^Wins_pri ^Wins_sec | | ||
+ | |DataCenter |28800 |1 |10.33.44.122 |10.33.44.58 |acme.com |ins.acme.com |acme.com |28800 |14400 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |CN_NY |691200 |0 |10.33.44.26 |10.33.44.58 |aCN_NY.acme.com |acme.com |aCN_NY.acme.com |691200 |3600 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |CN_FF |691200 |0 |10.33.44.26 |10.33.44.58 |aCN_FF.acme.com |acme.com |aCN_FF.acme.com |691200 |3600 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |CN_LDN |691200 |1 |10.33.44.26 |10.33.44.58 |aCN_LDN.acme.com |acme.com |aCN_LDN.acme.com |691200 |3600 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |CN_SF |691200 |0 |10.33.44.26 |10.33.44.58 |aCN_SF.acme.com |acme.com |aCN_SF.acme.com |691200 |3600 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |MD_CN |691200 |0 |10.33.44.90 |10.33.44.122 |ins.acme.com |ipt.acme.com |acme.com |28800 |3600 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |3467 |691200 |1 |10.33.44.26 |10.33.44.58 |a3467.acme.com |acme.com |acme.com |691200 |3600 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |2000 |3600 |0 |10.33.44.26 |10.33.44.58 |a2000.acme.com |acme.com |a2000.acme.com |691200 |3600 |10.22.1.64 |10.11.1.64 | |145.72.178.90 |10.33.122.30 | | ||
+ | |2100 |3600 |1 |10.33.44.26 |10.33.44.58 |a2100.acme.com |acme.com |ipt.acme.com |691200 |3600 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |2500 |691200 |1 |10.33.44.26 |10.33.44.58 |a2500.acme.com |acme.com |ipt.acme.com |691200 |3600 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |7000 |691200 |1 |10.33.44.26 |10.33.44.58 |a7000.acme.com |acme.com |a7000.acme.com |691200 |3600 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |7001 |691200 |1 |10.33.44.26 |10.33.44.58 |a7001.acme.com |acme.com |a7001.acme.com |691200 |3600 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |7100 |691200 |1 |10.33.44.26 |10.33.44.58 |a7100.acme.com |acme.com |acme.com |691200 |3600 |10.22.1.64 |10.11.1.64 | | | | | ||
+ | |||
+ | ==== Non-DHCP Option configuration ==== | ||
+ | |||
+ | A few configurable options exists that are strictly speaking not DHCP options, but are specific to Infoblox. | ||
+ | |||
+ | These are options concerning: | ||
+ | - Extensible Attributes | ||
+ | - Member Assignment | ||
+ | - Dynamic DNS | ||
+ | |||
+ | === Extensible Attributes === | ||
+ | |||
+ | > <color bue> Please see the detailed article on [[guides: | ||
+ | |||
+ | With each " | ||
+ | |||
+ | |||
+ | === Member Assignment === | ||
+ | |||
+ | All " | ||
+ | |||
+ | The GridMember assignment is configured on a per tree object (network or scope) basis using the '' | ||
+ | |||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | Multiple of these feature entries may be used in the same list, although that would normally only make senese using the '' | ||
+ | |||
+ | All three functions accept as arguments direct ip-addresses or the names of any of the ' | ||
+ | |||
+ | |||
+ | === Dynamic DNS === | ||
+ | |||
+ | This " | ||
+ | |||
+ | The option is enabled or disabled on a per " | ||
+ | Then, the customer specific value is lifted from the '' | ||
+ | |||
+ | |||
+ | === Infoblox Template === | ||
+ | |||
+ | Tree objects can be created using Infoblox Templates allowing for standardized construction blocks when creating a new IPAM. Although useful, its use is limited to the object' | ||
+ | |||
+ | To specify an Infoblox template, include the '' | ||
+ | |||
+ | |||
+ | |||
+ | ==== DHCP Option configuration ==== | ||
+ | |||
+ | === 1 | subnet-mask === | ||
+ | |||
+ | The subnet mask value of the subnet/ | ||
+ | |||
+ | |||
+ | === 3 | routers === | ||
+ | |||
+ | This option sets the default gateway. | ||
+ | The subnet / network | ||
+ | |||
+ | There is currently no method to override this behaviour. | ||
+ | |||
+ | |||
+ | === 6 | domain-name-servers === | ||
+ | |||
+ | This option sets the list of DNS servers ip-addresses to consult. Multiple DNS servers can be assigned. | ||
+ | The values can be taken form the Dhcp_clients table, or directly in the features list of the IPAM tree's network/ | ||
+ | |||
+ | The Client specific values are added to the list if present in this order: | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | |||
+ | The Tree specific values override the client specific values. These are added using the '' | ||
+ | - '' | ||
+ | |||
+ | |||
+ | === 15 | domain-name === | ||
+ | |||
+ | The default value for the domain name is the one defined in the supernet allocation with the client. | ||
+ | |||
+ | The Dhcp_tree feature list controls the assignment of direct or indirect domain names. | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | Only one domain name can be assigned to the network/ | ||
+ | |||
+ | |||
+ | === 43 | vendor-encapsulated-options === | ||
+ | |||
+ | This option works alongside option 60, vendor-class-identifier, | ||
+ | |||
+ | The Ip-addresses of the two supported entries are converted in HEX, and the format requires that the first entry starts with '' | ||
+ | |||
+ | The Ip-addresses of the Client specific WLC servers are not present in the DHCP_clients table but are lifted from the NetYCE configuration of the client. The client needs to have one or two "WLC servers" | ||
+ | |||
+ | The first server reported must have the server_name " | ||
+ | |||
+ | There currently exists no means way to directly specify this option from the features list. | ||
+ | |||
+ | |||
+ | === 44 | netbios-name-servers === | ||
+ | |||
+ | The two supported NetBios name servers that can be used for option 44 are taken from: | ||
+ | - '' | ||
+ | - '' | ||
+ | |||
+ | There currently exists no means way to directly specify this option from the features list. | ||
+ | |||
+ | |||
+ | === 46 | netbios-node-type === | ||
+ | |||
+ | The value for this option is hardcoded to '' | ||
+ | |||
+ | |||
+ | === 51 | lease-time === | ||
+ | |||
+ | This option sets the lease time for an DHCP ip-address in seconds. | ||
+ | |||
+ | The value set in the '' | ||
+ | |||
+ | This value can be overridden using " | ||
+ | - '' | ||
+ | - '' | ||
+ | If both are present in the same feature list, then the last encountered value is used. | ||
+ | |||
+ | |||
+ | === 51a | lease-time === | ||
+ | |||
+ | This option sets the lease time for an DHCP ip-address in seconds. | ||
+ | This actually not-existing option number is just a quick way to assign the hardcoded lease-time of '' | ||
+ | If both option 51 and options 51a are present in the option-list, | ||
+ | |||
+ | |||
+ | === 60 | vendor-class-identifier === | ||
+ | |||
+ | This option works alongside option 43, vendor-encapsulated-options, | ||
+ | |||
+ | There currently exists no means way to directly specify this option from the features list. | ||
+ | |||
+ | |||
+ | === 150 | TFTP-Servers === | ||
+ | |||
+ | This option exists as " | ||
+ | |||
+ | The Ip-addresses of the Client specific TFTP servers are not present in the DHCP_clients table but are lifted from the NetYCE configuration of the client. The client needs to have one or two "IPT callmanager servers" | ||
+ | |||
+ | The first server reported must have the server_name " | ||
+ | |||
+ | The Tree specific value option uses the feature list function '' | ||
+ | |||
+ | The feature added servers override any client specific ones. | ||
+ | |||
+ | |||
+ | === 150a | TFTP-Servers === | ||
+ | |||
+ | This option is identical to option 150 but uses a different set of server names for the client specific values. | ||
+ | |||
+ | This option exists as " | ||
+ | |||
+ | The Ip-addresses of the Client specific TFTP servers are not present in the DHCP_clients table but are lifted from the NetYCE configuration of the client. The client needs to have one or two "IPT callmanager servers" | ||
+ | |||
+ | The first server reported must have the server_name " | ||
+ | |||
+ | The Tree specific value option uses the feature list function '' | ||
+ | |||
+ | The feature added servers override any client specific ones. | ||
+ | |||
+ | |||
+ | === 241 | WLC-Servers === | ||
+ | |||
+ | This option exists as " | ||
+ | |||
+ | The is used to identify the WLC servers as readable ip-addresses (as opposed to option 43). | ||
+ | |||
+ | The Ip-addresses of the Client specific WLC servers are not present in the DHCP_clients table but are lifted from the NetYCE configuration of the client. The client needs to have one or two "WLC servers" | ||
+ | |||
+ | The first server reported must have the server_name " | ||
+ | |||
+ | There currently exists no means way to directly specify this option from the features list. | ||
+ | |||
+ | |||
+ | |||
+ | // | ||