]> git.proxmox.com Git - mirror_ifupdown2.git/blob - ifupdown2/docs/examples/vlan_aware_bridges/interfaces.basic
Merge 'vlan filtering bridge + vxlan + mlag + vrr' support from internal
[mirror_ifupdown2.git] / ifupdown2 / docs / examples / vlan_aware_bridges / interfaces.basic
1 #
2 # vlan-aware bridge simple example
3 #
4 # 'bridge' is a vlan aware bridge with all ports (swp1-52).
5 # native vlan is by default 1
6 #
7 # 'bridge-vids' attribute is used to declare vlans.
8 # 'bridge-pvid' attribute is used to specify native vlans if other than 1
9 # 'bridge-access' attribute is used to declare access port
10 #
11
12 #
13 # ports swp1-swp52 are trunk ports which inherit vlans from 'bridge'
14 # ie vlans 310 700 707 712 850 910
15
16 #
17 # the following is a vlan aware bridge with ports swp1-swp52
18 # It has stp on
19 #
20 auto bridge
21 iface bridge
22 bridge-vlan-aware yes
23 bridge-ports glob swp1-52
24 bridge-stp on
25 bridge-vids 310 700 707 712 850 910