Hi, new to the forum and a happy mikrotik user at home for some years. I'm not a network engineer.
I've read and re-read the mikrotik documentation in wiki, old and new docs and read "the excellent post" for VLANS by a forum member with diagrams and all. I'm still puzzled.
My setup is working but I seek to understand the trunk port part. The main reason is that my router is OPNSense, based on freebsd that has limited support for mixed traffic with and without VLAN tags.
I am using a CSS326 where port 1 is my "uplink" to my Router.
From the documentation, I am using the "Trunk and Access Ports" setup.
This is my setup and works flawlessly:
On the switch my trunk port is:
VLAN tab.
Port 1: "Trunk" port VLAN mode is enabled, VLAN receive "any", Default VLAN ID "1", Force VLAN ID is disabled
Ports 18,19,20: Access ports VLAN mode is enabled, VLAN receive "any", Default VLAN ID "200", Force VLAN ID is disabled
VLANs tab.
VLAN ID = 200, Name "name I gave it", Port Isolation enabled, Learning enabled, Mirror disabled, IGMP Snooping enabled, members: trunk and access ports.
On the router the VLAN is set as child of the LAN interface. The services like dhcp and others are set on each phisical LAN interface and VLAN interface separately.
The way I read the documentation, this has my trunk port being port 1, with both tagged 200 for the traffic from the access ones and tagged 1 for the traffic from all other access ports that have no tag set; but I am uncertain if this is a correct setup. Never had a problem but all the traffic is coming via this route.
This is the question: Is my understanding correct that port 1 "trunk" is sending all the traffic tagged with vlan id 200 from-to the vlan ports AND vlanid 1 for everything else?
Or is it sending mixed tagged and untagged traffic? A traffic capture on the router port shows me no traces of VLAns (Ether type 0x800) for all frames I can see. Hence, could it be that all traffic is stripped of VLAN information and is ALL sent untagged?
I ask bacause although I've not had problems. freebsd asks to not mix tagged and untagged traffic on the same interface, so I want to know if I should make changes to avoid problems down the road.
Thanks for any assistance.