Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread Dirk Heinrichs
Am Donnerstag, 21. April 2005 16:04 schrieb ext fire-eyes: > 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. > > Any more ideas? In case you're using udev, you can give them whatever name you wa

Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread fire-eyes
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 base

Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread Bert Buchholz
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. Bert -- gentoo-user@gentoo.org mailing lis

Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread fire-eyes
On Thu, 2005-04-21 at 16:14 +0100, Jonathan Wright wrote: > fire-eyes wrote: > > My understanding was that ether= was for 2.4 kernels, in fact the docs > > for 2.6 say netdev= is the replace ment, but at this point i'm willing > > to try. > > Continuing the search, I've found this page: > > http:

Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread Jonathan Wright
fire-eyes wrote: My understanding was that ether= was for 2.4 kernels, in fact the docs for 2.6 say netdev= is the replace ment, but at this point i'm willing to try. Continuing the search, I've found this page: http://www.science.uva.nl/research/air/wiki/LogicalInterfaceNames They've put irq= befo

Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread fire-eyes
On Thu, 2005-04-21 at 15:51 +0100, Jonathan Wright wrote: > fire-eyes wrote: > > I would do this however one of them is built into the motherboard. > > > > I found a document which claimed with grub all Ihad to do was > > netdev=irq=24,name=eth0 however I tried this, a few variations, and > > eve

Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread Jonathan Wright
fire-eyes wrote: I would do this however one of them is built into the motherboard. I found a document which claimed with grub all Ihad to do was netdev=irq=24,name=eth0 however I tried this, a few variations, and even used two netdev statements, one for each card and it still didn't swap. Yeesh,

Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread fire-eyes
On Thu, 2005-04-21 at 15:33 +0100, Jonathan Wright wrote: > fire-eyes wrote: > > Well, my fault for not mentioning. But I don't enable module loading > > support on servers, it is a security risk. > > Fair enough. I've done the same on my servers. What's the possibility of > moving the cards arou

Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread Jonathan Wright
fire-eyes wrote: Well, my fault for not mentioning. But I don't enable module loading support on servers, it is a security risk. Fair enough. I've done the same on my servers. What's the possibility of moving the cards around? The kernel will detect and load them in a different order then. -- Jo

Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread Jonathan Wright
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. I was told here about the netdev argument to the kernel. I tried about 9 different ways of using this, but the documentation isn't exac

Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread fire-eyes
On Thu, 2005-04-21 at 22:12 +0800, Ow Mun Heng wrote: > On Thu, 2005-04-21 at 10:04 -0400, 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. > > > > Perhaps you can try th

Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread Ow Mun Heng
On Thu, 2005-04-21 at 10:04 -0400, 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. > Perhaps you can try this.. compile them as module and load one after the other?? > --

[gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread fire-eyes
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. I was told here about the netdev argument to the kernel. I tried about 9 different ways of using this, but the documentation isn't exactly as clear as