Why we get "Interface ethX is already enslaved!“ or "RTNETLINK answers: File exists" when bring up a new configured bonding devices.
Issue
When a user runs the following steps then it would lead to the error in below form.
1, Remove all the configuration files (ifcfg-ethX and ifcfg-bonding) under /etc/sysconfig/network-scripts/
2, Reboot Red Hat Enterprise Linux 6.
3, Then create configuration files(ifcfg-ethX and ifcfg-bonding) for ethX and bondX.
4, Run ifup bondX.
#ifup bond1
bonding: bond1: Interface eth0 is already enslaved!
RTNETLINK answers: File exists
Environment
Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.