[CentOS] en01 network

Sat Oct 4 15:55:01 UTC 2014
Scott Robbins <scottro at nyc.rr.com>

On Sat, Oct 04, 2014 at 11:22:38AM -0400, SilverTip257 wrote:
> On Sat, Oct 4, 2014 at 10:58 AM, Scott Robbins <scottro at nyc.rr.com> wrote:
> 
> >
> > What I've done on Fedora for awhile now.
> >
> >
> > rpm -e biosdevname  (This should soon not be necessary, at least in Fedora)
> > Then in /etc/default edit grub and add the net.ifnames=0 at the end of the
> > kernel line.
> >
> > Then grub2-mkconfig -o /boot/grub2/grub.cfg  which will put it into grub2.
> >
> > Next I go into /etc/sysconfig/network-scripts and name the ifcfg-* file
> > accordingly, and also edit said file from it's if or biosdev name to
> > eth-whatever.
> >
> > This has worked for me since Fedora began doing this.
> >
> 
> Wouldn't there be some configuration changes necessary in the udev net
> rules?
> I can't speak for EL7, but in the past I've had to tweak things there (as
> well as network-scripts) when doing chassis and/or NIC swaps in servers.

I haven't had to touch it.  Looking at a laptop I have with Fedora 20,
/etc/udev/rules.d is empty, not sure about CentOS 7.

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6