Re: zwei bonding Interfaces mit unterschiedlichen Modul Optionen
Ralf Gross schrieb:
> ...
> Hat jemand eine Idee wie ich bond0 und bond1 unter Linux mit unterschiedlichen
> Moduloptionen konfigurieren kann?
Ok, irgendwie hatte ich im bonding howto den Bereich mit sysfs übersehen. Ich
habe nun also:
/etc/modprobe.d/bonding
alias bond0 bonding
alias bond1 bonding
options bonding mode=2 miimon=100 downdelay=200 max_bonds=
Und dann zusätzlich für das bond1 Interface in der /etc/network/interfaces:
[...]
slaves eth2 eth3
pre-up echo 0 > /sys/class/net/bond1/bonding/mode
pre-up echo 100 > /sys/class/net/bond1/bonding/miimon
pre-up echo 200 > /sys/class/net/bond1/bonding/downdelay
pre-up echo 200 > /sys/class/net/bond1/bonding/updelay
So funktionert es jetzt wie gewünscht.
Ich fände es zwar eleganter, alles was das Modul betrifft in
/etc/modprobe.d/bonding zu machen, momentan weiß ich aber nicht wie das gehen
soll. Vielleicht mit der install Option modprobe.conf(5).
Ralf
Reply to: