Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
| Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung | |||
|
admin_grundlagen:bonding [2012/07/03 22:39] ingo_wichmann |
admin_grundlagen:bonding [2012/07/03 23:04] (aktuell) ingo_wichmann |
||
|---|---|---|---|
| Zeile 4: | Zeile 4: | ||
| ethtool eth1 | grep 'Link detected: yes' | ethtool eth1 | grep 'Link detected: yes' | ||
| - | ''/etc/modprobe.conf.local'' : | + | ''/etc/modprobe.conf.local'' : SLES 11SP1 |
| + | |||
| + | ''/etc/modprobe.d/bonding.conf'' : CentOS 5 | ||
| <file> | <file> | ||
| alias bond0 bonding | alias bond0 bonding | ||
| Zeile 10: | Zeile 13: | ||
| </file> | </file> | ||
| + | ==== SLES 11SP1 ==== | ||
| ''/etc/sysconfig/network/ifcfg-bond0'' : | ''/etc/sysconfig/network/ifcfg-bond0'' : | ||
| <file> | <file> | ||
| Zeile 22: | Zeile 26: | ||
| mv /etc/sysconfig/network/ifcfg-eth0{,.bak} | mv /etc/sysconfig/network/ifcfg-eth0{,.bak} | ||
| mv /etc/sysconfig/network/ifcfg-eth1{,.bak} | mv /etc/sysconfig/network/ifcfg-eth1{,.bak} | ||
| + | |||
| + | service network restart | ||
| + | |||
| + | ==== CentOS 5 ==== | ||
| + | ''/etc/sysconfig/network/ifcfg-bond0'' : | ||
| + | <file> | ||
| + | DEVICE=bond0 | ||
| + | ONBOOT=yes | ||
| + | BOOTPROTO=dhcp | ||
| + | USERCTL=no | ||
| + | BONDING_OPTS="miimon=100 mode=0 use_carrier=0" | ||
| + | </file> | ||
| + | |||
| + | ''/etc/sysconfig/network/ifcfg-eth0'' : | ||
| + | <file> | ||
| + | DEVICE=eth0 | ||
| + | BOOTPROTO=none | ||
| + | ONBOOT=yes | ||
| + | MASTER=bond0 | ||
| + | SLAVE=yes | ||
| + | USERCTL=no | ||
| + | </file> | ||
| + | |||
| + | ''/etc/sysconfig/network/ifcfg-eth1'' : | ||
| + | <file> | ||
| + | DEVICE=eth1 | ||
| + | BOOTPROTO=none | ||
| + | ONBOOT=yes | ||
| + | MASTER=bond0 | ||
| + | SLAVE=yes | ||
| + | USERCTL=no | ||
| + | </file> | ||
| service network restart | service network restart | ||