Re: ifconfig and alias interfaces
Philip Blundell (philb@gnu.org)
Sun, 13 Sep 1998 19:27:20 +0100
>under current Linux 2.1 kernels the net-tools 1.46 including ifconfig
>1.34 (1998-08-29) do not show the alias interfaces while listing all
>interfaces. This happens because they are not listed in /proc/net/dev
>and /proc/net/aliases does not even exist. Within the kernel there is a
>new IOCTL which can be used to get the names of all configured
>interfaces. I implemented the usage of this into ifconfig. If the ioctl
In fact ifconfig used to use SIOCGIFCONF (it's not at all new) for this, but
that had problems of its own which is why we changed to using /proc/net/dev.
p.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu