Re: LANANA: To Pending Device Number Registrants

Jonathan Lundell (jlundell@pobox.com)
Tue, 15 May 2001 17:56:51 -0700


At 1:18 PM -0700 2001-05-15, Linus Torvalds wrote:
> > 1 (network domain). I have two network interfaces that I connect to
>> two different network segments, eth0 & eth1;
>
>So?
>
>Informational. You can always ask what "eth0" and "eth1" are.
>
>There's another side to this: repeatability. A setup should be
>_repeatable_.
>
>This is what we have now. Network devices are called "eth0..N", and nobody
>is complaining about the fact that the numbering is basically random. It
>is _repeatable_ as long as you don't change your hardware setup, and the
>numbering has effectively _nothing_ to do with "location".
>
>You don't say "oh, I have my network card in PCI bus #2, slot #3,
>subfunction #1, so I should do 'ifconfig netp2s3f1'". Right?
>
>The location of the device is _meaningless_.

I *like* eth0..n (I'd like net0..n better). And I *can't* ask what
eth0 and eth1 are, by the way, but I should be able to (Jeff Garzik
has proposed an extension to ethtool to help out this lack, but it's
not in Linux today, and needs concrete implementation anyway).

But that's not my point. I'm *not* proposing that we exchange eth0
for geographic names. I'm suggesting, though, that the location of
the device is *not* meaningless, because it's the physically-located
RJ45 socket (or whatever) that I have to connect a particular cable
to. Sure, no big deal for systems with a single connection, but it
becomes a real pain when you've got a dozen, which is a reasonable
number for some network-infrastructure functions (eg firewalls).

When I ifconfig one of a collection of interfaces, I'm very much
talking about the specific physical interface connected via a
specific physical cable to a specific physical switch port.

Bob Glamm is on the right track with

At 5:35 PM -0500 2001-05-15, Bob Glamm wrote:
> # start up networking
> for i in eth0 eth1 eth2; do
> identify device $i
> get configuration/config procedure for device $i identity
> configure $i
> done

...it's just that right now the connection between eth* and its
physical identity isn't made.

-- 
/Jonathan Lundell.
-
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/