my ISP is delivering Internet via VLAN 50 and VoIP via 40 (at ether5-TPP below). After quite some time I found a configuration that works with RouterOS when a VoIP-Cient (Fritzbox) is connected to ether4-VoIP, public Internet is routed via vlan50-INTERNET in this minimal test scenario:
Code: Select all
# 2024-05-30 23:22:41 by RouterOS 7.15
# software id = MZRN-97EY
#
# model = RB450Gx4
# serial number = E1D80D856D6D
/interface bridge
add name=bridge-TPP
/interface ethernet
set [ find default-name=ether1 ] name=ether1-Management
set [ find default-name=ether4 ] name=ether4-VoIP
set [ find default-name=ether5 ] name=ether5-TPP
/interface vlan
add interface=ether5-TPP name=vlan40-VoIP vlan-id=40
add interface=ether5-TPP name=vlan50-INTERNET vlan-id=50
/interface bridge port
add bridge=bridge-TPP ingress-filtering=no interface=ether4-VoIP
add bridge=bridge-TPP ingress-filtering=no interface=vlan40-VoIP
/ip dhcp-client
add interface=ether1-Management
add interface=vlan50-INTERNET
Code: Select all
# 2024-05-30 19:49:43 by RouterOS 7.15
# software id = MZRN-97EY
#
# model = RB450Gx4
# serial number = E1D80D856D6D
/interface bridge
add frame-types=admit-only-vlan-tagged ingress-filtering=no name=bridge-TPP vlan-filtering=yes
/interface ethernet
set [ find default-name=ether1 ] name=ether1-Management
set [ find default-name=ether4 ] name=ether4-VoIP
set [ find default-name=ether5 ] name=ether5-TPP
/interface vlan
add interface=bridge-TPP name=vlan50-INTERNET vlan-id=50
/interface bridge port
add bridge=bridge-TPP ingress-filtering=no interface=ether4-VoIP
add bridge=bridge-TPP ingress-filtering=no interface=ether5-TPP
/interface bridge vlan
add bridge=bridge-TPP tagged=bridge-TPP,ether5-TPP vlan-ids=50
add bridge=bridge-TPP tagged=bridge-TPP untagged=ether4-VoIP vlan-ids=40
/ip dhcp-client
add interface=ether1-Management
add interface=vlan50-INTERNET