thor2605
Goto Top

Mikrotik hAP ax lite an Mikrotik hAP ax3 - DHCP-Leases

Hallo,

Ich habe einen hAP ax lite erfolgreich an den CAPsMAN (meinen hAP ax3) angeschlossen und in Betrieb genommen.
Alles funktioniert auch soweit, aber unter meinem hAP ax3 habe ich keinerleit DHCP-Leases von den Geräten, die an den ax lite verbunden sind.

Hier der Export meines hAP ax lite:
# 2024-09-05 15:41:17 by RouterOS 7.15.3
# software id = X1Y3-AU13
#
# model = L41G-2axD
# serial number = HEK08VRVG95
/interface bridge
add ingress-filtering=no name=bridge1 port-cost-mode=short vlan-filtering=yes
/interface wifi
# managed by CAPsMAN
# mode: AP, SSID: Greenpoint, channel: 2462/ax
set [ find default-name=wifi1 ] configuration.manager=capsman .mode=ap \
    disabled=no
/interface vlan
add interface=bridge1 name=vlan-01-Mgmt vlan-id=1
add interface=bridge1 name=vlan-10-NAS vlan-id=10
add interface=bridge1 name=vlan-20-Docker-Infrastruktur vlan-id=20
add interface=bridge1 name=vlan-30-Docker-Security vlan-id=30
add interface=bridge1 name=vlan-40-Docker-HomeAutomation vlan-id=40
add interface=bridge1 name=vlan-50-Home vlan-id=50
add interface=bridge1 name=vlan-55-Sonos vlan-id=55
add interface=bridge1 name=vlan-60-Gast vlan-id=60
add interface=bridge1 name=vlan-70-Entertainment vlan-id=70
add interface=bridge1 name=vlan-80-Docker-Apps vlan-id=80
add interface=bridge1 name=vlan-90-IoT vlan-id=90
/ip smb users
set [ find default=yes ] disabled=yes
/port
set 0 name=serial0
/interface bridge port
add bridge=bridge1 interface=ether1 internal-path-cost=10 path-cost=10
add bridge=bridge1 interface=wifi1 internal-path-cost=10 path-cost=10
/ip firewall connection tracking
set udp-timeout=10s
/interface bridge vlan
add bridge=bridge1 tagged=ether1,bridge1 vlan-ids=1
add bridge=bridge1 tagged=bridge1 vlan-ids=10
add bridge=bridge1 tagged=bridge1 vlan-ids=20
add bridge=bridge1 tagged=bridge1 vlan-ids=30
add bridge=bridge1 tagged=bridge1 vlan-ids=40
add bridge=bridge1 tagged=bridge1,wifi1,ether1 vlan-ids=50
add bridge=bridge1 tagged=bridge1,ether1,wifi1 vlan-ids=55
add bridge=bridge1 tagged=bridge1,wifi1,ether1 vlan-ids=60
add bridge=bridge1 tagged=bridge1,ether1,wifi1 vlan-ids=70
add bridge=bridge1 tagged=bridge1 vlan-ids=80
add bridge=bridge1 tagged=bridge1,ether1,wifi1 vlan-ids=90
/interface wifi cap
set caps-man-addresses=172.16.1.1 certificate=CAP-XXXXXXXXXX \
    discovery-interfaces=ether1 enabled=yes lock-to-caps-man=yes
/ip address
add address=172.16.1.20/24 interface=vlan-01-Mgmt network=172.16.1.0
/ip smb shares
set [ find default=yes ] directory=/pub
/system clock
set time-zone-name=Europe/Berlin
/system identity
set name="Mikrotik hAP ax lite"  
/system note
set show-at-login=no
/tool romon
set enabled=yes

Was muss ich konfigurieren, dass die DHCP-Leaes alle auf dem DHCP-Server sichtbar sind?

Content-ID: 667924

Url: https://administrator.de/contentid/667924

Ausgedruckt am: 29.09.2024 um 19:09 Uhr

michi1983
michi1983 05.09.2024 um 17:02:27 Uhr
Goto Top
Hallo,

schau mal hier rein.

Gruß
14260433693
14260433693 05.09.2024 aktualisiert um 18:03:57 Uhr
Goto Top
Erstens fehlt da der DataPath für das WiFi Interface.
/interface wifi datapath
add bridge=bridge1 disabled=no name=capdp
/interface wifi
set [ find default-name=wifi1 ] configuration.manager=capsman datapath=capdp disabled=no

Und die Wifis selbst gehören nicht getagged und auch nicht manuell zur Bridge als Port hinzugefügt werden, denn das macht ja der CAP automatisch mit dem richtigen VLAN Tag wenn man ihm den passendem DataPath mit gibt!
Außerdem braucht die Bridge nicht in jedem VLAN getagged zu sein, das braucht sie nur im MGMT Netz!
VLAN-Filtering braucht es auf einem CAP auch nicht, nur wenn man an dem noch zusätzlich lokale AccessPorts mit anbindet.

RTFM

Du solltest die Default CAP Configuration nicht einfach so verhunzen wenn du nicht weißt was du da tust...

Gruß
Thor2605
Lösung Thor2605 05.09.2024 um 18:30:58 Uhr
Goto Top
Danke euch beiden.

Funktioniert jetzt.
Die Konfiguration war komplett falsch.
Anleitung von hier hat da geholfen: WLAN-VLAN-Zuordnung-anhand-radius-eigenschaften

@14260433693:
Die Zeile mit dem Datapath hab ich schlicht überlesen. Danke für den Hinweis!
Ich weiß, dass ich nicht weiß was ich tue. Aber hab jetzt seit 2 Wochen einen Mikrotik Router und seit 1 Woche einen AccessPoint.
Irgendwie muss man ja mal anfangen...
Ich will das verstehen und nicht nur irgendwelche default Einstellungen stupide übernehmen.
Danke für deine Hilfe!