hi all,
can i make vlan with hotspot without using external switch ?
hi all,
can i make vlan with hotspot without using external switch ?
Setup a bridge, assign ports to the bridge, then setup your vlans and assign the vlans to the bridge.
/interface bridge
add name=bridge.VLAN
/interface ethernet
set [ find default-name=ether1 ] advertise=100M-half,100M-full,1000M-half,1000M-full comment="" name=ether1-WAN
set [ find default-name=ether2 ] comment="To 5.8 Backhaul" name=ether2-Master-Local
set [ find default-name=ether3 ] comment=CRS-125
/interface vlan
add interface=ether3 l2mtu=1576 name=vlan.Admin vlan-id=10
add interface=ether3 l2mtu=1576 name=vlan.Staff vlan-id=20
add interface=ether3 l2mtu=1576 name=vlan.Student vlan-id=30
add interface=ether3 l2mtu=1576 name=vlan.Guest vlan-id=40
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=RT-1
/interface bridge port
add bridge=bridge.VLAN interface=ether2-Master-Local
add bridge=bridge.VLAN interface=ether3
add bridge=bridge.VLAN interface=ether4
add bridge=bridge.VLAN interface=ether5
Once vlans are setup then setup your hotspot to the vlan that you want it to apply.
thanks man for helping