• Alexandre Derumier's avatar
    add vlan aware ifupdown script v3 · 312ce780
    Alexandre Derumier authored
    This add support to enable vlan aware bridge,
    and management interfaces
    
    example: 1 bridge and 1 administration port on vlan 100
    
    auto vmbr0
    iface vmbr0 inet manual
            bridge_ports eth0
            bridge_stp off
            bridge_fd 0
            bridge_vlan_aware yes
            bridge_vids 10-15
    
    auto vmbr0.100
    iface vmbr0.100 inet static
            address X.X.X.X
            netmask 255.255.255.0
            gateway X.X.X.X
    
    bridge_vids is optional, and allow on the specified vlans.(current take 1 value or range, need to be improve with list)
    If not specified, the allowed vlan are 2-4094.
    vlan 1 is the default pvid. (all untagged traffic is going to this vlan).
    
    scripts:
    - /etc/network/if-up.d/bridgevlan
    
    manage bridge vlan aware configuration
    
    - /etc/network/if-up.d/bridgevlanport
    
    manage bridge vlan admin port
    
    -/etc/network/if-pre-up.d/vlan
    -/etc/network/if-post-down.d/vlan
    
    replace current vlan package, without vconfig usage and cleanups
    It's only needed to create vlan interface from bridge_ports.
    Signed-off-by: 's avatarAlexandre Derumier <aderumier@odiso.com>
    312ce780
Name
Last commit
Last update
PVE Loading commit data...
aplinfo Loading commit data...
bin Loading commit data...
debian Loading commit data...
po Loading commit data...
www Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
bridgevlan Loading commit data...
bridgevlanport Loading commit data...
copyright Loading commit data...
country.pl Loading commit data...
defines.mk Loading commit data...
mtu Loading commit data...
pve-apt.conf Loading commit data...
pve-repo-ca-certificates.crt Loading commit data...
pve-sources.list Loading commit data...
repoid.pl Loading commit data...
spice-example-sh Loading commit data...
vlan Loading commit data...
vlan-down Loading commit data...
vzdump-hook-script.pl Loading commit data...
vzdump.conf Loading commit data...
vznet.conf Loading commit data...