← Holocron Logs

Giving the Most Important Node a Second NIC

Node-C carries DNS, the reverse proxy, and the SIEM on a single network card. An active-backup bond across its two NICs means a dead card, cable, or port no longer takes all three down, and a cable pull proved it.

Why this matters beyond the homelab: A single point of failure doesn’t always need new hardware. The weakest machine in the fleet hosts DNS, the reverse proxy, and the SIEM behind one network card, and a spare port plus a bond mode that asks nothing of the switch removed that risk. It is the standard redundancy question for any production host: what takes this down, and what is already sitting unused that could cover it?


The 2.5G Port

The obvious plan was to move the uplink to the faster Realtek 2.5GbE port. The switch it connects to, a UniFi US-8-150W, only has gigabit ports, so the Realtek would have linked at 1G and gained nothing. It also wasn’t the card I wanted in the active path. The Intel I219 is known-good, and the Realtek’s driver family is the leading suspect in a separate crash history on another node.

So the spare NIC became a standby instead. The Intel is the primary and the Realtek waits in reserve.


The Configuration

In /etc/network/interfaces, both NICs become members of a bond in active-backup mode, and the bridge uses the bond instead of a single interface:

auto bond0
iface bond0 inet manual
    bond-slaves nic1 nic0
    bond-mode active-backup
    bond-primary nic1
    bond-miimon 100

auto vmbr0
iface vmbr0 inet static
    bridge-ports bond0
    # address, gateway, and VLAN settings unchanged

bond-miimon 100 checks link state every 100ms, which is what makes failover take roughly that long. Active-backup needs no switch-side configuration, which matters: a UniFi provisioning change can’t knock the node off the network, and the switch needs only two ports with the same profile. It is applied with ifreload -a, with a backup of the interfaces file taken first and the Proxmox console open in another tab in case SSH drops.


Two Hazards

PoE. The US-8-150W can supply 24V passive PoE per port, which powers a device unconditionally and can damage a NIC that isn’t built for it. Both ports are set to PoE off. 802.3at auto would be safe, but off is cleaner.

The test is itself a risk. With no secondary DNS yet, pulling the primary cable briefly puts DNS and routing on the line for the whole network. The test belongs in a quiet window, and it’s the same reason patching Node-C was deferred.


The Test

With a client continuously resolving through AdGuard, I pulled the Intel NIC’s cable. Resolution continued with zero packet loss. After reconnecting, cat /proc/net/bonding/bond0 shows which member is currently active, which is the check to run before calling the test finished.


Making Failure Visible

Failover is silent by design, and a silent failover is a trap: the first NIC dies and nothing notices, then the second dies and the node drops off the network with no warning. Beszel already reports network interface state on every node, so that gives visibility without adding another collector. A Grafana warning for a bond member going down is queued in the alerting sprint, and that is the part that turns visibility into an alert.


What It Doesn’t Cover

A bond protects against a failed card, cable, or port. It does not protect against the switch itself, which remains a single point of failure for Node-C.


A Different NIC Problem on Another Node

Node-A has one onboard Intel NIC and nothing to bond it with, so it got a different kind of fix. In August it logged thousands of hardware hang errors and lost cluster quorum repeatedly until it needed a daily reboot. Energy Efficient Ethernet turned out to be enabled, and turning it off along with the segmentation offloads, persisted in the interface stanza, targeted the cause, and it fixed the problem. The bond is the opposite approach: it doesn’t remove the cause, it removes the consequence.


The Lesson

Removing a single point of failure doesn’t always need new hardware. Sometimes it needs a port that was already there, a mode that asks nothing of the switch, and a test that you actually perform with a cable.


Related: Node-C: The Gozanti Cruiser, Security Sentinel | The Strongest Node Is Idle, the Weakest One Can’t Fail | A Fourth Node for Maintenance, Not Capacity | Beszel: Host-Level Monitoring Without Running Another Stack

← Back to Holocron Logs