I need to config a MT hexS as a vlan switch since I receive a switch I ordered and that is taking a lot time to arrive.
My configuration is simple:
I have a MT as hotspot. No vlan is defined for all customers (so MT assigns vlan1). Network is 192.168.1.0/24
And I just created a vlan (vlan id 66) for network devices (switches, APs...) Network is 172.16.2.0/25
I'm doing configuration before putting on my hexS.
I want ether1-ether4 that work as hybrid port: vlan1 for access mode and vlan66 trunk mode (switches and APs are managed through vlan66, and customers can't access to them)
Ether5: vlan66 access mode
The reason that I want ether5 on access mode is because to configure some ubiquiti aps I need they get a vlan66 IP (cloud key can't work with vlans) to adopt them, after aps are configured, I can move to other port.
Actually I have that config, but I don't know if it's correct:
Code: Select all
/interface bridge add name=bridge-vlans
/interface vlan add name=vlan1 vlan-id=1 interface=bridge-vlans
/interface vlan add name=vlan66 vlan-id=66 interface=bridge-vlans
/ip address add address=10.0.11.2/24 interface=vlan1
/ip address add address=172.16.2.99/25 interface=vlan66
/interface bridge port add bridge=bridge-vlans interface=ether1,ether2,ether3,ether4 pvid=1
/interface bridge vlan add bridge=bridge-vlans tagged=bridge-vlans,ether1,ether2,ether3,ether4,ether5 vlan-ids=66
/interface bridge set bridge-vlans vlan-filtering=yes