mirror of
https://git.proxmox.com/git/mirror_ifupdown2
synced 2025-06-10 18:41:33 +00:00

Ticket: CM-3346 Reviewed By: Testing Done: (cherry picked from commit e63e03e90af531ab660dca03f437f8432337c5d3)
26 lines
661 B
Plaintext
26 lines
661 B
Plaintext
#
|
|
# vlan-aware bridge simple example
|
|
#
|
|
# 'bridge' is a vlan aware bridge with all ports (swp1-52).
|
|
# native vlan is by default 1
|
|
#
|
|
# 'bridge-vids' attribute is used to declare vlans.
|
|
# 'bridge-pvid' attribute is used to specify native vlans if other than 1
|
|
# 'bridge-access' attribute is used to declare access port
|
|
#
|
|
|
|
#
|
|
# ports swp1-swp52 are trunk ports which inherit vlans from 'bridge'
|
|
# ie vlans 310 700 707 712 850 910
|
|
|
|
#
|
|
# the following is a vlan aware bridge with ports swp1-swp52
|
|
# It has stp on
|
|
#
|
|
auto bridge
|
|
iface bridge
|
|
bridge-vlan-aware yes
|
|
bridge-ports glob swp1-52
|
|
bridge-stp on
|
|
bridge-vids 310 700 707 712 850 910
|