[pve-devel] new idea for vlan (with example)

Dietmar Maurer dietmar at proxmox.com
Thu Mar 15 11:08:55 CET 2012


>    if($interface = bond) {
>        create_bond($bond.'v'.$vlan)
>        interfaces=find_interfaces_in_bond($interface)
>        foreach interface{
>         add_vlan_to_interface ("vconfig add interface $vlan"   #(eth0->eth0.X ,eth0-
> > eth1.x ))
>         add_interface_to $bond.'v'.$vlan
>      }

Can't you tag the whole bond? Seems clumsy to tag all bond members.


- Dietmar




More information about the pve-devel mailing list