ifconfig does not display sub-interfaces (aka: eth0:1 )
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-tools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have noticed a possible regression in ifconfig. When executing # ifconfig , only parent network interfaces are output. ifconfig is failing to display child/sub interfaces (aka. secondary interfaces.)
Also, running "# ifconfig -a" doesn't display the child/sub-
The /etc/network/
auto eth0
iface eth0 inet static
address 10.10.10.10
netmask 255.255.255.0
broadcast 10.10.10.255
gateway 10.10.10.1
auto eth0:2
iface eth0:2 inet static
address 10.10.10.11
netmask 255.255.255.0
-------
I have observed this on two separate Oneiric-servers, v11.10.
::Critical Details::
Ubuntu Server: Oneiric v11.10
Package net-tools version: 1.60-23ubuntu3
Package ifupdown version: 0.7~alpha5.1ubuntu5
One additional observation.
When an child/sub-interface is manually created by ifconfig, from the console, ifconfig *DOES* properly display this child interface.
Example Command: "# ifconfig eth0:22 10.10.10.22 netmask 255.255.255.255"