Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15133

Wireless Networking • Re: hap ac2 switch chip vlan and WIFI setup with remote capsman

$
0
0
Just leave this config here, maybe somebody will have interest to explain how it's work ^)
Yesterday while experimenting with adding wifi via additional bridge and see incorrect l2 configuration from mikrotik doc's decide try just fo fan... strange
There config work perfect - no cpu load while traffic pass from physical port to physical port. wifi also perfectly work, of cause traffic going via CPU in such case
Code:
[satan@HAP-AC2-TEST] > export compact # 2024-02-13 18:18:13 by RouterOS 7.13.4# software id = 0G6N-6W60## model = RBD52G-5HacD2HnD# serial number = zzzzzzzzzzzzzzzz/interface bridgeadd admin-mac=B8:69:F4:aa:bb:cc auto-mac=no name=Guest-BRadd admin-mac=B8:69:F4:aa:bb:cc auto-mac=no name=MAIN-BRIDGE port-cost-mode=short/interface ethernetset [ find default-name=ether1 ] name=Trunk/interface wifi# managed by CAPsMAN# mode: AP, SSID: Satan TEST, channel: 2452/nset [ find default-name=wifi1 ] configuration.manager=capsman .mode=ap disabled=no# managed by CAPsMAN# mode: AP, SSID: Satan TEST, channel: 5745/ac/Ceeeset [ find default-name=wifi2 ] configuration.manager=capsman .mode=ap disabled=no# managed by CAPsMAN# mode: AP, SSID: Satan TEST2add configuration.mode=ap disabled=no mac-address=BA:69:F4:xx:yy:DE master-interface=wifi1 name=wifi3# managed by CAPsMAN# mode: AP, SSID: Satan TEST2add configuration.mode=ap disabled=no mac-address=BA:69:F4:xx:yy:DF master-interface=wifi2 name=wifi4/interface vethadd address="" gateway="" gateway6="" name=veth1/interface vlanadd interface=MAIN-BRIDGE name=GUEST-VL vlan-id=20add interface=MAIN-BRIDGE name=MAIN vlan-id=10/interface ethernet switch portset 0 vlan-mode=secureset 1 default-vlan-id=10 vlan-header=always-strip vlan-mode=secureset 2 default-vlan-id=10 vlan-header=always-strip vlan-mode=secureset 3 default-vlan-id=10 vlan-header=always-strip vlan-mode=secureset 5 vlan-mode=secure/interface wifi datapathadd bridge=Guest-BR disabled=no name=datapath1/ip hotspot profileset [ find default=yes ] html-directory=hotspot/interface bridge portadd bridge=MAIN-BRIDGE interface=Trunk internal-path-cost=10 path-cost=10add bridge=MAIN-BRIDGE interface=ether2 internal-path-cost=10 path-cost=10add bridge=MAIN-BRIDGE interface=ether3 internal-path-cost=10 path-cost=10add bridge=MAIN-BRIDGE edge=yes interface=ether4 internal-path-cost=10 path-cost=10 point-to-point=yesadd bridge=MAIN-BRIDGE interface=ether5 internal-path-cost=10 path-cost=10add bridge=Guest-BR frame-types=admit-only-vlan-tagged interface=GUEST-VLadd bridge=Guest-BR frame-types=admit-only-untagged-and-priority-tagged interface=wifi1 pvid=10add bridge=Guest-BR frame-types=admit-only-untagged-and-priority-tagged interface=wifi2 pvid=10add bridge=Guest-BR frame-types=admit-only-untagged-and-priority-tagged interface=wifi3 pvid=20add bridge=Guest-BR frame-types=admit-only-untagged-and-priority-tagged interface=wifi4 pvid=20add bridge=Guest-BR frame-types=admit-only-untagged-and-priority-tagged interface=veth1 pvid=20/ipv6 settingsset accept-redirects=no accept-router-advertisements=no disable-ipv6=yes/interface ethernet switch vlanadd independent-learning=yes ports=switch1-cpu,Trunk,ether2,ether3,ether4 switch=switch1 vlan-id=10add independent-learning=yes ports=switch1-cpu,Trunk 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.0add address=192.168.20.2/24 interface=veth1 network=192.168.20.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 identityset name=HAP-AC2-TEST

Statistics: Posted by satan — Wed Feb 14, 2024 10:36 am



Viewing all articles
Browse latest Browse all 15133

Trending Articles