[linux-l] Re: Konfigfile fuer bonded interfaces

JSC belug at jsc.no-ip.org
Mo Sep 11 18:09:14 CEST 2006


On Mon, Sep 11, 2006 at 09:20:54PM +1000, Peter Ross wrote:
> Hi,
> 
> ich habe auf Red Hat Enterprise 4.0 Systemen Interfacebonding 
> konfiguriert, mit Skripten folgender Art:
>  
> # For modes see http://www.linuxhorizon.ro/bonding.html
> #    mode=0 loadbalancing with failover
> modprobe bonding mode=0 miimon=100 downdelay=200 updelay=200
> ip addr add ${net_address} brd + dev bond0
> ip link set dev bond0 up
> ifenslave bond0 eth0 eth1
> 
> route add default gw ${net_gateway}
> 
> Beim Schauen in /etc/init.d/network fiel mir auf, dass die Konfiguration 
> von Bond-Interfaces hier auch unterstuetzt wird, 
> 
> --schnipp--
> # get list of bonding, cipe, and xdsl interfaces )
> --schnapp--
> 
> leider bin ich mir aber nicht ganz im klaren, was ich dazu unter 
> /etc/sysconfig/network-scripts schreiben muss.
> 
den modprobe kram in modprobe.conf einpflegen,

vi /etc/sysconfig/network-scripts/ifcfg-eth0
  DEVICE=eth0
  MASTER=bond0
  SLAVE=yes

vi /etc/sysconfig/network-scripts/ifcfg-eth1
  DEVICE=eth1
  MASTER=bond0
  SLAVE=yes

vi /etc/sysconfig/network-scripts/ifcfg-bond0
  DEVICE=bond0
  TYPE=Bonding
  ADDRESS=1.2.3.4

> Hat das mal jemand gemacht?
> 
noe !

obige aussage entspricht meiner ungetesteten interpretation von
/etc/sysconfig/network-scripts/ifup.

viel erfolg !

die funktionierende docu kommt hierher zurueck ? ;-)

gruss
Jens



Mehr Informationen über die Mailingliste linux-l