|Subject:||New methods needed for interfaces|
|Date:||Wed, 10 Feb 2010 21:51:41 -0600|
|To:||bug-net-interface [...] rt.cpan.org|
|From:||Philip Prindeville <philipp [...] cpan.org>|
I'd like to see the following methods added for interfaces: aliases -- support for aliased interfaces sub-interfaces -- (including VLAN). Ethernet interfaces using VLAN encapsulation, Wifi interfaces with multiple ssid associations, and X.25 or Frame Relay interfaces with multiple VC's all need to support sub-interfaces. Since iproute2 supports interface renaming (as does iw and wlanconfig), a mapping from the parent interface to its children and from the child back to its parent is needed. bridging -- if something is a bridge interface, an attribute with its member physical interfaces would be useful. Similarly, if a physical interface is a member of a bridge, an attribute pointing to the bridge interface would be useful. For DHCP (see Net::DHCP::Packet) being able to get an interface's arp_type() (i.e. what would be ARPHRD_xxx in /usr/include/net/if_arp.h) would be useful.