5.6. Converting a Bond to a Team
It is possible to convert existing bonding configuration files to team configuration files using the bond2team tool. It can convert bond configuration files in ifcfg
format to team configuration files in either ifcfg
or JSON format. Note that firewall rules, alias interfaces, and anything 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.
To see some examples of the command format, issue the following command:
~]$ bond2team --examples
New files will be created in a directory whose name starts with
/tmp/bond2team.XXXXXX/
, where XXXXXX is a random string. After creating the new configuration files, move the old bonding files to a backup folder and then move the new files to the
/etc/sysconfig/network-scripts/
directory. See the
bond2team(1)
man page for further details.