Trunk between RB1100 and CRS326 doesn`t work
Posted: Mon May 13, 2019 1:36 pm
Hello!
I have RB1100 configured as router (R1) with IP 192.168.70.1 in VLAN70.
CRS326 connected with a trunk port and should get vlan70 & vlan80. But it isn`t. The second trunk from R1 to SW2 (RB951) workes fine, nevertheless it contains other vlans.
I can`t understand why. Can you help me?
Sсheme:
R1 configuration:
SW1 Configuration:
I have RB1100 configured as router (R1) with IP 192.168.70.1 in VLAN70.
CRS326 connected with a trunk port and should get vlan70 & vlan80. But it isn`t. The second trunk from R1 to SW2 (RB951) workes fine, nevertheless it contains other vlans.
I can`t understand why. Can you help me?
Sсheme:
R1 configuration:
Code: Select all
# RouterOS 6.44.1
# model = RB1100x4
/interface bridge
add comment=OFFICE fast-forward=no name=bridge-vlan10-office protocol-mode=none
add arp=reply-only comment=GUESTS fast-forward=no name=bridge-vlan30-guests protocol-mode=\
none
add comment=SYSADMINS fast-forward=no name=bridge-vlan50-sysadmins protocol-mode=none
add comment=SERVERS fast-forward=no name=bridge-vlan70-servers protocol-mode=none
add comment=MANAGEMENT fast-forward=no name=bridge-vlan80-management protocol-mode=none
add comment=VLAN99 fast-forward=no name=bridge-vlan99
/interface vlan
add interface=ether2-trunk-to-SW2-sysadmins name=vlan10--SI--trunk-to-SW2-sysadmins \
vlan-id=10
add interface=ether2-trunk-to-SW2-sysadmins name=vlan30--SI--trunk-to-SW2-sysadmins \
vlan-id=30
add interface=ether2-trunk-to-SW2-sysadmins name=vlan50--SI--trunk-to-SW2-sysadmins \
vlan-id=50
add interface=ether1-trunk-to-SW1-servers name=vlan70--SI--trunk-to-SW1-servers vlan-id=70
add interface=ether1-trunk-to-SW1-servers name=vlan80--SI--trunk-to-SW1-servers vlan-id=80
add interface=ether2-trunk-to-SW2-sysadmins name=vlan99-SI-trunk-to-SW2-sysadmins vlan-id=\
99
/interface bridge port
add bridge=bridge-vlan99 interface=ether4-net99-uplink
add bridge=bridge-vlan99 interface=ether5-net99-note
add bridge=bridge-vlan10-office comment="VLAN 10 OFFICE subinterface" interface=\
vlan10--SI--trunk-to-SW2-sysadmins
add bridge=bridge-vlan30-guests comment="VLAN 30 GUESTS subinterface" interface=\
vlan30--SI--trunk-to-SW2-sysadmins
add bridge=bridge-vlan50-sysadmins comment="VLAN 50 SYSADMINS subinterface" interface=\
vlan50--SI--trunk-to-SW2-sysadmins
add bridge=bridge-vlan80-management comment="VLAN 80 MANAGEMENT si" interface=\
vlan80--SI--trunk-to-SW1-servers
add bridge=bridge-vlan70-servers comment="VLAN 70 SERVERS si" interface=\
vlan70--SI--trunk-to-SW1-servers
add bridge=bridge-vlan99 interface=vlan99-SI-trunk-to-SW2-sysadmins
add bridge=bridge-vlan10-office interface=ether6-office
add bridge=bridge-vlan70-servers interface=ether7-test-servers
add bridge=bridge-vlan80-management interface=ether8-test-servers
/ip address
add address=192.168.10.1/24 interface=bridge-vlan10-office network=192.168.10.0
add address=192.168.30.1/24 interface=bridge-vlan30-guests network=192.168.30.0
add address=192.168.50.1/24 interface=bridge-vlan50-sysadmins network=192.168.50.0
add address=192.168.70.1/24 interface=bridge-vlan70-servers network=192.168.70.0
add address=192.168.80.1/24 interface=bridge-vlan80-management network=192.168.80.0
/ip dns
set allow-remote-requests=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether11-wan-to-R1-gateway
SW1 Configuration:
Code: Select all
# RouterOS 6.44.2
# model = CRS326-24G-2S+
/interface bridge
add name=BR_MAIN protocol-mode=none vlan-filtering=yes
/interface vlan
add disabled=yes interface=BR_MAIN name=VLAN10_OFFICE vlan-id=10
add disabled=yes interface=BR_MAIN name=VLAN30_GUESTS vlan-id=30
add disabled=yes interface=BR_MAIN name=VLAN50_SYSADMIN vlan-id=50
add interface=BR_MAIN name=VLAN70_SERVERS vlan-id=70
add interface=BR_MAIN name=VLAN80_MANAGEMENT vlan-id=80
/interface bridge port
add bridge=BR_MAIN interface=ether3-servers pvid=70
add bridge=BR_MAIN interface=ether4-servers pvid=70
add bridge=BR_MAIN interface=ether5-servers pvid=70
add bridge=BR_MAIN interface=ether6-servers pvid=70
add bridge=BR_MAIN interface=ether7-servers pvid=70
add bridge=BR_MAIN interface=ether8-servers pvid=70
add bridge=BR_MAIN interface=ether9-servers pvid=70
add bridge=BR_MAIN interface=ether10-servers pvid=70
add bridge=BR_MAIN interface=ether11-management pvid=80
add bridge=BR_MAIN interface=ether12-management pvid=80
add bridge=BR_MAIN interface=ether13-management pvid=80
add bridge=BR_MAIN interface=ether14-management pvid=80
add bridge=BR_MAIN interface=ether15-office pvid=10
add bridge=BR_MAIN interface=ether16-guests pvid=30
/interface bridge vlan
add bridge=BR_MAIN disabled=yes tagged=ether1-trunk-uplink-to-R1,BR_MAIN vlan-ids=10
add bridge=BR_MAIN disabled=yes tagged=ether1-trunk-uplink-to-R1,BR_MAIN vlan-ids=30
add bridge=BR_MAIN tagged=ether1-trunk-uplink-to-R1,BR_MAIN vlan-ids=70
add bridge=BR_MAIN tagged=BR_MAIN,ether1-trunk-uplink-to-R1 vlan-ids=80
/ip address
add address=192.168.70.2/24 interface=VLAN70_SERVERS network=192.168.70.0