infoblox_nios:dhcp
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| infoblox_nios:dhcp [2024/06/20 06:53] – [DHCP Release] bstafford | infoblox_nios:dhcp [2026/03/24 21:22] (current) – [Performance] bstafford | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== NIOS DHCP ====== | ====== NIOS DHCP ====== | ||
| For DHCP starvation prevention, the most common recommendation is to control/ | For DHCP starvation prevention, the most common recommendation is to control/ | ||
| + | |||
| + | The " | ||
| ===== Ports ===== | ===== Ports ===== | ||
| Line 16: | Line 18: | ||
| * Datasheet figures for DHCP LPS are based on full DORA with no ping before offer or DDNS. | * Datasheet figures for DHCP LPS are based on full DORA with no ping before offer or DDNS. | ||
| * Reporting of actual LPS being served is based on ACKs to cover renews. | * Reporting of actual LPS being served is based on ACKs to cover renews. | ||
| + | |||
| + | ===== Moving Leases ===== | ||
| + | If you update a subnet to use a different DHCP server, the existing leases will not move until they renew. If the server that issued the lease is no longer valid (because you forced it over to member2) than it shouldn' | ||
| + | |||
| + | If the servers are in a failover pair and you are changing the balancing, you have to wait until the MCLT expires to take effect. | ||
| ===== DHCP Hub-Spoke ===== | ===== DHCP Hub-Spoke ===== | ||
| A DHCP server can only be primary for a single DHCP Failover association. So you need to make each failover association have a separate primary. I.e. hub-spoke where every spoke is the primary. | A DHCP server can only be primary for a single DHCP Failover association. So you need to make each failover association have a separate primary. I.e. hub-spoke where every spoke is the primary. | ||
| + | ===== Load Balancing Data ===== | ||
| + | NIOS GUI has a feature where you can set load balancing data. Never touch this. Ever. | ||
| + | It is a feature that is in ISC DHCP and is something you should never edit from equal split (50/50). | ||
| + | |||
| + | Realistically, | ||
| + | ===== DNS Config ===== | ||
| + | To try and spread DNS load more evenly between two members, update the two DHCP members in the FO at a member level. On the first member, set the DNS assignment to "DNS Server 1 & DNS Server 2". On the second member, set the DNS assignment to "DNS Server 2 & DNS Server 1". So long as you don't override this at a network or range level, this means that clients using DHCP server 1 will get DNS servers in one order and clients using the DHCP server 2 will get DNS servers in the opposite order. | ||
| + | |||
| + | ===== Failover Associations ===== | ||
| + | Don't try and change the members assigned to a DHCP failover association. Messing with the FO will very likely end up in a recover/ | ||
| + | |||
| + | Never rename an active failover assocation. It will trigger a recover/ | ||
| + | |||
| + | ===== High Availability ===== | ||
| + | HA should be used on at least one of the two members of a FO. Ideally, use HA on both because if a member goes down (HA makes this unlikly) then the other issues leases on MCLT. | ||
| ===== Active-Active ===== | ===== Active-Active ===== | ||
| A DHCP fixed address in an active/ | A DHCP fixed address in an active/ | ||
| Line 25: | Line 47: | ||
| So with active/ | So with active/ | ||
| ===== VLAN Sub-Interfaces and DHCP ===== | ===== VLAN Sub-Interfaces and DHCP ===== | ||
| - | DHCP only works on the primary interface in NIOS. It won't run on tagged sub-interfaces (that is for DNS/ | + | DHCP only works on the primary interface in NIOS. It won't run on tagged sub-interfaces (that is for DNS/ |
| + | ===== Option 43 ===== | ||
| + | When configuring Option 43 (Vendor encapsulated options - string) for DHCP, you must enter the value with colons between the data | ||
| ===== Binding States ===== | ===== Binding States ===== | ||
| * Free: The lease is available for clients to use. | * Free: The lease is available for clients to use. | ||
| * Active: The lease is currently in use by a DHCP client. | * Active: The lease is currently in use by a DHCP client. | ||
| - | * Static: The lease is a fixed address lease. | + | * Static: The lease is a fixed address lease. |
| * Expired: The lease was in use, but the DHCP client never renewed it, so it is no longer valid. | * Expired: The lease was in use, but the DHCP client never renewed it, so it is no longer valid. | ||
| * Released: The DHCP client returned the lease to the appliance. | * Released: The DHCP client returned the lease to the appliance. | ||
| * Abandoned: The appliance cannot lease this IP address because the appliance received a response when pinging the address. | * Abandoned: The appliance cannot lease this IP address because the appliance received a response when pinging the address. | ||
| * Backup: Lease belongs to the secondary peer in a DHCP fail over relationship. | * Backup: Lease belongs to the secondary peer in a DHCP fail over relationship. | ||
| + | |||
| + | |||
| + | ===== Fixed Address Lease ===== | ||
| + | Under Grid DHCP Properties, General, Advanced. | ||
| + | Fixed Address Lease. Without this feature enabled, there is no logging of leases assigned to fixed addresses and they cannot be tracked. | ||
| ===== Primary VS Secondary ===== | ===== Primary VS Secondary ===== | ||
| If you have a DHCP Fail-over Association (FOA), one member will be " | If you have a DHCP Fail-over Association (FOA), one member will be " | ||
| The only difference is which member handles pool rebalancing and when you get into states of RECOVER the Primary initiates the Binding updates to create a single authoritative lease table for them to share so they can move back to NORMAL. So it is important to the state engine but not really the user/admin. | The only difference is which member handles pool rebalancing and when you get into states of RECOVER the Primary initiates the Binding updates to create a single authoritative lease table for them to share so they can move back to NORMAL. So it is important to the state engine but not really the user/admin. | ||
| + | |||
| + | ===== Partner Down ===== | ||
| + | From [[https:// | ||
| + | |||
| + | The scenario here is where member A is currently in the PARTNER-DOWN state, and member B, which is a replacement (and therefore has no historical knowledge of communications with A) is newly starting up. In that situation, member A should remain in PARTNER-DOWN while member B goes through RECOVER, RECOVER-WAIT, | ||
| + | |||
| + | To lay it out in greater detail, after going through STARTUP and seeing that member A is in PARTNER-DOWN state, member B will go into RECOVER state, during which it will not serve clients, and will request information from member A. Once member B gets the final update message from member A (UPDDONE), it will transition to RECOVER-WAIT. | ||
| + | |||
| + | |||
| + | So, as an administrator, | ||
| + | As administrators, | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | Let's say that I had a DHCP failover association between member A and member B, then let's say that member B became down for some reason and I put member A in a partner down state. | ||
| + | |||
| + | Next, I manage to get an RMA appliance to replace the failed member B, and the new member B comes up online and discovers that its peer " | ||
| + | |||
| + | My question is: What happens next? | ||
| + | |||
| + | Does the new member B go into a rover state while member A stays in partner down state and continues to grant leases. | ||
| + | |||
| + | Or | ||
| + | |||
| + | Do both go into a rover state, which constitue a service failover? If this is the case, how do we avoid this? | ||
| ===== Known Clients ===== | ===== Known Clients ===== | ||
| Line 75: | Line 131: | ||
| If DHCP scavenging is not enabled, it should be, and it definitely can reduce the lease count. | If DHCP scavenging is not enabled, it should be, and it definitely can reduce the lease count. | ||
| + | In [[https:// | ||
| + | Enabling " | ||
| + | |||
| + | While you can clean up Expired/ | ||
| + | |||
| + | |||
| + | Since NIOS 8.4 where the hidden CLI command '' | ||
| ===== DHCP Abandoned ===== | ===== DHCP Abandoned ===== | ||
| Line 93: | Line 156: | ||
| ===== DHCP Authoritative ===== | ===== DHCP Authoritative ===== | ||
| - | It is an optional configuration to mark DHCP server as authoritative | + | It is an optional configuration to mark DHCP server as authoritative and training says to always tick it. We have the ability to unselected the option because ISC DHCP says it is a configurable |
| HOWEVER, you might find yourself in a migration event where you want to untick 'is authoratative' | HOWEVER, you might find yourself in a migration event where you want to untick 'is authoratative' | ||
| Line 101: | Line 164: | ||
| In NIOS DHCP there is an option to " | In NIOS DHCP there is an option to " | ||
| - | In general, leave this disabled because it generates a lot of extra DDNS updates on the DNS Primary and ZRQ transactions on the GM. DDNS updates which are high-priority messages that can disrupt recursion (which is why hidden primaries are important). | + | In general, leave this disabled because it generates a lot of extra DDNS updates on the DNS Primary and ZRQ transactions |
| Line 108: | Line 171: | ||
| # During transitions from non-Infoblox DNS systems to Infoblox DNS to get the devices to register in the Infoblox.WHen needed for this use case, enable only for a short while during migration (1/2 lease time). | # During transitions from non-Infoblox DNS systems to Infoblox DNS to get the devices to register in the Infoblox.WHen needed for this use case, enable only for a short while during migration (1/2 lease time). | ||
| # (Not a good use case) Multi-interface clients that need accurate DDNS registration. If you have clients that have both wired and wireless interfaces, because the MAC address differs, you need to use # check-only for your TXT Record handling and have update on renew enabled, but ONLY on the subnets where it is needed, don't turn it on at a Grid level in this scenario. For this scenario, be sure it is actually necessary. | # (Not a good use case) Multi-interface clients that need accurate DDNS registration. If you have clients that have both wired and wireless interfaces, because the MAC address differs, you need to use # check-only for your TXT Record handling and have update on renew enabled, but ONLY on the subnets where it is needed, don't turn it on at a Grid level in this scenario. For this scenario, be sure it is actually necessary. | ||
| + | | ||
| + | Problems with this feature: | ||
| + | # When enabled some customers can start to see issues with the Grid replication queue (ZRQ transactions). e.g. a single device (e.g. rouge VoIP phone) on the network spewing out DHCP renewals may severely impact the Grid/ | ||
| + | |||
| | | ||
| ===== DHCP Release ===== | ===== DHCP Release ===== | ||
| Line 136: | Line 203: | ||
| The new behaviour is for DHCP filters to use AND logic. | The new behaviour is for DHCP filters to use AND logic. | ||
| + | |||
| + | |||
| + | For DHCP, you can use Option 77 (User Class Identifier). This allows you to define a " | ||
| + | ===== DHCP Version ===== | ||
| + | NIOS uses ISC DHCP. NIOS-X uses Kea. | ||
| + | |||
| + | The following is from NIOS 9.0.7 | ||
| + | |||
| + | For NIOS, the version of ISC DHCP is printed to syslog when the DHCP service is restarted | ||
| + | * daemon | ||
| + | * INFO | ||
| + | * validate_dhcpd | ||
| + | * Internet Systems Consortium DHCP Server 4.3.3-P1 | ||
| + | ===== Troubleshooting ===== | ||
| + | If you have DHCP in US and EMEA in FO, if emea site can't route to US but the source IP hash means the USA site should issue the lease, the client won't get the IP and the only way to fix this is to fix the network connectity from the EMEA site to the US | ||
infoblox_nios/dhcp.1718866401.txt.gz · Last modified: by bstafford
