Hello
Have RB5009Upr+S+ with configured vlans and capsman with to network (https://help.mikrotik.com/docs/display/ ... ionexample: )
Also two hap ax2 connected to it (config from examples) and two hap ac2.
With configuration from documentation -Everything work, but ho hardware offload on ethernet ports.
So i try configuration with switch chip vlans but cannot understand how to configure wifi. My configIn such configuration WIfi connect to capsman, Client's can authenticate but cannot get ip via dhcp from rb5009
log's are empty (only connect-disconect msg for wifi client)
is it possible to create config with vlans using switch chip features and working wifi?
Where to look for possible misconfiguration/how to debug such situation ?
Thank you
Have RB5009Upr+S+ with configured vlans and capsman with to network (https://help.mikrotik.com/docs/display/ ... ionexample: )
Also two hap ax2 connected to it (config from examples) and two hap ac2.
With configuration from documentation -
Code:
/interface bridgeadd name=bridgeLocal vlan-filtering=yes/interface wifiset [ find default-name=wifi1 ] configuration.manager=capsman disabled=noset [ find default-name=wifi2 ] configuration.manager=capsman disabled=noadd disabled=no master-interface=wifi1 name=wifi21add disabled=no master-interface=wifi2 name=wifi22/interface bridge portadd bridge=bridgeLocal comment=defconf interface=ether1add bridge=bridgeLocal comment=defconf interface=ether2add bridge=bridgeLocal comment=defconf interface=ether3add bridge=bridgeLocal comment=defconf interface=ether4add bridge=bridgeLocal comment=defconf interface=ether5add bridge=bridgeLocal interface=wifi2 pvid=10add bridge=bridgeLocal interface=wifi22 pvid=10add bridge=bridgeLocal interface=wifi1 pvid=20add bridge=bridgeLocal interface=wifi21 pvid=20/interface bridge vlanadd bridge=bridgeLocal tagged=ether1 untagged=wifi2,wifi22 vlan-ids=10add bridge=bridgeLocal tagged=ether1 untagged=wifi1,wifi21 vlan-ids=20/interface wifi capset discovery-interfaces=bridgeLocal enabled=yes slaves-static=yes
So i try configuration with switch chip vlans but cannot understand how to configure wifi. My config
Code:
/interface bridgeadd name=LAN-BRIDGE/interface ethernetset [ find default-name=ether1 ] name=Trunk/interface wifi# managed by CAPsMAN# mode: AP, SSID: Satan's Home, channel: 2412/nset [ find default-name=wifi1 ] configuration.manager=capsman .mode=ap \ disabled=no# managed by CAPsMAN# mode: AP, SSID: Satan's Home, channel: 5805/ac/eeeCset [ find default-name=wifi2 ] configuration.manager=capsman .mode=ap \ disabled=no/interface vlanadd interface=LAN-BRIDGE name=MAIN vlan-id=10/interface ethernet switch portset 0 vlan-mode=secureset 1 default-vlan-id=10 vlan-mode=secureset 2 default-vlan-id=10 vlan-mode=secureset 3 default-vlan-id=10 vlan-mode=secureset 4 default-vlan-id=10set 5 vlan-mode=secure/interface wifi datapathadd bridge=LAN-BRIDGE client-isolation=no disabled=no name=datapath1 vlan-id=\ 10/interface wifi# managed by CAPsMAN# mode: AP, SSID: Satan's Guestsadd configuration.mode=ap datapath=datapath1 datapath.vlan-id=20 disabled=no \ mac-address=BA:69:F4:2A:D8:DE master-interface=wifi1 name=wifi3# managed by CAPsMAN# mode: AP, SSID: Satan's Guestsadd configuration.mode=ap datapath=datapath1 datapath.vlan-id=20 disabled=no \ mac-address=BA:69:F4:2A:D8:DF master-interface=wifi2 name=wifi4/ip hotspot profileset [ find default=yes ] html-directory=hotspot/interface bridge portadd bridge=LAN-BRIDGE frame-types=admit-only-vlan-tagged interface=Trunkadd bridge=LAN-BRIDGE frame-types=admit-only-untagged-and-priority-tagged \ interface=ether2 pvid=10add bridge=LAN-BRIDGE frame-types=admit-only-untagged-and-priority-tagged \ interface=ether3 pvid=10add bridge=LAN-BRIDGE frame-types=admit-only-untagged-and-priority-tagged \ interface=ether4 pvid=10add bridge=LAN-BRIDGE interface=wifi1 pvid=10add bridge=LAN-BRIDGE interface=wifi2 pvid=10/ip neighbor discovery-settingsset discover-interface-list=!dynamic/interface ethernet switch vlanadd independent-learning=yes ports=\ Trunk,switch1-cpu,ether2,ether3,ether4,ether5 switch=switch1 vlan-id=10add independent-learning=yes ports=Trunk,switch1-cpu switch=switch1 vlan-id=\ 20/interface wifi capset caps-man-addresses=192.168.50.1 enabled=yes slaves-datapath=datapath1 \ slaves-static=yes/ip addressadd address=192.168.50.5/23 interface=MAIN network=192.168.50.0/ip dnsset servers=192.168.50.1/ip routeadd disabled=no dst-address=0.0.0.0/0 gateway=192.168.50.1 routing-table=main \ suppress-hw-offload=no/system clockset time-zone-name=Europe/Kiev/system identityset name="Hap AC2 "/system noteset show-at-login=no
log's are empty (only connect-disconect msg for wifi client)
is it possible to create config with vlans using switch chip features and working wifi?
Where to look for possible misconfiguration/how to debug such situation ?
Thank you
Statistics: Posted by satan — Sun Feb 11, 2024 9:24 pm