BOND2TEAM(1)
π BOND2TEAM π
okay so bestie, welcome to bond2team(1) β the little glow-up machine that takes your crusty old bonding setup and turns it into a team. yes, that's the whole vibe. it's from libteam, and it's here to help you move on. π¦
β¨ NAME β¨
bond2team β converts bonding configuration to team. that's it, that's the girl. π
πΈ SYNOPSIS πΈ
bond2team [options]
π DESCRIPTION π
so bond2team is a tool that converts bonding options to team, and it tries as much as possible to keep the original functionality. like, it's not trying to change your whole life, it's just translating. π«Ά
the resulting files get saved in a temporary directory, using ifcfg style by default.
in the case of converting an ifcfg file, it translates the bonding options to team and preserves all other options. and in that case, it also converts the respective slave ifcfg files to team port, preserving all their other options too. so nothing gets left behind, bestie. iconic.
in case of converting from given bonding options on the command line, the tool can use the specified ports as team ports. easy.
π OPTIONS π
--master<interface> β specify the interface name or ifcfg file to convert. if you give it an interface name, the tool will go look in/etc/sysconfig/network-scripts/for the respective ifcfg file. it's giving detective energy. π--rename<interface> β a convenient option to replace the original interface name with the specified name. for instance, if--masterspecifiesbond0, you can use--rename team0to change the final interface name toteam0. a full rebrand, slay. π--ifcfgβ set the output format to ifcfg config style. [default]--jsonβ set the output format to JSON style. seeteamd.conf(5)for further details. β¨--bonding_opts '<bonding options>'β specify the bonding options to be converted instead of reading them from the ifcfg file.--port<interface> β set the specified interface as a team port. you can stack these, go off. π--configdir<directory> β change the ifcfg configuration path from/etc/sysconfig/network-scriptsto the specified <directory>.--outputdir<directory> β set the output directory to <directory>.--stdoutβ print the result to the screen instead of writing to files. for when you just wanna peek. π--debugβ increase the debugging level. more words, more clarity.--quietβ disallow any messages to be printed to console. shhh. π€«--versionβ print tool version to console and exit.--helpβ print help text to console and exit.--examplesβ print common usage examples to console and exit. the people's option fr fr.
π EXAMPLES π
to convert the current bond0 ifcfg configuration to team ifcfg:
# bond2team --master bond0
to convert the current bond0 ifcfg configuration to team ifcfg, renaming the interface name to team0:
Caution : firewall rules, alias interfaces, etc., that might be tied to the original interface name can break after the renaming because the tool will only change the ifcfg file, nothing else. π like, it does ONE thing. it is not doing your whole config, bestie.
# bond2team --master bond0 --rename team0
to convert given bonding parameters with ports without any ifcfg:
# bond2team --bonding_opts 'mode=1 miimon=500 primary=eth1 primary_reselect=0' --port eth1 --port eth2 --port eth3 --port eth4
for more examples, see the option --examples.
π CAVEATS π
the tool will not convert any other configuration which might be tied to the current setup. for instance, firewall rules, alias interfaces, bridges, and so on.
so like. it's not omniscient. it's not gonna chase down every little thread connected to your setup. you gotta handle that yourself. periodt.
π AUTHOR π
Flavio Leitner is the original author of the tool.
Jiri Pirko is the original author and current maintainer of libteam. we stan. π«Ά
π¦ SEE ALSO π¦
teamd(8), teamdctl(8), teamd.conf(5), teamnl(8)
okay that's the whole page, you ate it, go convert something. mwah π
this was libteam, dated 2013-07-18 β yeah it's vintage but it's still serving. bye bestie!! β¨ππ
π¦ where this page comes from
- alpine 3.24: libteam-doc 1.31-r8 Β· LGPL-2.1-or-later
- arch rolling: libteam 1.32-3 Β· LGPL-2.1-or-later
- centos-stream 9: teamd 1.31-16.el9 Β· LGPLv2+
- centos-stream 9: teamd 1.31-16.el9 Β· LGPLv2+
- debian bookworm: libteam-utils 1.31-1 Β· LGPL-2.1-or-later
- debian trixie: libteam-utils 1.31-1+b2 Β· LGPL-2.1-or-later
- fedora 43: teamd 1.32-12.fc43 Β· LGPL-2.0-or-later
- fedora 43: teamd 1.32-12.fc43 Β· LGPL-2.0-or-later
- fedora 44: teamd 1.32-13.fc44 Β· LGPL-2.0-or-later
- fedora 44: teamd 1.32-13.fc44 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libteam-tools 1.32-bp160.1.12 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libteam-tools 1.32-bp160.1.12 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libteam-tools 1.32-bp160.1.12 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libteam-tools 1.32-bp160.1.12 Β· LGPL-2.1-or-later
- ubuntu jammy: libteam-utils 1.31-1build2 Β· LGPL-2.1-or-later
- ubuntu noble: libteam-utils 1.31-1build3 Β· LGPL-2.1-or-later
- ubuntu questing: libteam-utils 1.31-1build3
- ubuntu resolute: libteam-utils 1.31-1build4 Β· LGPL-2.1-or-later
- ubuntu stonking: libteam-utils 1.31-1build4 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms