  | |  | Network scripts issues with bonding | Network scripts issues with bonding 2004-01-20 - By Eric-Olivier Lamey
Back
Hi,
And thank you for your answer. Your configuration files look exactly like
mine. I indeed modified /etc/modules.conf (if not, the interface would not
show up).
Actually, when I do an 'ifup bond0 ', the bond0 interface gets configured,
eth0 gets enslaved but do not get any address and I have the following
error
messages:
Jan 14 14:45:48 akira ifup: Enslaving eth0 to bond0
Jan 14 14:45:48 akira ifup: Something broke getting the master 's IP address:
Cannot assign requested address.
Jan 14 14:45:48 akira ifup: Something broke getting the master 's destination
address: Cannot assign requested address.
Jan 14 14:45:48 akira ifup: Something broke getting the master 's broadcast
address: Cannot assign requested address.
Jan 14 14:45:48 akira ifup: Something broke getting the master 's netmask:
Cannot assign requested address.
Jan 14 14:45:48 akira ifup: Something broke setting the slave 's address:
Invalid argument.
Jan 14 14:45:48 akira ifup: Error setting the slave (eth0) with
SIOCSIFDSTADDR: Invalid argument.
Jan 14 14:45:48 akira ifup: Something broke setting the slave (eth0)
broadcast address: Invalid argument.
Jan 14 14:45:48 akira ifup: Something broke setting the slave (eth0)
netmask: Invalid argument.
I needed it to work quickly, so I commented the lines in 'ifup '
which enslaves eth*, and the lines in '/etc/init.d/network ' that
skip them. It works but I don 't like the solution.
--
Eric-Olivier Lamey
System administrator
Ubisoft Montr�al
> -- --Original Message-- --
> From: list@(protected) [mailto:list@(protected)]
> Sent: January 19, 2004 6:09 PM
> To: taroon-list@(protected)
> Subject: RE: Network scripts issues with bonding
>
>
> > On Mon, 2004-01-19 at 17:08, Eric-Olivier Lamey wrote:
> > > Hi,
> > > I am trying to use the kernel bonding feature with two
> interfaces
> > > on several on our servers and I am having trouble making it work
> > > with the supplied network scripts.
> <snip >
> > > What am I doing wrong ? Does anyone have a working
> > configuration and
> > > could help me ?
> > >
> > > Thanks a lot.
>
> I 'm no expert on any of this, but I do have a working config
> running under RHEL3 on the same Broadcom cards so maybe the
> following notes I made at the time will help.
>
> Configure nic bonding (as per
> /usr/src/linux-2.4/Documentation/networking/bonding.txt)
> vi /etc/modules.conf and add the following lines:
> alias bond0 bonding
> options bond0 miimon=100 mode=active-backup
> create new file /etc/sysconfig/network-scripts/ifcfg-bond0 with
> following lines:
> DEVICE=bond0
> IPADDR=192.168.0.1
> NETMASK=255.255.255.0
> NETWORK=192.168.0.0
> BROADCAST=192.168.0.255
> ONBOOT=yes
> BOOTPROTO=none
> USERCTL=no
> modify existing file
> /etc/sysconfig/network-scripts/ifcfg-ethX to
> read as follows:
> DEVICE=ethX
> USERCTL=no
> ONBOOT=yes
> MASTER=bond0
> SLAVE=yes
> BOOTPROTO=none
> service network restart
>
> Have you updated modules.conf?
> Do you have a DEVICE= line on its own at the top of the
> ifcfg-ethX files? I 'm using the tg3 network drivers by the
> way - don 't know if that 's relevant.
>
> Regards,
>
> Steve T.
>
> (apologies if you get 2 copies of this - I sent first with
> wrong from addr and got blocked)
>
>
>
> --
> Taroon-list mailing list
> Taroon-list@(protected)
>
http://www.redhat.com/mailman/listinfo/taroon-
> list
>
--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |