From: Stefan Jakobs (stefan.jakobs_at_rus.uni-stuttgart.de)
Date: Fri Jun 09 2006 - 16:05:29 CEST
From: Stefan Jakobs <stefan.jakobs@rus.uni-stuttgart.de> Date: Fri, 9 Jun 2006 16:05:29 +0200 Message-Id: <200606091605.29571.stefan.jakobs@rus.uni-stuttgart.de> Subject: Re: [suse-sles-e] Problem with network and FW
Am Freitag, 9. Juni 2006 13:37 schrieb Rafa Grimán:
> Hi :)
> > - Adding a rcScript, that runs "ifconfig bond0 add 192.168.11.23" at
> > startup
>
> Why do you run this script, it's not needed for channel bonding?
I need a virtual interface (bond0:0) and I couldn't figure out how to do this
with the ifcfg files. But that's an other story.
> There's a very simple way to setup channel bonding:
>
> 1.- YaST -> Network Devices -> Network Device
> 2.- Configure eth0 and eth1 as DHCP
> 3.- Configure gateway
> 4.- Save and exit YaST
> 5.- cd /etc/sysconfig/network
> 6.- vi ifcfg-eth0 and replace:
> BOOTPROTO='dhcp'
> with
> BOOTPROTO='none'
> 7.- repeat for eth1
> 8.- create a file called ifcfg-bond0 with the following:
> BOOTPROTO='static'
> BROADCAST='172.16.0.255'
> IPADDR='172.16.0.1'
> MTU=''
> NETMASK='255.255.255.0'
> NETWORK='172.16.0.0'
> REMOTE_IPADDR=''
> STARTMODE='onboot'
> BONDING_MASTER='yes'
> BONDING_MODULE_OPTS='miimon=100 mode=1 use_carrier=1'
> BONDING_SLAVE0='eth0'
> BONDING_SLAVE1='eth1'
>
> Change BROADCAST, IPADDR, NETMASK, NETWORK and BONDING_MODULE_OPT to match
> your needs.
> 9.- Then add in /etc/modprobe.conf.local
> alias bond0 bonding
> options bonding miimon=100 mode=1 use_carrier=1
> The last line must match BONDING_MODULE_OPTS.
> 10.- rcnetwork restart
OK. I changed my settings, but I get the same failure after reboot. With
plugged in network cable the server hangs after starting the network. And
with plugged out network cable the server starts without any problem.
> That should get you going :)
Unfortunately not. :(
> HTH
>
> Rafa
Bye
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com
This archive was generated by hypermail 2.1.7 : Fri Jun 09 2006 - 16:08:28 CEST