[vox-tech] setting up 2 ethernet cards
ME
vox-tech@lists.lugod.org
Fri, 21 Jun 2002 00:21:41 -0700 (PDT)
If you can set the PCI cards to accept staticly assigned resources you can
use lilo / append info for name assignment.
append="ether=0,0,eth0 ether=0,0,eth1 ether=0,0,eth2"
0 is for probing
format:
append="ether=[IRQ],[IO Address],[ifacename] ether=[IRQ],[IO Address],[ifacename] ..."
the append line is added to a lilo.conf and lilo is re-run. Check lilo
docs for more.
If you cant assign resources to your PCI cards based on slots, most
systems I have used seem to consistently load the cards and name them
based on their slot and locations (slots at one end are low numbered eth
and slots used at the other end are higher)
Hope this helps...
-ME
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM$/IT$/LS$/S/O$ !d--(++) !s !a+++(-----) C++$(++++) U++++$(+$) P+$>+++
L+++$(++) E W+++$(+) N+ o K w+$>++>+++ O-@ M+$ V-$>- !PS !PE Y+ !PGP
t@-(++) 5+@ X@ R- tv- b++ DI+++ D+ G--@ e+>++>++++ h(++)>+ r*>? z?
------END GEEK CODE BLOCK------
decode: http://www.ebb.org/ungeek/ about: http://www.geekcode.com/geek.html
On Fri, 21 Jun 2002, Paul Barnhart wrote:
> I'm setting up a new "always on" box (DSL router/firewall, webserver,
> mailserver, fileserver, X10 controller, weather station monitor, etc)
> and I want to use 2 identical pci ethernet cards. My problem is, how can
> I _guarantee_ which card will be eth0 and which will be eth1.
>
> The relevent lines in /etc/module.conf would be:
> alias eth0 ne2k-pci
> alias eth1 ne2k-pci
> The information I've been able to find says the first card it finds will
> be eth0 and the second eth1. This sounds a bit like a crapshoot to me.
> The only way to tell the cards apart is the hardware addresses and I
> don't know how or where to specify that.
>
> Any suggestions?
>
> The way I did it with the old box was to use one pci card and one isa card
> alias eth0 ne2k-pci
> alias eth1 ne 0x280
> This is still plan b but it would use up my only ISA slot.
>
> Thanks
> Paul
>
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>