I have two MT’s: one x86 pc with level 5 and rb411 with level 4. Between its i have l2 switch dlink des-3018.
I create at MT’s vlan interface vlan1, set vid 111, add ip at pc 10.1.5.1/24 at vlan interface, add ip at rb 411 10.1.5.2/24 at vlan interface too.
At switch I created vlan 111 (Egress (I think it know tagged) between 1 and 2 ports (connected pc and rb411).
But I not have ping between MT’s.
If it’s a true L2 switch, it probably has 802.1Q VLAN support (check specifications).
If the switch DOES have 802.1Q VLAN support, and you don’t need to do any VLANs on the switch, see if you can turn off 802.1Q altogether.
If you can’t turn it off, you’re going to have to configure the same VLANs on the switch as you have on the router… this is because if the switch is VLAN-aware, it will drop any packets tagged with a VLAN which it’s not configured for.
I suggest you check that you don’t have any restrictive firewall rules in place and you go through your vlan setup again - confirm that vlan IDs match on both machines and confirm you set the vlans on the correct interfaces.
My problem be in vlan interface at 411. I created it with master interface - ether1, but ehter1 and wlan1 - in bridge. I set master interface - bridge1, and all work fine. Thanks.