You are not logged in.

#1 2010-02-12 12:58:00

yossarianuk
Member
Registered: 2007-05-02
Posts: 103

Arch server - swaps eth0/eth1 randomly on reboot ? Can you force

Hi.

I have a server (quite good spec),  has 2 eth ports

eth0 = e1000e
eth1 = tg3

After reboot they randomly swap over - screwing my network config up...

Is there a way to force eth0/eth1 to use a particular driver ?

Any help would be good.

Thanks

Offline

#2 2010-02-12 13:28:37

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

Re: Arch server - swaps eth0/eth1 randomly on reboot ? Can you force

I think removing the optional from: /etc/udev/rules.d/75-persistent-net-generator.rules.optional should work

Offline

#3 2010-02-12 14:55:32

yossarianuk
Member
Registered: 2007-05-02
Posts: 103

Re: Arch server - swaps eth0/eth1 randomly on reboot ? Can you force

Hi - I tried removing /etc/udev/rules.d/75-persistent-net-generator.rules.optional and rebooting

Still occurs...

Its a really weird bug! Seems that every reboot they swap (it could just be random though)

Is there any other way of forcing each eth to use a specific driver ?

Cheers

Offline

#4 2010-02-12 15:00:36

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

Re: Arch server - swaps eth0/eth1 randomly on reboot ? Can you force

Hi, sorry I wasn't clear, I meant removing the ".optional" suffix from the file name.

Offline

#5 2010-02-12 16:16:53

yossarianuk
Member
Registered: 2007-05-02
Posts: 103

Re: Arch server - swaps eth0/eth1 randomly on reboot ? Can you force

That seems to have worked.

eth0 and eth1 are the wrong way round, but at least they are not flipping each reboot.

Cheers !

as usual this forum provides the quickest and best answers !

Offline

#6 2010-02-12 17:56:07

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: Arch server - swaps eth0/eth1 randomly on reboot ? Can you force

another option is specifying the order of the ethernet modules in rc.conf (it's not the udev sanctioned way, but it works and you can pick the order)

Offline

Board footer

Powered by FluxBB