There seem to be so many different ways to configure VLANs on the Routerboard boxes that, whilst I’m sure it offers ultimately great flexibility, I can’t get them to work!
I have two devices, a RB2011 as the main router at home, and a HEX PoE which is on a mast (which also has a long range PtP wifi radio on it) alongside some other kit, there is only one cat6 cable between the house and the mast, so I’m trying to use VLANs to effectively emulate having two cables up there. There used to be a dumb switch which worked reasonably, but since moving to the HEX PoE I’ve had no end of issues.
Port 1 is the house, port 5 is the dish, there is a VLAN (155) between these and it works perfectly and as expected. There are two other devices on the mast (CCTV camera and a pi) which should be on either VLAN 1 or VLAN 301 (I’ve tried both).
The HEX RB960PGS is configured like this;
[admin@MikroTik] /interface ethernet switch port> print
Flags: I - invalid
# NAME SWITCH VLAN-MODE VLAN-HEADER DEFAULT-VLAN-ID
0 ether1-house wtmastsw disabled add-if-missing 1
1 ether2 wtmastsw disabled leave-as-is auto
2 ether3 wtmastsw disabled leave-as-is auto
3 ether4 wtmastsw disabled leave-as-is auto
4 ether5-backhaul wtmastsw secure always-strip 155
5 wtmastsw-cpu wtmastsw disabled leave-as-is 1
[admin@MikroTik] /interface ethernet switch vlan> print
Flags: X - disabled, I - invalid
# SWITCH VLAN-ID PORTS
0 wtmastsw 155 ether1-house
ether5-backhaul
1 wtmastsw 1 ether1-house
ether2
ether3
ether4
wtmastsw-cpu
2 wtmastsw 301 ether1-house
ether2
ether3
ether4
wtmastsw-cpu
[admin@MikroTik] /interface vlan> print
Flags: X - disabled, R - running
# NAME MTU ARP VLAN-ID INTERFACE
0 R ;;; MGMT VLAN
vlan1 1500 enabled 1 bridge
1 R vlan301 1500 enabled 301 bridge
[admin@MikroTik] /ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; defconf
192.168.88.1/24 192.168.88.0 bridge
1 10.38.0.253/24 10.38.0.0 vlan301
The RB2011 has the interfaces vlan155 and vlan301 associated with ether09 (which connects to the HEX PoE) and uses vlan155 as the route for outbound NATted traffic (which works) and vlan301 is added to the main bridge (I’ve also tried with that untagged) which doesn’t. I can’t connect to the admin interface on 10.38.0.253 and the only way of accessing it is 192.168.88.1 which appears in IP > Neighbours when connecting to the 2011 via Winbox
I get the feeling I’m missing something obvious here.