The ifenslave program is used to set up bonding for network devices. This must be used in conjunction with support for bonding in the Linux kernel.
Program syntax is ifenslave [options] master slave [slave..].
Options include:
An example of creating a bonding device, using two interfaces, where eth0 is the master and eth1 is the slave:
ifenslave eth0 eth1
The new device name is bond0, and can be set as normal using ifconfig, ip, ifup, etc.
Check the bonding interface:
cat /proc/net/bonding/bond0