ipv4 aliases gone from /proc/net/dev ?

Nicholas J. Leon (nicholas@binary9.net)
Tue, 31 Mar 1998 23:51:13 -0500 (EST)


I just noticed that on my 2.1.92pre2 box, ifconfig no longer shows aliased
devices.

Neither does /proc/net/dev.

So I looked around and _all around_ the kernel, I see semantics like:

colon=strchr(devname,':');
if (colon)
*colon=0;

Which obviously shortens the name from "eth0:x" to just "eth0".

I guess there was some minor internal rearranging on how aliases are
stored (when fib_* was introduced?).

But is this the behavior we want? To not be able to see what (if any)
ethernet aliases exist? Other than manually trying

ifconfig eth0:207

I don't know of any other way of examining them.

I really don't think we want this.... do we?

___________________________________________________________________________

simple is elegant mrnick.binary9.net nicholas@binary9.net
___________________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu