I'm trying to configure 2 bonding interfaces ( bond0 -> eth2+eth4 and bond1 -> eth3+eth5 ).
I have 2 switches ( 1Gb and 100Mb ) so I want to configure primary interface eth2 for bond0 and primary eth3 for bond1.
I tried writing my /etc/modprobe.conf like this :
alias bond0 bonding
alias bond1 bonding
options bond0 miimon=100 mode=1 primary=eth2 max_bonds=2
options bond1 -o bondingprimary=eth3
bond0 works ! but bond1 too have eth2 as a primary interface :(
How can I solve this problem ?