hi,
after a few hours trying (and failing) to connect my RouterBOARD 962UiGS-5HacT2HnT running 6.45.5 to a L2 managed switch (slm2005) using a trunk port with two vlans, I need to get some help.
Let’s see. This is a home network, and I would like to segment the network because it’s flat and I feel increasingly uncomfortable with all different kind of devices that could (potentially) access other devices without me knowing it, so I want to isolate those IoT devices in isolated vlans.
So this is the working setup. A bridged subnet and a guest wifi subnet.
These are the members of the bridged interface:
> /interface bridge port print
Flags: X - disabled, I - inactive, D - dynamic, H - hw-offload
# INTERFACE BRIDGE HW PVID PR PATH-COST INTERNA... HORIZON
0 I H ;;; defconf
ether4 bridge yes 1 0x 10 10 none
1 wlan1 bridge 1 0x 10 10 none
2 wlan2 bridge 1 0x 10 10 none
3 H ether3 bridge yes 1 0x 10 10 none
4 H ether2 bridge yes 1 0x 10 10 none
I want ether2 to be the trunk interface to the L2 switch. Right now it’s disabled, but, obviously, when I try it the vlan interface is enabled:
> /interface vlan print
Flags: X - disabled, R - running
# NAME MTU ARP VLAN-ID INTERFACE
1 X vlan4 1500 enabled 4 ether2
I remove too the interface from the bridge interface. The vlan4 interface gets ip 192.168.4.1/24 when the interface is enabled, and I have an address pool and a dhcp server listening on that interface.
On the L2 device I configure the same vlan4 on the uplink port, and set the PVID to 4 on the uplink and another port. When I try renewing a lease on the win10 device on that port, nothing happens, the host gets no ip address.
What am I doing wrong? Any help greatly appreciated