[plug] Ethernet Bonding

Arie Hol arie99 at ozemail.com.au
Fri Oct 19 01:14:34 WST 2007



On 18 Oct 2007 at 15:35, Adrian Woodley wrote:

> By default, all interfaces in a bond group will be assigned the MAC 
> address of the first slave interface.
> 
> Does anyone know a way to have each interface retain its own MAC, 
> including the bond interface itself?
> 
> Cheers,
> 
> Adrian

I have just been doing some reading at :

http://linux-net.osdl.org/index.php/Bonding

I am new to all of these networking aspects, so please excuse my ignorance.

I get the impression that you need a set of ID files, 
ie : one id file for each slave device..

Are you using a set of ifcfg-id files ?

Where each file name would be something like :

ifcfg-id-xx:xx:xx:xx:xx:xx

Where the xx 's are replaced by the slave device's permanent MAC address

Each file would look something like this :

BOOTPROTO='dhcp'
 STARTMODE='on'
 USERCTL='no'
 UNIQUE='XNzu.WeZGOGF+4wE'
 _nm_name='bus-pci-0001:61:01.0'

Then there is also a main configuration file with a name something like :

ifcfg-bondX

And the contents of this file would look something like :

BOOTPROTO="static"
 BROADCAST="10.0.2.255"
 IPADDR="10.0.2.10"
 NETMASK="255.255.0.0"
 NETWORK="10.0.2.0"
 REMOTE_IPADDR=""
 STARTMODE="onboot"
 BONDING_MASTER="yes"
 BONDING_MODULE_OPTS="mode=active-backup miimon=100"
 BONDING_SLAVE0="eth0"
 BONDING_SLAVE1="bus-pci-0000:06:08.1"


All of the above is covered under the heading - 

"Configuration with sysconfig support"

in the page at :

http://linux-net.osdl.org/index.php/Bonding

Am I on the right track here ?

I find this topic very interesting, I just hope I haven't jumped in at the 
wrong end.

Regards Arie
------------------------------------------------------------------
 For the concert of life, nobody has a program.
------------------------------------------------------------------



More information about the plug mailing list