On Thu, 2005-04-21 at 17:46 +0200, Bert Buchholz wrote:
> On Thu 21.04 10:04, fire-eyes wrote:
> > So I'm using a 2.6 kernel, and trying to figure out how to cause eth0
> > and eth1 to swap. That is, eth0 start up as eth1, and eth1 start up as
> > eth0.
> 
> Simply use nameif to name your NICs based on their MAC address.

This is what I was looking for, just got it working on my test setup. I
used a two stage approach: Move eth0 to eth10. Move eth1 to eth11. Then
move eth11 to eth0, then eth10 to eth1.

For each part I made a config file for nameif, and called them at
net.eth0 startup.

Oddly, nameif segfaults each time it's called, however this works.

I'll be able to try it on the server at the end of the day.

Thanks!

-- 
gentoo-user@gentoo.org mailing list

Reply via email to