IP and Network Configuration
This guide is the single Day 0 reference for IP address management and in-band/out-of-band network configuration for a NICo deployment. It walks an operator through every IP pool that must exist, how DHCP and DNS are served, and how to verify each piece end-to-end. Follow this page once during initial site bring-up; subsequent host ingestion and tenant operations rely on the configuration described here.
The values here are entered into the siteConfig TOML block of helm-prereqs/values/nico-core.yaml (see Quick Start Guide, Step 3c) and into your site DNS and DHCP relay infrastructure. This page does not replace per-topic references — it consolidates them in the order an operator needs them. Sizing formulas, switch configuration, and BMC ingestion details are linked rather than duplicated.
Prerequisites
Before configuring the items on this page, complete:
- Hardware — server, DPU, and BMC inventory.
- Network Prerequisites — VNI/ASN allocation, BGP/EVPN, route targets, and switch configuration.
- BMC and Out-of-Band Setup — physical BMC connectivity, DHCP relay, and credentials.
This page assumes the underlay and overlay routing decisions described in those pages have already been made.
DHCP Cutover Checklist
Before connecting a rack for ingestion:
- Agree a cutover window with the site owner. Have the owner stop the previous DHCP service from answering on the managed networks, including through old relay destinations, and verify that its replies have stopped before activating relay to NICo. Competing offers can give devices the wrong address, boot server, or DNS settings.
- For networks using DHCPv4, activate IPv4 relay to the DHCPv4 VIP on UDP 67 (default LoadBalancer
Service:
nico-dhcp-external), as described in BMC and Out-of-Band Setup. If DHCPv6 is enabled, use a separate IPv6 VIP on UDP 547 (default LoadBalancer Service:nico-dhcp6-external), following Deploy DHCPv6. - Verify the MAC-to-IP mapping for every Fixed allocation. A reservation for the host BMC does not reserve addresses for the DPU BMC or DPU OS. Account for each interface separately using Expected Interface IP Allocation.
- Exclude addresses still used by static devices or an external allocator from NICo’s allocatable ranges. NICo’s address-uniqueness checks cannot protect against another DHCP server or an unrecorded static assignment.
- Check relay traffic, the resulting leases, and device MACs before ingesting the rest of the rack. If an IP has changed owners, follow the Stale Exploration Record checks before retrying discovery.
1. IP Pool Allocation
NICo consumes IP addresses from three distinct sources:
Plan capacity for all pools before running setup.sh. Pools can be grown at runtime without a restart, but an exhausted pool blocks the next provisioning operation immediately. A 20–25% headroom margin over expected peak allocation is a reasonable default.
For per-pool sizing formulas (servers, DPUs, VPCs, instance types), see Network Prerequisites — IP Address Pools.
1.1 Loopback Address Pools
NICo defines two named loopback pools in the [pools.<name>] section of siteConfig:
Define each pool with either a prefix or one or more ranges. Providing both, or neither, prevents the API server from starting.
For pool semantics, runtime inspection (admin-cli resource-pool list), and the grow operation, see IP Resource Pools.
Note: Tenant workload IPs (the addresses an instance sees on its NICs) are not managed through these pools.
1.2 Host OS IP Assignment
The host OS on each site controller node receives its primary IP from the parent datacenter (typically via DHCP). NICo does not assign or manage the site controller’s host OS IP.
For each site controller node that participates in DPU mode, a single /31 point-to-point subnet is allocated between the host OS and the DPU PF representor. These IPs are statically assigned at OS install time — not by NICo and not by the parent datacenter DHCP server. One /31 per site controller node (with DPUs) is required; nodes without DPUs need only one host IP.
For managed hosts (ingested machines), the host OS IP comes from the admin network until the host is assigned to a tenant:
- The admin network is a NICo-managed pool. Allocations are made by
nico-apiand pushed to the host via DHCP. - For IPv4, size the admin network for at least one usable IP per managed server, plus network and broadcast addresses. Multiple admin segments may be declared in
[networks.<name>]; each managed host sources its admin IP from whichever segment matches. - When a tenant is assigned, the host’s interfaces leave the admin network and join the relevant tenant networks (see Network Prerequisites — Tenant Networks).
The admin network is defined in the [networks.admin] block of siteConfig:
This IPv4 definition requires a gateway within its prefix. For other prefix combinations and gateway omission rules, refer to Initial Network Configuration.
1.3 Expected Interface IP Allocation
Expected Machine declarations can allocate addresses for host OS, DPU OS, DPU BMC, and host BMC interfaces. These physical roles support three allocation policies:
All four physical-interface roles (host, dpu_os, dpu_bmc, and host_bmc) support
all three policies. The default is Dynamic for every role except host_bmc,
which defaults to Retained. A declaration with fixed_ip and no explicit
policy remains Fixed for backward compatibility.
The separate dpu_loopback role reserves a Fixed address from lo-ip or
lo-ip-v6, selected by the DPU OS/admin MAC. It does not participate in DHCP
or physical-interface allocation. See deterministic DPU loopback reservations.
NICo applies the current configuration separately to each family’s first successful DHCP or Static allocation. Mixing policies within the same site and Expected Machine is supported. Refer to Configure Expected Machine Interfaces for the complete field reference and examples, and Address Allocation Lifetime for per-family allocation, recovery, and rollout limits.
Physical Management Networks
Every host BMC, DPU BMC, and DPU OOB interface needs an address on a physical
management network. Dynamic and Retained allocations, and new explicit Fixed
declarations, require a NICo-managed segment. Legacy inferred Fixed host
declarations, and inferred Fixed host_bmc declarations without a segment
guard, can instead use static-assignments for an address outside managed
prefixes. The usual deployment places these interfaces on an OOB network
represented by an Underlay segment. A host with no managed DPUs can instead
place its BMC and host OS on one shared HostInband subnet/VLAN; see
Shared HostInband for a Host BMC and Host OS.
That exception applies only to the host BMC. DPU BMC and DPU OOB interfaces
remain on Underlay segments.
Host BMC Compatibility Fields
The top-level Expected Machine fields bmc_ip_address and
bmc_ip_allocation control host-BMC allocation.
The nico-admin-cli em add and em patch flags accept policy values
unspecified, auto, dynamic, fixed, and retained. The
bmc_ip_allocation enum in the whole-table JSON consumed by em replace-all
uses Unspecified, Auto, Dynamic, Fixed, and Retained. Direct gRPC
clients use the corresponding BMC_IP_ALLOCATION_TYPE_* enum values.
The table describes a newly created entry. On patch/update, omitting the policy
preserves the stored effective policy rather than resetting it to Auto.
Explicit unspecified/Unspecified resets the policy to Auto.
Fixed requires bmc_ip_address. Dynamic and Retained reject a configured
address. NICo rejects an unspecified (0.0.0.0 or ::), multicast, or IPv4
limited-broadcast (255.255.255.255) bmc_ip_address, including the
IPv4-mapped IPv6 form of each. A retained address is not written back to the
Expected Machine, so deleting the machine-interface row and re-ingesting the
host can select a new address. Use a fixed address when it must survive interface recreation. Mixing
policies within one site is supported.
Capacity and Network Setup
Per node, expect to allocate:
- 1 IP for the host BMC.
- For hosts with DPUs: 1 IP for the DPU ARM OS + 1 IP for the DPU BMC, per DPU.
In the conventional topology, a host with one DPU therefore consumes three OOB addresses. When a host with no managed DPUs shares HostInband, its one BMC address is capacity on that HostInband segment rather than on a dedicated OOB segment.
The conventional OOB management network is declared as one or more
NICo-managed Underlay network segments in siteConfig
[networks.<name>] blocks. Each segment has its own prefixes, MTU, and
IPv4 gateway when applicable. The switches must relay DHCP traffic to
the VIP for the corresponding address family, as described in the
DHCP Cutover Checklist. They must not assign
addresses themselves. Refer to
BMC and Out-of-Band Setup
for switch-side relay configuration.
1.4 Configure Host BMC IP Allocation
For sites that require a preassigned host BMC IP, add a host_bmc entry whose
MAC matches the top-level bmc_mac_address. Admin CLI manifests use protobuf
enum number 2 for the Underlay segment type:
For this fixed declaration:
- NICo records the fixed intent with the Expected Machine. The reservation applies only before that family’s first DHCP or Static allocation. Updating the template does not guarantee immediate allocation of a missing family.
- After NICo creates the reservation, DHCP DISCOVER from that BMC’s MAC is
answered with the reserved address;
nico-dhcpdoes not draw another address for that host. - For a BMC on a managed segment, the address must fall within that segment’s prefix. It can be inside the segment’s otherwise-dynamic pool: once the reservation exists, NICo’s address-uniqueness constraint prevents the dynamic allocator from assigning it to another interface.
- The optional
underlaysegment guard rejects the configuration if the containing segment has another type.
Expected Machine edits do not replace an existing DHCP or Static allocation. For the SLAAC exception, allocation lifetime, and targeted address changes, refer to Address Allocation Lifetime.
The legacy top-level bmc_ip_address and bmc_ip_allocation fields remain
supported. They act as explicit overrides when a matching host_bmc entry is
also present. Existing manifests that only set bmc_ip_address continue to
work without conversion.
For the full expected_machines.json schema and upload command, see
Ingesting Hosts.
1.5 Shared HostInband for a Host BMC and Host OS
NICo supports connecting a host’s BMC and host OS NIC to the same physical
subnet/VLAN when the host has no managed DPUs. This applies when the effective
DPU policy is ignore (no managed DPU) or nic (an installed DPU operates as
a plain NIC). Each interface receives its own address from one HostInband
segment.
Model the prefix once, as HostInband. Do not also declare an Underlay
segment for the same prefix. NICo enforces globally non-overlapping network
prefixes, so duplicate, nested, or partially overlapping segment definitions
are rejected. Machine-interface addresses are also globally unique.
The shared topology has these requirements:
- Configure the
HostInbandsegment withallocation_strategy = "dynamic"(the default) whenever either interface needs an unreserved DHCP allocation. Areservedsegment answers only clients whose fixed reservation already exists. - Associate the segment with a valid DNS subdomain. Network creation at
startup requires one selected initial forward domain and associates the
segment with it automatically; startup skips segment creation if no forward
domain can be selected unambiguously. A segment created at runtime with
nico-admin-cli network-segment createrequires--subdomain-id. - Size the prefix for distinct host-BMC and host-OS addresses and set
reserve_firsthigh enough to protect gateway or infrastructure addresses. - Declare every data-NIC MAC for a host with no managed DPUs in that host’s
Expected Machine
interfacesarray. Mark one data NICprimary: true; that NIC is the host’s boot interface, and declarations with more than one primary are rejected. Settingnetwork_segment_type: "host_inband"is recommended so DHCP fails on a segment-type mismatch instead of using a relay candidate of another type. See the zero-DPU site setup. - Register the BMC MAC and credentials at the top level of the Expected
Machine, and use a matching
host_bmcinterface entry for allocation. Omit bothip_allocationandfixed_ipto use the default Retained behavior, or select Fixed and setfixed_ipto an address in the HostInband prefix when the address must survive interface deletion and re-ingestion. The compatible top-levelbmc_ip_addressandbmc_ip_allocationfields remain supported. - Configure the BMC-facing and host-NIC-facing switch ports so DHCP reaches
nico-dhcpwith relay/link metadata that identifies the HostInband prefix.
For IPv4, NICo selects candidate segments whose prefix contains the relay’s
giaddr; giaddr does not need to equal the configured gateway. For DHCPv6,
an exact configured link-address match is authoritative, with prefix
containment used as a fallback. VLAN ID, circuit ID, remote ID, and physical
cabling do not themselves select a NICo segment, although the switch
configuration determines which relay/link address NICo receives.
This is a host-BMC exception only. Do not place a DPU BMC or DPU OOB interface
on HostInband; those endpoints retain the conventional Underlay model.
Sharing the host-facing L2 network removes the network-level OOB isolation that a dedicated management VLAN provides. The BMC still operates independently of the host OS, but it can be reachable from the same physical network unless the fabric supplies ACL, VRF, private-VLAN, or equivalent isolation. Treat that as an explicit site security decision.
2. DHCP Configuration
DHCPv6 for relay-facing physical networks is opt-in and uses a separate Kea6 workload and relay VIP. Deploy DHCPv6 describes network requirements, stable server identity, values, and deployment verification. IPv6-only FNN admin networks use the DPU-local DHCPv6 service described in Initial Network Configuration.
2.1 How nico-dhcp Works
nico-dhcp is not a standalone DHCP daemon. It is a Kea DHCP hooks library (cdylib) loaded into the upstream Kea v4 server inside the nico-dhcp container. Every DHCPDISCOVER/REQUEST is intercepted by the hooks library and forwarded to nico-api over mTLS gRPC (the discover_dhcp RPC). nico-api decides what address to lease based on:
- Whether the interface already has a DHCP or Static address for the requested family. NICo reuses it without applying later Expected Machine edits.
- For a family’s first DHCP or Static allocation, the source MAC’s current Expected Machine policy. Fixed uses a matching-family configured address; Dynamic and Retained use the segment selected by relay metadata. Retained stores the address directly as Static. Without an applicable declaration, NICo uses ordinary DHCP.
- After a DHCP or Static address is removed while its interface record remains, ordinary DHCP allocation rules apply instead of Fixed or Retained intent. Refer to Address Allocation Lifetime for the removal-history support boundary.
- Vendor class (option 60) determines whether the client is a PXE/iPXE/BlueField boot client, which influences the boot options returned.
The hook callouts (lease4_select and lease4_renew) overwrite the lease that Kea would have selected — yiaddr, valid lifetime, and DHCP options are replaced with the values nico-api produced, and the hook can return SKIP to cancel Kea’s own lease assignment and database write. The result is written to Kea’s memfile (kea-leases4.csv), but the authoritative record lives in nico-api. From an operator perspective this means:
- The state-of-truth for every lease lives in
nico-api’s database, not in Kea’s lease file. - There is no standalone DHCP configuration file to populate with
reservations. Reservations come from
expected_machines.json, and network segments come fromsiteConfig. - If
nico-apiis unreachable, the hooks library serves cached negative responses (negative cache TTL: 5 minutes); this is a degraded-mode safety net, not a fallback pool.
2.2 DHCP Configuration for Physical Machine Interfaces
All physical interface types are served by the same nico-dhcp instance. For
IPv4, nico-api selects candidate segments by finding the configured prefix
that contains the relay’s giaddr. The configured gateway is not the segment
selector. DHCPv6 uses an exact configured link-address match when present and
otherwise falls back to prefix containment.
Initial Network Configuration
Use [networks.<name>] blocks in siteConfig or the file specified by
initial_objects_file to define the network segments that nico-api creates
at startup. It creates missing segments and saves their initial definitions.
Editing these definitions and restarting nico-api does not update existing
segments. To add IPv6 without replacing an IPv4 BMC segment, refer to
Add IPv6 to an Existing BMC Underlay.
A network prefix identifies a range of IP addresses using CIDR notation, such
as 192.0.2.0/24 for IPv4 or 2001:db8:1::/64 for IPv6. An IPv4-only segment
has one IPv4 prefix; an IPv6-only segment has one IPv6 prefix. A dual-stack
segment has one prefix of each address family.
Forge Native Networking (FNN) admin networks support IPv4-only, dual-stack, and
IPv6-only prefixes. Without FNN, an admin segment requires an IPv4 prefix and
gateway. Before configuring IPv6-only admin networking, deploy Core and
DPU-agent builds containing PR #7651,
tracked in IPv6-only FNN admin networking.
IPv6-only admin networking changes the host-facing overlay. Retain IPv4 DPU
loopback addresses and IPv4 VXLAN tunnel endpoints. This transport requirement
does not restrict the address families of physical underlay segments.
The following example defines a new admin segment on an existing FNN-configured
site. Update the existing [fnn.admin_vpc] table in siteConfig and add the new
network definition; do not duplicate existing TOML tables. Retain the physical
networks, resource pools, site routing configuration, and any existing
[fnn.admin_vpc.routing_profile]. Keep the admin VNI and route-target settings
aligned with your fabric configuration.
Replace the prefix and admin VPC VNI with your site allocations. Keep the fixed
admin VNI outside the vpc-vni and external-vpc-vni allocation pools,
including later pool growth. Apply the following settings:
When [fnn.admin_vpc] is present, enabled is required. Set it to true to
select FNN for admin networking. Omitting the table or setting enabled = false
leaves admin FNN disabled. When enabled, vpc_vni is required. Startup fails if
it is omitted or another VPC already uses the value. NICo attaches all admin
segments, including existing ones, to the admin VPC. Startup attempts to
allocate missing switch virtual interface (SVI) addresses.
On each enabled startup, NICo reconciles vpc_vni with the existing admin VPC.
Changing it updates that VPC’s requested and active VNI; coordinate the change
with your fabric configuration. This differs from the seed-only behavior of
[networks.*] definitions: existing segment prefixes are not migrated.
This IPv6-only example omits gateway, prefix_v6, and dhcpv6_link_address.
Host admin address allocation during discovery does not require relay metadata.
Use a DPU-backed primary admin interface for this path. The DPU attached to that
interface serves stateful DHCPv6 and router advertisements (RA); other DPUs do
not serve admin DHCPv6 or RA. Use a DHCPv6 client for the admin address; SLAAC is
disabled on this path. The IPv6 host route is /128; RA advertises the containing
segment prefix with managed address configuration enabled and autonomous
address configuration disabled.
This DPU-local service does not require enabling the central Kea6 workload. This configuration does not qualify IPv6 boot support in host firmware or iPXE.
The prefix and relay fields have the following contract:
Supply type, mtu, and reserve_first in every definition. Optional address
fields must be omitted rather than set to an empty string.
For dual-stack or IPv6-only segments, configure an MTU of at least 1280 bytes, as required by RFC 8200. NICo’s configuration validation does not enforce this IPv6-specific minimum.
The following examples show the three prefix combinations. Replace the names and addresses with your site values:
In the dual-stack example, gateway belongs only to the IPv4 prefix.
dhcpv6_link_address selects the segment by exact match even though the
relay address is outside its IPv6 prefix. The IPv6-only example omits both fields;
DHCPv6 segment selection can use prefix containment when no exact configured
link-address match exists.
Gateway omission for IPv6-only definitions requires a binary containing IPv6-only gateway support, tracked in IPv6-only networks without a dummy gateway. Existing IPv6-only definitions can keep a supplied gateway of either address family. NICo accepts that value for compatibility and retains it in the stored initial definition, but does not attach it to the IPv6 network prefix.
If NICo created an IPv6-only network from a definition with a gateway, removing
that gateway from the configuration and restarting nico-api produces a
configuration drift warning. It does not rewrite the segment or its stored
initial definition. Before creating an IPv6-only network without a gateway,
check your rollback requirements: binaries predating this support cannot read
stored initial definitions without a gateway.
A conventional DPU site declares an admin segment and one or more underlay
segments covering its OOB relay scopes. A site with hosts that have no managed
DPUs also declares the required hostinband segments. The host BMC can use one
of those HostInband segments as described in
section 1.5.
To configure these flows:
- Declare the physical network segments in
siteConfig. Use the schema above. Each relay/link address must fall within the intended segment prefix, except a separately configured DHCPv6 link-address can select its segment by exact match. - Configure the DHCP relay for each address family in use. Send DHCPv4
traffic to the
nico-dhcp-externalLoadBalancer VIP assigned in Quick Start Step 3h. For optional DHCPv6, use the separatenico-dhcp6-externalIPv6 VIP as described in the DHCP Cutover Checklist. The relay-facing interface must cover the L2 broadcast domain whose clients it serves. In the shared HostInband topology, both the host BMC and host OS paths must produce relay metadata for that HostInband prefix. - For Fixed policies, upload
expected_machines.jsonwith the applicable interface reservations before the device first powers on. If the family already has a DHCP or Static allocation, changing the template does not replace it. Follow the targeted address update procedure in Address Allocation Lifetime. - For reservation-only segments, set
allocation_strategy = "reserved"and configure every Fixed reservation before DHCP. Dynamic and Retained declarations cannot acquire their first address when no reservation exists. - Set
dhcp_serversinsiteConfigto the list of DHCP server IPs reachable from bare-metal hosts. This list is informational and is passed through to agents; it does not change hownico-dhcpitself serves leases. May be left as[]. - Set
ntp_serversinsiteConfigto your IPv4 NTP server IPs. NICo uses this list to configure BMC NTP through Redfish during pre-ingestion, includes it inDiscoverDhcpresponses, and passes it to DPU agents for DHCPv4 option 42.
The values that nico-dhcp returns in DHCP options (nameservers, NTP servers, next-server, boot file, etc.) are sourced from:
- The
ntp_serverslist insiteConfig— preferred for DHCP option 42 when non-empty. - The Kea hook parameters in the
nico-dhcpHelm chart (nico-nameserver,nico-ntpserver, etc.) — set these to theunbound.nico(orunbound.nico, see section 3) recursive resolver VIP.nico-ntpserveris used only as a fallback whensiteConfig.ntp_serversis empty. - The per-segment definitions in
siteConfig[networks.<name>]blocks — gateway, MTU, additional routes.
The DPU-local DHCP server evaluates NTP precedence independently for each address family. Valid site-configured addresses replace service-discovered addresses only for the same family. When a family has no valid site-configured address, its service-discovered fallback is retained. Because siteConfig.ntp_servers accepts IPv4 addresses, it overrides DHCPv4 option 42 without suppressing service-discovered IPv6 servers advertised through DHCPv6 option 56.
NICo does not run a standalone NTP service. Point siteConfig.ntp_servers to your enterprise IPv4 NTP servers. NICo also attempts to set those servers on host BMCs during pre-ingestion. If the Redfish operation fails repeatedly, pre-ingestion continues and the failure is logged.
2.3 How to Verify DHCP Is Working
After deployment, validate the DHCP path end-to-end:
Confirm DHCPv4 LoadBalancer VIP assignment:
The Service type must be LoadBalancer, with an assigned IPv4 EXTERNAL-IP.
A <pending> IP indicates a MetalLB issue; refer to
Reference Installation
for troubleshooting. Address assignment alone does not prove that relay traffic
works. For optional DHCPv6, follow
Deployment Verification
for the separate IPv6 service and relay path.
Tail nico-dhcp logs while a BMC powers on:
Each DISCOVER should produce a log line showing the source MAC, the resolved segment, and either a leased address or a discover_dhcp gRPC error from nico-api. A DeadlineExceeded or Unavailable error means the hook cannot reach nico-api; check the nico-api LoadBalancer and TLS material.
Inspect Kea’s lease file to confirm a lease was committed:
The lease IP and MAC should match what nico-api allocated. The lease file is authoritative for Kea only — nico-api is the system of record.
On the switch relaying the tested BMC or HostInband client, verify packets
are being forwarded by checking its relay statistics (show ip dhcp relay statistics on Cumulus / SONiC). DISCOVER packets sent should match OFFER
packets received.
For DHCP-related stuck states during ingestion, see the WaitingForNetworkConfig playbook.
3. DNS Configuration
NICo’s DNS layer has two distinct pieces:
These two roles are independent. Managed machines never query nico-dns directly — they query the recursive resolver, which forwards or recurses as needed.
3.1 nico-dns Zones and What They Serve
nico-dns serves the site’s authoritative zones from nico-api’s database. It is a standalone DNS server: the binary listens on UDP and TCP 53 (--listen, default [::]:53) and answers each query by calling nico-api over gRPC for record data. It serves A, AAAA, and PTR records only, and it does not recurse; clients reach it through the recursive resolver (section 3.2), not directly.
The zones served are seeded by the initial_domain_name field in siteConfig (for example, mysite.example.com). On first start, nico-api creates the corresponding domain record; nico-dns then exposes whatever records exist in that zone in nico-api’s database.
UFM endpoints under default.ufm.<initial_domain_name> are one example of records served this way when InfiniBand is configured (see InfiniBand Setup).
Operators do not edit nico-dns zone files directly. Zone content is a function of nico-api’s database state.
For the record catalog these zones serve - machine, BMC, and instance names, plus the automatically derived reverse zones and their lifecycle - refer to DNS.
To configure nico-dns:
- Set
initial_domain_nameinsiteConfigto your site’s DNS domain. - Deploy the
nico-dnsStatefulSet; the binary listens on UDP/TCP 53 by default (--listen=[::]:53). - Assign a stable LoadBalancer VIP to the
nico-dnsservice that listens on UDP/TCP 53 (one per replica viaperPodAnnotations; see Quick Start Step 3h). - Delegate the
initial_domain_namezone from your upstream DNS to those VIPs, or configure your recursive resolver to forward queries for the zone to them.
3.2 unbound Recursive Resolver for Managed Machines
Managed machines (host OS, DPU OS, host BMCs, DPU BMCs) need a recursive resolver that can resolve both the site-internal NICo service zone and external names. NICo deploys an unbound instance for this purpose.
The resolver address is distributed to managed machines via DHCP option 6, set in the nico-dhcp Kea hook parameter carbide-nameservers (the config.kea.hookParameters.nameservers Helm value emits it). Managed machines have no compiled-in resolver address — changing the resolver is a DHCP configuration change, not a rebuild.
The resolver is responsible for:
- Recursive resolution of external (public-internet) names — needed for package fetches, NTP, etc.
- Authoritative resolution of the NICo service zone (
.forge,.nico, or whichever convention your deployment uses; see below). - Forwarding to
nico-dnsfor the site domain configured ininitial_domain_name.
To configure unbound:
- Populate the
local_data.confConfigMap consumed by theunboundHelm chart with an A record for each IPv4 service VIP. To advertise the NTP fallback through DHCPv6 option 56, also add AAAA records for reachable IPv6 NTP endpoints, as described in NICo DNS Service Endpoints. The chart derives the record type from each address inunbound.localData. - Add a forward zone entry for
initial_domain_namepointing at thenico-dnsVIPs. - Allow public-internet recursion (the default for the upstream
unboundimage) unless your site is fully air-gapped.
The Unbound Deployment declares a ConfigMap Reloader annotation. Where that controller is installed, configuration changes trigger a rollout. Otherwise, restart the Deployment through the site’s normal workflow. Unbound IPv6 Transport describes optional IPv6 DNS and metrics exposure, including the supplied-image contract and listener restart requirements. For external resolver VIPs, refer to Unbound External Services.
3.3 .nico DNS Service Endpoints
A fixed set of NICo service hostnames are resolved by DPU agents, host PXE loaders, and other in-band management components at runtime. Some consumers use compiled hostnames and require DNS to redirect them. Scout’s loader and update checker also accept boot URL overrides, as described below.
Two TLD conventions exist:
.forgeis the compiled default incrates/agent/src/util.rsand the host PXE loader scripts. The agent resolvescarbide-pxe.forge,carbide-ntp.forge, etc. at startup. This is the TLD used by deployments built from the current binaries..nicois the rebranded TLD documented in DNS Service Endpoints. Consumers with fixed compiled names need rebuilt images to use it. Scout can instead receive explicit boot URL overrides.
Choose the convention that matches your binaries. The stock names change both the first label and the TLD. For example, the NTP name is exactly carbide-ntp.forge, not nico-ntp.forge. Verify the name by checking what the agent actually resolves at startup with kubectl exec -n nico-system <agent-pod> -- getent hosts carbide-ntp.forge.
The required DNS records are shown with both PXE and NTP names where they differ:
The static-asset row describes Scout’s stock fallback. Boot URL overrides select their own host, scheme, port, and destination.
One additional hostname, socks.forge (stock) or socks.nico (rebranded image), is hardcoded into the DPU agent as the SOCKS5 proxy that containerd uses to pull extension service images. Add a corresponding A record only if your environment runs a SOCKS5 proxy for that purpose; it is not part of every NICo deployment. For per-endpoint detail (consumers, in-cluster addresses, hardcode locations, and the unbound-vs-other-resolver guidance), see DNS Service Endpoints. That file is the canonical endpoint reference; the table above is the operator-facing summary.
Note: The
.nicoservice zone is private and is not a publicly registered TLD. It can be served on the conventional isolated OOB network or on a supported shared HostInband network. Configure the recursive resolver to treat it as locally authoritative and not forward it to upstream public resolvers.
Bootstrap CA Selection and Network Trust
If you do not configure a bootstrap certificate authority (CA), DPUs retain the
historical behavior and download
http://<nico-pxe>/api/v0/tls/root_ca. You can make the bytes served by that
legacy endpoint independent of PXE’s own outbound API trust. Reference an
existing ConfigMap or Secret in the nico-pxe Helm release namespace:
Set either configMapName or secretName, but not both. If you set neither,
the chart preserves the old PXE deployment and payload path. This option can
serve a stable root instead of a rotating site intermediate. It does not
authenticate a CA fetched over DHCP-directed, DNS-resolved HTTP. Existing DPUs
retain the CA they already installed. A payload change affects only later
downloads unless you reprovision or refresh the DPU through another trusted
mechanism.
Outside Helm, set FORGE_BOOTSTRAP_ROOT_CAFILE_PATH to the PEM bundle path in
the nico-pxe container. If you do not set it, nico-pxe serves the file named
by FORGE_ROOT_CAFILE_PATH, preserving the historical bundle.
Non-DPF deployments can set [dpu_config].bootstrap_ca_source to embedded
or mounted. That setting applies only to DPU provisioning, not host Scout
boots. Embedded mode requires a site-specific BFB build with an explicit
BOOTSTRAP_CA_PATH. There is no default fallback for the dedicated embedded
payload. Existing legacy artifact inputs remain unchanged. Mounted mode
consumes the operator-populated final /opt/forge/forge_root.pem path instead
of the distinct embedded /opt/forge/embedded_forge_root.pem source. DPF
deployments use
[dpf.dpu_agent_bootstrap_ca] and support the legacy download or a mounted
Secret or ConfigMap. In legacy mode, url can replace the complete default
endpoint with an HTTP or HTTPS URL. The
DPU Agent Bootstrap CA section
provides full URL and mounted-object examples. The shared published DPU agent
image does not embed a site CA. Non-network modes require a valid local bundle
and fail closed without falling back to the download. Upgrade code, images, and
boot artifacts before enabling them. Reprovision non-DPF DPUs. For DPF changes,
restart carbide-api and roll the DPU agent pods.
Before pinning a root, inspect the NICo API certificate chain with the same DNS name the DPU uses:
Confirm the server sends the issuing intermediate certificate as well as the leaf. The bundle validates the server certificate independently of whether client-certificate authentication is enabled. If each replacement intermediate chains to the pinned root and the server presents the complete chain, clients can validate leaf certificates across those rotations without replacing the bundle. If an intermediate chains to a different root, stage and verify an updated root bundle before rotating the server chain. TLS server authentication does not authenticate the broader DHCP, DNS, iPXE, and user-data boot chain. Embedded deployments must separately protect artifact integrity and enforce Secure Boot or an equivalent trusted boot chain.
3.4 How to Verify DNS Is Working
From the site controller, confirm nico-dns is responding:
From a managed physical-network vantage point (a host BMC console, a managed host’s BMC web UI shell, or another client on its network), confirm the service zone resolves.
The loop below assumes stock agents and that your deployment publishes the
listed records. For an image rebuilt with the rebranded names, replace the
complete carbide-api.forge and carbide-pxe.forge hostnames with
nico-api.nico and nico-pxe.nico in the loop and the reachability checks.
If external_api_url is set, also check its hostname from the
static-assignments segment.
The loop checks carbide-static-pxe.forge, Scout’s stock fallback. If
Scout’s effective full-image or update URL names a different host, add that
hostname, and drop the fallback once no URL uses it. The newrootfs= and
pxe_uri= arguments select these URLs independently. Omit the DNS check for
any URL containing a literal IP address. An unused nico-static-pxe.nico
alias does not need to resolve.
Refer to the Static Boot Asset Server reference
for URL selection.
NTP is checked separately because stock agents query the exact
carbide-ntp.forge name. Do not derive it by replacing only the TLD. For an
image rebuilt to query nico-ntp.nico, replace the complete NTP hostname in
both commands. The loop checks A records; for IPv6 Scout endpoints, check
AAAA records for the selected hostname instead. For dual-stack NTP service,
the explicit AAAA query must also return at least one address. Otherwise, the
DPU server has no service-discovered IPv6 NTP address for DHCPv6 option 56.
A FAILED or empty result for a required record type needs investigation:
check resolver reachability and the hostname’s authoritative records or
forwarding configuration. Custom Scout hostnames do not necessarily use
local_data.conf. If your environment also runs a SOCKS5 proxy, extend the
loop with socks.forge for stock agents or socks.nico for rebranded images.
Confirm reachability on the expected ports:
A successful external recursion via unbound.nico confirms both DHCP option 6 (clients learn the resolver) and unbound’s recursion policy are correct.
4. End-to-end Day 0 Checklist
Use this checklist across the Day 0 rollout. Complete the configuration and infrastructure prerequisites before powering on the first host BMC. Complete the runtime checks as the first managed endpoints come online and before expanding the rollout to the rest of the fleet:
-
siteConfig[pools.lo-ip]and[pools.vpc-dpu-lo]populated with non-empty ranges. -
siteConfignetwork definitions follow the Initial Network Configuration requirements, including a gateway whenever an IPv4 prefix is present. - Each required physical segment declared in
[networks.<name>]:underlaycapacity for every DPU BMC/OOB pair and isolated host BMC, andhostinbandcapacity for every shared host BMC and host OS NIC on a host without managed DPUs. -
initial_domain_nameset insiteConfig. -
dhcp_serversset insiteConfig(or left as[]). -
ntp_serversset insiteConfig, or the legacynico-ntpDNS /nico-dhcpnico-ntpserverfallback is intentionally configured. -
expected_machines.jsonuploaded for every host; a Fixedhost_bmcinterface or compatible top-levelbmc_ip_addressconfigured for any host that needs a predefined BMC IP. - Every BMC-facing network, and every host-facing network for a host without
managed DPUs, configured with DHCP relay for each address family in use.
DHCPv4 relays use
nico-dhcp-external. DHCPv6 relays use the separatenico-dhcp6-externalIPv6 VIP. - LoadBalancer VIPs assigned for
nico-api, DHCPv4 (nico-dhcp-external), optional DHCPv6 (nico-dhcp6-external),nico-pxe,nico-dns(one per replica),nico-ssh-console-rs, andunbound. -
unbound’slocal_data.confConfigMap contains A records forcarbide-api.forgeandcarbide-pxe.forge(nico-api.nicoandnico-pxe.nicofor rebranded images),unbound.nico, and the OTel receiver hostname set byotlpSiteEndpoint(defaultotel-receiver.forge). The resolver can also resolve each hostname used by Scout’s effective full-image and update URLs in the required address family. An unusednico-static-pxe.nicoalias is optional. Include A records for the exact NTP hostname queried by the deployed agent and AAAA records for its DHCPv6 option-56 fallback (carbide-ntp.forgefor stock agents). -
nico-dnszone forinitial_domain_nameis delegated from upstream DNS, orunboundforwards the zone to thenico-dnsVIPs. -
unbound.nicoresolves every NICo service hostname (verified with thedigloop in section 3.4). - Select the bootstrap-CA mode intentionally.
- For non-DPF
embedded, deploy site-specific artifacts built withBOOTSTRAP_CA_PATH, verify their integrity, and enforce Secure Boot or an equivalent trusted boot chain. - For non-DPF
mounted, verify that provisioning installs a valid bundle at/opt/forge/forge_root.pemon every DPU and that each DPU authenticates the NICo API without TLS errors. - For DPF
mounted, verify that the selected Secret or ConfigMap and key exist in thedpu-agentworkload namespace of every target DPU cluster. After the pods start, verify that every DPU agent pod installs/opt/forge/forge_root.pemand authenticates the NICo API without TLS errors. - When pinning a root, the NICo API TLS handshake includes the issuing intermediate certificate.
-
nico-dhcplogs show DISCOVER → OFFER for a test BMC power-on.
When every item is checked, proceed to Ingesting Hosts.
Related Pages
- Network Prerequisites — VNI/ASN/IPv4 sizing, BGP/EVPN, route targets, switch configuration.
- BMC and Out-of-Band Setup — physical management networks, DHCP relay setup, BMC credentials.
- IP Resource Pools —
lo-ip/vpc-dpu-losemantics, sizing,admin-cli resource-pool grow. - Quick Start Guide — the install flow that consumes the configuration described here.
- Reference Installation — pointers to the manual, manifest-level install and troubleshooting references.
- Ingesting Hosts —
expected_machines.jsonschema and upload commands. - DNS Service Endpoints - canonical reference for NICo service hostnames, ports, and hardcoded-vs-configurable status.