Re: Two NICs
- From: Dances With Crows <danSPANceswithTRAPcrows@xxxxxxxxx>
- Date: Mon, 27 Aug 2007 16:45:34 GMT
Anton Ertl staggered into the Black Sun and said:
robertharvey@xxxxxxxxxxx writes:
I know it can get confusing. My asus motherboard has two, and theLucky you. We have machines where Linux assigns the numbers
windows "enumerator" supplied occasionally swaps them over when you
reboot. Linux is fine. The one marked "1" on the back is always
eth0, and the one marked "2" is eth1.
differently at different times. IIRC we get different assignments
with different kernels, but sometimes also with the same kernel.
There are ways to deal with this (IIRC based on coldplug stuff), not
sure what we are doing.
/etc/udev/rules.d/70-persistent-net.rules :
# PCI device 0x8086:0x4220 (ipw2200)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:13:4e:59:6d:61",
NAME="eth1"
# PCI device 0x8086:0x101e (e1000)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:10:f2:ca:85:e2",
NAME="eth0"
....although this is less necessary in this case because the NICs are
controlled by different modules. Without the udev rules above, you
could assign names by module loading order. If you have 2 NICs driven
by the same module, then IIRC they get assigned names based on the order
they're found on the PCI bus if there are no udev/whatever rules. HTH,
--
...they believe if something can't be proven to exist, it shouldn't
exist. They have an elegant proof that smoking piles of rubble exist
and are fond of invoking it. --Triangle & Robert
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
.
- References:
- Two NICs
- From: Harold Weissman
- Re: Two NICs
- From: robertharvey
- Re: Two NICs
- From: Anton Ertl
- Two NICs
- Prev by Date: Re: Need CDR/DVD reader/burner for Slack 12
- Next by Date: Re: Need CDR/DVD reader/burner for Slack 12
- Previous by thread: Re: Two NICs
- Next by thread: Re: Two NICs
- Index(es):
Relevant Pages
|