IFENSLAVE(8)
π IFENSLAVE π
okay bestie, gather round, because ifenslave from the System Manager's Manual is literally about to become your new hyperfixation β¨
β¨ NAME β¨
ifenslave β attach and detach slave network devices to a bonding device π
π SYNOPSIS π
ifenslave [-acdfhuvV] [--all-interfaces] [--change-active] [--detach]
[--force] [--help] [--usage] [--verbose] [--version] master
slave ...
πΈ DESCRIPTION πΈ
so like, ifenslave is the tool that attaches and detaches slave network devices to a bonding device. fr fr, that's the whole job. π«Ά
here's the vibe: a bonding device acts like a totally normal Ethernet network device to the kernel, but the way it actually sends out packets is via the slave devices, using a simple round-robin scheduler. and the way that gives you simple load-balancing?? identical to the "channel bonding" or "trunking" techniques switches use. it's giving β¨main character networkingβ¨, no cap. π
π okay but important: your kernel must have support for bonding devices or ifenslave is literally useless to you. vibe check your kernel first, bestie.
π OPTIONS π
-a,--all-interfacesβ show info about all the interfaces π-c,--change-activeβ change the active slave π-d,--detachβ removes slave interfaces from the bonding device, bye bestie π-f,--forceβ force actions to be taken if one of the specified interfaces appears not to belong to an Ethernet device. sometimes you just gotta be a little pushy πͺ-h,--helpβ display a help message and exit π-u,--usageβ show usage information and exit π-v,--verboseβ print warning and debug messages, so you actually know what's happening π£οΈ-V,--versionβ show version information and exit π·οΈ
β psst: if you give no options at all, the default action is to enslave interfaces. iconic default behavior tbh.
π EXAMPLE π
here's how you set up a bonding device and enslave two real Ethernet devices to it, step by step, bestie π§
# modprobe bonding
# ifconfig bond0 192.168.0.1 netmask 255.255.0.0
# ifenslave bond0 eth0 eth1
slay. three lines and you're bonded. π
π AUTHOR π
Guus Sliepen <guus@debian.org> β the actual legend who wrote this π
and that's the whole page, fr fr π Debian GNU/Linux, dated 2012-07-13, and yeah the manual name is IFENSLAVE(8) because of course it is. go bond something, bestie π¦πΈ
π¦ where this page comes from
- ubuntu jammy: ifenslave 2.10ubuntu3 Β· GPL-3.0-or-later
- ubuntu noble: ifenslave 2.10ubuntu3 Β· GPL-3.0-or-later
- ubuntu resolute: ifenslave 2.10ubuntu4 Β· GPL-3.0-or-later
- ubuntu stonking: ifenslave 2.10ubuntu4 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms