[CentOS] eth0 killed when adding virtual interface and multiple NICs are present

Sat Apr 25 21:06:32 UTC 2009
Robert Heller <heller at deepsoft.com>

At Sat, 25 Apr 2009 16:32:06 -0400 CentOS mailing list <centos at centos.org> wrote:

> 
> 
> On Sat, 2009-04-25 at 14:52 -0500, Les Mikesell wrote:
> > JohnS wrote:
> > > On Sat, 2009-04-25 at 20:33 +0200, Kai Schaetzl wrote:
> > >> I have a strange problem on one machine where eth0 gets killed when I add 
> > >> a virtual interface. It's got something to do with the NIC ordering or 
> > >> with the xen network script having a problem with multiple NICs and 
> > >> virtual interfaces. I could need some help/comments on this.
> > >>
> > >> Some history:
> > >> I added a NIC (chip identifies as Realtek Semiconductor Co., Ltd. 
> > >> RTL8111/8168B PCI Express Gigabit Ethernet) to a Dell R200 server.
> > >> CentOS 5.3 with Xen 3.3.1 (gitco repo). 
> > > ----
> > > see this:
> > > http://linux.dell.com/files/whitepapers/nic-enum-whitepaper-v3.pdf
> > > 
> > > This is a known issue with all Poweredge Servers. It will give you an
> > > explanation and workaround for it.
> > 
> > I don't think there is anything unique to Dells about this.  The kernel 
> > essentially randomizes device naming on everything.  Dell just took the 
> > trouble to document it.
> ---
> 
> Also: https://bugzilla.redhat.com/show_bug.cgi?id=491432
> Seems to apply to Kais case.
> 
> You *must* specify the HWADDR field in the ifcfg-* files in order to
> have persistent ethernet naming. Was the way I done it on dell hardware
> and it states that on the Bug Report.

On ALL RedHat flavored distros (even eith 2.4 kernels), I *always*
specificed the HWADDR field in the ifcfg-* files.  I *think* the RedHat
installers generally always set this field during installation as well.
At least as early as RH 7.<mumble> or RH 9, which would be when I first
was dealing with machines with more than one NIC.

> 
> JohnStanley
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                                   

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/