Ticket #146 (closed defect: wontfix)

Opened 5 years ago

Last modified 4 years ago

[ifenslave] "bond0: unknown interface"?

Reported by: xmxwx Assigned to:
Priority: low Milestone: 3.0
Component: General networking Version: 2.0
Severity: minor Keywords:
Cc:

Description

# ifenslave bond0
The result of SIOCGIFFLAGS on bond0 is 1443.
bond0: unknown interface.
# ifconfig bond0
bond0     Link encap:Ethernet  HWaddr FE:03:AF:E8:3A:91
          inet6 addr: fe80::fc03:afff:fee8:3a91/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:273 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4078 (3.9 Kb)  TX bytes:31990 (31.2 Kb)

Change History

06/10/07 00:05:38 changed by pjf

  • milestone changed from 2.1rc1 to 2.1.

03/15/08 15:49:37 changed by pjf

  • milestone changed from 2.1 to 3.0.

Milestone 2.1 deleted

03/16/08 21:10:51 changed by pjf

  • owner deleted.

03/18/08 03:56:53 changed by xmxwx

  • status changed from new to closed.
  • resolution set to wontfix.

Such a message is shown when there's no IP address on the bond interface. However, if there's one, it is displayed improperly:

root@kamikaze:~# ip a s dev bond0
15: bond0: <BROADCAST,MULTICAST,MASTER,UP,10000> mtu 1500 qdisc noqueue
    link/ether 00:0c:42:07:11:62 brd ff:ff:ff:ff:ff:ff
    inet 1.2.3.4/32 scope global bond0
    inet6 fe80::20c:42ff:fe07:1162/64 scope link
       valid_lft forever preferred_lft forever
root@kamikaze:~# ifenslave bond0
The result of SIOCGIFFLAGS on bond0 is 1443.
The result of SIOCGIFADDR is 00.00.01.02.
The result of SIOCGIFHWADDR is type 1  00:0c:42:07:11:62.

Not only is this output incorrect, but also reader-unfriendly. Probably, nobody ever cared for it to be different. I don't care as well. Maybe #180 instead?