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 [2025/01/19 19:19] – [DHCP Authoritative] 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 ===== | ||
| Line 25: | Line 32: | ||
| Realistically, | 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 ===== | ===== Failover Associations ===== | ||
| Line 30: | Line 39: | ||
| Never rename an active failover assocation. It will trigger 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 35: | 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 " | ||
| Line 50: | Line 69: | ||
| 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 88: | Line 133: | ||
| In [[https:// | In [[https:// | ||
| + | Enabling " | ||
| + | While you can clean up Expired/ | ||
| + | |||
| + | |||
| + | Since NIOS 8.4 where the hidden CLI command '' | ||
| ===== DHCP Abandoned ===== | ===== DHCP Abandoned ===== | ||
| Line 154: | Line 204: | ||
| 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 ===== | ===== 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 | 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.1737314380.txt.gz · Last modified: by bstafford
