That's a legitimate opinion, but in such case you'll get just a list of common mistakes to look for.
1. when you use bonding, all the VLAN, IP etc. configuration must be attached to the bond, not to the member ports of the bond.
2. when you want to use hybrid ports (some VLANs tagged and one untagged on the same port), you have to use a
completely configured vlan-filtering on a single bridge common for all VLANs, or you have to use one bridge per VLAN. The difference between the approaches is shown here for your case:
one bridge per vlan code
bridge-vlan-10 --- (IP configuration)
ether1 ---tagged--- if-vlan-eth1-10 ---tagless--- |
ether2 ---tagged--- if-vlan-eth2-10 ---tagless--- |
bond0 ----------------tagless------------------- |
bridge-vlan-20 --- (IP configuration)
ether1 ---tagged--- if-vlan-eth1-20 ---tagless--- |
ether2 ---tagged--- if-vlan-eth2-20 ---tagless--- |
bond0 ---tagged--- if-vlan-bnd0-20 ---tagless--- |
bridge-vlan-30 --- (IP configuration)
ether1 ---tagged--- if-vlan-eth1-30 ---tagless--- |
ether2 ---tagged--- if-vlan-eth2-30 ---tagless--- |
bond0 ---tagged--- if-vlan-bnd0-30 ---tagless--- |
common bridge for all vlans var. 1 code
bridge-all-vlans pvid=1
ether1 ----------tagging unchanged------------ | ---tagged--- if-vlan-10 ---tagless--- (IP configuration)
ether2 ----------tagging unchanged------------ | ---tagged--- if-vlan-20 ---tagless--- (IP configuration)
bond0 ----tagging unchanged except vlan 10--- | ---tagged--- if-vlan-30 ---tagless--- (IP configuration)
common bridge for all vlans var. 2 code
bridge-all-vlans pvid=10
ether1 ----------tagging unchanged------------ | ---------------tagless--------------- (IP configuration)
ether2 ----------tagging unchanged------------ | ---tagged--- if-vlan-20 ---tagless--- (IP configuration)
bond0 --tagging unchanged including vlan 10-- | ---tagged--- if-vlan-30 ---tagless--- (IP configuration)
Access mode handling of VLAN 10 on bond0 is expressed by setting
pvid=10 in
/interface bridge port bridge=bridge-all-vlans interface=bond0 and by placing
bond0 to the
untagged list in
/interface bridge vlan vlan-ids=10. Handling of VLAN 10 on the bridge itself is expressed by setting the
pvid value of the bridge itself
and by placing
bridge-all-vlans to the
tagged or
untagged list in
/interface bridge vlan for the
vlan-ids matching the bridge's
pvid. If the
pvid of a member port matches the
pvid of the bridge itself, the frames stay untagged on ingress and egress through that port, otherwise the difference is compensated. This is different as compared to traditional switches where no tagless frames can exist inside the switch.