Package: vlan
Version: 1.9-2
Severity: minor

Hi,
The ifup/ifdown scripts for vlan doesn't support interfaces in bond*.* used for bonding.
It would be great to add the following lines:

in /etc/network/if-pre-up.d/vlan:
        bond*.*)
                vconfig set_name_type DEV_PLUS_VID_NO_PAD
                VLANID=`echo $IFACE|sed "s/bond[0-9][0-9]*\.0*//g"`
                IF_VLAN_RAW_DEVICE=`echo $IFACE|sed 
"s/\(bond[0-9][0-9]*\)\..*/\1/"`
                ;;


And in /etc/network/if-post-down.d/vlan:
        bond*.*)
IF_VLAN_RAW_DEVICE=`echo $IFACE|sed "s/\(bond[0-9][0-9]*\)\..*/\1/"`
                ;;

Thanks
Vincent Touchard





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to