Author Login
Post Reply
anaconda adds these lines at build time to the eth devices. We have a
sript in the kickstart that configures bonding and remove these lines
from the eth0 and eth2 devices.
I can change the script to not do that but I am still unsure that this
would always be persistent at build time. If I build a 1000 servers will
they all build with the same interface eth0 and eth2? If it is random
for normal boot then I don't believe it will be any other way for
building. I am also not keen on hand editing a large amount of servers
to fix this.
The bonding driver suggest trying to add this:
BONDING_SLAVE1="bus-pci-0000:06:08.1"
to the ifcfg-bond0 file.
I still need to try that. That looks like a sure fire way for it to work
predictably everytime.
Regards
> -----Original Message-----
> From: rhelv5-list-bounces@(protected)-
> bounces@(protected)
> Sent: 14 March 2008 13:05
> To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
> Subject: Re: [rhelv5-list] Persistent naming for eth devices
>
> On Friday 14 March 2008 09:01:07 am Gerrard Geldenhuis wrote:
> > Hi
> > I am having some trouble with a HP GL360 server with an onboard
network
> > card that sometimes is eth0 and eth1 and sometimes eth2 and eth3.
> > I am unsure how to get Redhat to consistently have eth0 be the same
eth0
> > it was before.
> >
> > Redhat has automatically added aliases in modprobe.conf
> > alias eth0 bnx2
> > alias eth1 bnx2
> > alias eth2 e1000
> > alias eth3 e1000
> >
> > However this gets ignored or does not work as expected.
> >
> > According to the bonding driver documentation I can add the
following to
> > ifcfg-bond0
> >
> > BONDING_MODULE_OPTS="mode=active-backup miimon=100"
> >
> > However I it does not work and I have to put these options in
> > /etc/modprobe.conf. I am guesing the up down scripts for networking
does
> > not read this...
> >
> >
> > I would greatly appreciate any advice on how to get persistence in
eth
> > device naming when booting up.
>
> In each respective /etc/sysconfig/network-scripts/ifcfg-ethX file, put
a
> line:
>
> HWADDR=<mac address of the card you want to be this interface>
>
>
> --
> Jarod Wilson
> jwilson@(protected)
_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list