[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Swapping eth0 and eth1 designations



On Mon, 2003-11-03 at 04:51, Emmanuel Seyman wrote:
> On Sun, Nov 02, 2003 at 11:44:32AM -0600, Rodolfo J. Paiz wrote:
> > 
> > However, the new add-in card is now eth0 and the onboard network is eth1. 
> > Just out of sheer idle curiosity, is there a way I can swap those two so 
> > that the onboard is eth0 and the add-in is eth1?
> 
> If they're both using the same module, you have to swap them physically.
> IIRC, the kernel goes through the PCI slotys from top to bottom.
> 
> Emmanuel

http://www.ibiblio.org/mdw/HOWTO/Ethernet-HOWTO-8.html

You can modify /etc/modules.conf to assign the interface & addresses
based upon the hex addresses (lspci is your friend)

Something like:

alias eth0 modulename
alias eth1 modulename
options modulename io=0x600,0x6100 irq=12,9

obviously you need to modify the values as appropriate for your system


-- 
Tony Placilla   anthony_placilla suth com

perl -e 'print $i=pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10);'




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]