[CentOS] 70-persistent-net-rules

Les Mikesell lesmikesell at gmail.com
Fri Jul 13 21:30:18 UTC 2012


On Fri, Jul 13, 2012 at 3:23 PM, Jerry Geis <geisj at pagestation.com> wrote:
> When my machine installs (CentOS 6.3) the two network cards are
> getting reversed.   The PCI card is getting eth0 and the motherboard is
> getting eth1.
> I would like them in reverse order to keep things the same as they used
> to be.
>
> How can I easily tell these two to reverse?
>
> Generate the 70-persistent-net-rules with motherboard eth0 first then
> the PCI slot?

I don't think you can always count on the detection order - so blindly
automating a swap is probably a bad idea.  Also, you are going to need
the right MAC addresses in your ifcfg-eth? files to keep them nailed
down.

-- 
   Les Mikesell
      lesmikesell at gmail.com



More information about the CentOS mailing list