Bonded connections (NIC teaming, LACP)

A bond shows up as one network card with one MAC address, so a scan cannot see that one of its cables went down: the host stays online, with less redundancy. Tell Netlens which switch ports carry the bond and it reports a lost link.

  • Set it up on the host’s page (Network tab, Bonded connection): pick the switch, tick the two or more ports the bond’s cables are plugged into, give the group a name and add it. The switch has to be one that a plugin reads (for example TP-Link Easy Smart, Omada, UniFi, OpenWrt or SNMP), because the state of its ports comes from there. A port can belong to one group, a group has 2 to 16 ports on one switch, and a host can have more than one group.
  • What you get: link_degraded (“Bond0: 1 of 2 links up; no link on port 1”) when a member loses its link or all of them do, and link_recovered when all are up again. The dashboard lists a bond that lost a link under needs attention (a warning; a problem when every link is down) until it is back, and the assistant can answer “did a bond lose a link?”.
  • Alerts: choose the two events under Settings → Alert channels. They are ordinary warnings, so quiet hours hold them back (only the critical kinds break through); a channel only hears events from the moment it is set to include them.
  • On the switch: the ports of the bond are marked on the switch’s own page: in Switch ports the Connected column names the host and the bond, and in Connected devices the port shows the host with “(bond)”.
  • Unknown instead of a guess: a switch that has not reported for 30 minutes makes the state unknown and nothing is claimed.
  • API: GET /api/link-groups (optionally ?device_id=) lists the groups with the live state of their members; POST, PATCH and DELETE /api/link-groups change them. The assistant has get_link_groups (MCP).

To see the link state from the host itself as well, use the Link down alert (next section).