Skip to main content

Linux network bonding

v0.1.4

Inspect Linux network bonding / LACP: list bond interfaces, read a bond's full status from /proc/net/bonding (mode, LACP actor/partner state, per-slave link status), and show link-layer details. Read-only.

3 allowed by default
Pack ID
bonding
Vendor
emisar
OS
linux
Actions
3

Install

emisar pack install fetches this pack, re-validates it, and verifies its content hash against the --hash below — the exact bytes this page was rendered against, so a tampered copy is rejected — before copying it into the runner's packs dir. The command reloads a running daemon itself; no manual restart.

on the runner host
sudo emisar pack install bonding --hash sha256:97bb227b426b5a285fbe0b5d935d83f834f3e632e3f7d2e2bb8596b707476d40

Setup

Reads the host's bonding state from /proc/net/bonding and ip . No credentials needed; the reads work as any user.

Notes

  • Pass the bond interface name (e.g. bond0) to bonding.status / bonding.link. /proc/net/bonding/<bond> exists only when the bonding module is loaded and that bond is configured.

Verify it works

Runs bonding.list, a low-risk read that confirms the pack can reach its target. Run it on the host once the pack is installed; pack install runs it for you.

on the runner host
sudo emisar pack verify bonding

Install and configure a pack walks through the whole sequence on a host.

Actions 3 total

View on GitHub
  • bonding.link exec low Low — read-only or trivially reversible

    ip -d link show <bond>

    Show link-layer + bond detail for one interface (state, MTU, mode, xmit hash, LACP rate).

    View source on GitHub
  • bonding.list exec low Low — read-only or trivially reversible

    ip -d link show type bond

    List bond interfaces with their link-layer and bond-mode details.

    View source on GitHub
  • bonding.status exec low Low — read-only or trivially reversible

    cat /proc/net/bonding/<bond>

    Show full bond status from /proc/net/bonding/<bond> — bonding mode, MII status, and for 802.3ad (LACP) the actor/partner state plus each slave's link state and aggregator id.

    View source on GitHub