Re: how to map network cards ?

Jeff Garzik (jgarzik@mandrakesoft.com)
Mon, 31 Dec 2001 11:40:42 -0500


Jesse Pollard wrote:
> The only way to determine
> the ACTUAL eth0 is via mac number and trial and error.

not correct, as noted in other e-mail.

> I configure ONE interface (all others are down), then plug in to a working
> network.
>
> If I can ping the other machine then I know which network a given
> interface is on - label it.
>
> Now down that interface, and initialize another one. Repeat until all
> interfaces are identified.

also note that one can rename interfaces, or in the future they might
appear out-of-order. To only way to be obsolutely certain where a
network device is on the PCI bus is ETHTOOL_GDRVINFO.

Jeff

-- 
Jeff Garzik      | Only so many songs can be sung
Building 1024    | with two lips, two lungs, and one tongue.
MandrakeSoft     |         - nomeansno
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/