[CentOS] How to change NIC alias?

Sat Dec 30 05:54:17 UTC 2006
Linux Man <linuxman.uru at gmail.com>

Thanks!
works perfect!

2006/12/28, Barry Brimer <lists at brimer.org>:
> > Hello all.
> > I'm installing CentOS 4.4 over a PC with 3 ethernet cards, one onboard
> > (gigabit) and the another two discrete PCI.
> > During installation I have no choice to control who will be eth0, eth1
> > and eth2, but I need that eth0 be the onboard ethernet.
> > In the end of the installation, it turned out to be one of the
> > discrete ethernet eth0.
> > I need to change that alias, so that the actual eth0 become eth1 and vice
> > versa.
> > Thanks a lot
>
> Modify the "/etc/modprobe.conf" files to reflect the drivers you wish to
> use for each interface.  Also change the "HWADDR" directive in the
> interface configuration files which are located in
> "/etc/sysconfig/network-scripts" to match accordingly.
>
> Barry
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>