[gentoo-user] Ethernet Card Init order?

2005-04-20 Thread fire-eyes
I have two NIC's in a server. One always comes up as eth0, the other always eth1. One is on-board, the other is an add-on. I'd like to swap them around, that is to say, have the NIC that is currently eth0 become eth1, and the NIC which is eth1 become eth0. Is this possible? -- gentoo-user@gento

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread Richard Fish
fire-eyes wrote: >I have two NIC's in a server. One always comes up as eth0, the other >always eth1. One is on-board, the other is an add-on. > >I'd like to swap them around, that is to say, have the NIC that is >currently eth0 become eth1, and the NIC which is eth1 become eth0. > > If they use

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread Tres Melton
This is my lilo (grub has the same thing) append="ether=5,0xe400,eth0 ether=10,0x300,eth1" and it ensures that eth0 is the one on irq5 and eth1 on irq10 On Wed, 2005-04-20 at 13:43 -0400, fire-eyes wrote: > I have two NIC's in a server. One always comes up as eth0, the other > always eth1. One i

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread fire-eyes
On Wed, 2005-04-20 at 19:53 +0200, Richard Fish wrote: > fire-eyes wrote: > > >I have two NIC's in a server. One always comes up as eth0, the other > >always eth1. One is on-board, the other is an add-on. > > > >I'd like to swap them around, that is to say, have the NIC that is > >currently eth0 b

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread Neil Bothwick
On Wed, 20 Apr 2005 19:53:52 +0200, Richard Fish wrote: > If they use the same driver, probably not. If they use separate > drivers, you just need to build the drivers as modules, and load them in > the order you want. Alternatively, you can use udev to give them whatever names you like. -- N

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread fire-eyes
On Wed, 2005-04-20 at 12:05 -0600, Tres Melton wrote: > This is my lilo (grub has the same thing) > > append="ether=5,0xe400,eth0 ether=10,0x300,eth1" > > and it ensures that eth0 is the one on irq5 and eth1 on irq10 That's what I was looking for, I'll have to give that a shot. Thanks! -- gent

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread fire-eyes
On Wed, 2005-04-20 at 12:05 -0600, Tres Melton wrote: > This is my lilo (grub has the same thing) > > append="ether=5,0xe400,eth0 ether=10,0x300,eth1" > > and it ensures that eth0 is the one on irq5 and eth1 on irq10 I'm trying to figure out the I/O addresses. For one of the cards we have this,

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread Richard Fish
fire-eyes wrote: >I betchya there's a kernel paramater that you can shove into the >bootloader to have passed on, just not sure what it is :) > > > It seems you are correct. According to http://www.ibiblio.org/mdw/HOWTO/Ethernet-HOWTO-8.html#lilo And /usr/src/linux/Documentation/kernel-p

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread Richard Fish
Neil Bothwick wrote: >Alternatively, you can use udev to give them whatever names you like. > > Huh? How? -Richard -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread Richard Fish
Richard Fish wrote: >Neil Bothwick wrote: >>Alternatively, you can use udev to give them whatever names you like. >> >> > >Huh? How? > Sorry, never mind...I found it. Does it actually work for renaming eth0 to eth1 and eth1 to eth0, or does it only work for renaming "eth0" to "lan0", for examp

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread fire-eyes
On Wed, 2005-04-20 at 20:53 +0200, Richard Fish wrote: > It seems you are correct. According to > > http://www.ibiblio.org/mdw/HOWTO/Ethernet-HOWTO-8.html#lilo > > And /usr/src/linux/Documentation/kernel-parameters.txt, you should be > able to get away with just > > "netdev=eth1,eth0" > >

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread Neil Bothwick
On Wed, 20 Apr 2005 21:01:18 +0200, Richard Fish wrote: > >>Alternatively, you can use udev to give them whatever names you like. > Does it actually work for renaming eth0 to eth1 and eth1 to eth0, or > does it only work for renaming "eth0" to "lan0", for example? Probably not, because you could

Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread Richard Fish
Neil Bothwick wrote: >Probably not, because you could end up with both having the same name at >some point. Do you need those names, or just something consistent? Naming >them lan0 and wan0 would seem better. If nothing else, it would make your >config files and scripts more readable. > > Just

Re: Re: [gentoo-user] Ethernet Card Init order?

2005-04-20 Thread Brett I. Holcomb
Check the Gentoo udev docs which have links to a couple of good sites that are helpful. > > From: Richard Fish <[EMAIL PROTECTED]> > Date: 2005/04/20 Wed PM 02:55:07 EDT > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Ethernet Card Init order? >