Bridge and VLAN support for ifupdown2 #99
1 changed files with 4 additions and 0 deletions
|
@ -25,5 +25,9 @@ iface {{ name }}
|
||||||
{% if iface.vlan_raw_device is defined %}
|
{% if iface.vlan_raw_device is defined %}
|
||||||
vlan-raw-device {{ iface.vlan_raw_device }}
|
vlan-raw-device {{ iface.vlan_raw_device }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if iface.bridge_disable_pvid | default(false) %}
|
||||||
|
bridge-pvid 0
|
||||||
|
post-up bridge vlan del dev {{ name }} vid 1 self
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue