CRS317 trunk VLAN configuration help
Posted: Tue Mar 02, 2021 1:08 am
I'm new to MikroTik, but have done a lot of reading of the wiki and examples. But I'm still a bit confused on the configuration that I need. I put together a network diagram, that I hope is helpful in explaining what I need for the CRS317:
https://imgur.com/cbDJGLW
What I want is Ether1-4 to be trunk ports, accepting ANY VLAN from my server. Eth16 is also a trunk port, going to the border router. I will also be connecting a network cable to the management port and want it to have a management IP of 10.13.2.12. I just need L2 functionality in the CRS317. The CCR2004 will do all the routing.
I've hacked together a config, which I'm sure is wrong and needs serious modifications. Any help would be greatly appreciated!
Thanks!
https://imgur.com/cbDJGLW
What I want is Ether1-4 to be trunk ports, accepting ANY VLAN from my server. Eth16 is also a trunk port, going to the border router. I will also be connecting a network cable to the management port and want it to have a management IP of 10.13.2.12. I just need L2 functionality in the CRS317. The CCR2004 will do all the routing.
I've hacked together a config, which I'm sure is wrong and needs serious modifications. Any help would be greatly appreciated!
Code: Select all
/interface bridge
add name=bridge1 vlan-filtering=no
/ip address
add address=10.13.2.12/24 interface=bridge1
/interface bridge port
add bridge=bridge1 interface=ether1 hw=yes
add bridge=bridge1 interface=ether2 hw=yes
add bridge=bridge1 interface=ether3 hw=yes
add bridge=bridge1 interface=ether4 hw=yes
add bridge=bridge1 interface=ether16 hw=yes
/interface bridge set bridge1 vlan-filtering=yes