Community discussions

MikroTik App
 
grutmic
just joined
Topic Author
Posts: 19
Joined: Mon Dec 18, 2023 7:42 pm

Problems with vlans and mixed config cap AC and cap AX v7.14.2  [SOLVED]

Tue Apr 02, 2024 7:09 pm

Hi,
i have some trouble to get my configuration properly run.
My config consist out of an RB3011 (capsman manager) and one new cap AX, six cap AC and one wap AC.
All devices running version 7.14.2, the RB3011 is attached to a FritzBox Lan connection on ether1 and on ether2 to GuestLAN. GuestLAN DHCP comes from FritzBox and HomeNET comes from RB3011 DHCP server.

My problem: I could not join into the GuestLAN on cap AX on the others it will work. [Solved: I have forgotten to set the Port into the correct VLAN on the attached switch]

HomeNET is working properly on all devices.

Any idea, i try to fix it for some days already, maybe i am just got blind for the problem. I tried to create the configuration like the one in the Help examples.

RB3011 config:
# 2024-04-02 17:48:15 by RouterOS 7.14.2
# software id = MP2L-H9CY
#
# model = RB3011UiAS
# serial number = B88D0BA566C9
/interface bridge
add igmp-snooping=yes name=vlan_bridge vlan-filtering=yes
/interface vlan
add interface=vlan_bridge name=GUEST vlan-id=100
add interface=vlan_bridge name=HOME vlan-id=1
/interface wifi configuration
add country=Germany datapath.bridge=vlan_bridge disabled=no mode=ap name=HOME \
    security.authentication-types=wpa2-psk,wpa3-psk .ft=yes .ft-over-ds=yes \
    ssid=HomeNET
add country=Germany datapath.bridge=vlan_bridge .vlan-id=100 disabled=no \
    mode=ap name=GUEST security.authentication-types=wpa2-psk,wpa3-psk .ft=\
    yes .ft-over-ds=yes ssid=GuestLAN
add country=Germany datapath.bridge=vlan_bridge disabled=no mode=ap name=\
    HOME_AC security.authentication-types=wpa2-psk,wpa3-psk ssid=HomeNET
add country=Germany datapath.bridge=vlan_bridge disabled=no mode=ap name=\
    GUEST_AC security.authentication-types=wpa2-psk,wpa3-psk ssid=GuestLAN
/interface wifi
add configuration=HOME disabled=no name=cap-wifi1 radio-mac=48:A9:8A:9B:09:16
add configuration=GUEST disabled=no mac-address=4A:A9:8A:9B:09:16 \
    master-interface=cap-wifi1 name=cap-wifi2
add configuration=HOME disabled=no name=cap-wifi3 radio-mac=48:A9:8A:9B:09:17
add configuration=GUEST disabled=no mac-address=4A:A9:8A:9B:09:17 \
    master-interface=cap-wifi3 name=cap-wifi4
/ip pool
add name=home_pool ranges=192.168.1.60-192.168.1.250
/ip dhcp-server
add address-pool=home_pool interface=HOME lease-time=10m name=home_dhcp
/ip smb users
add name=grutmic
/port
set 0 name=serial0
/ip smb
set domain=HOMENET enabled=no interfaces=HOME
/interface bridge port
add bridge=vlan_bridge frame-types=admit-only-untagged-and-priority-tagged \
    interface=ether1 trusted=yes
add bridge=vlan_bridge frame-types=admit-only-untagged-and-priority-tagged \
    interface=ether2 pvid=100 trusted=yes
/interface bridge vlan
add bridge=vlan_bridge comment=HomeNET tagged=vlan_bridge untagged=ether1 \
    vlan-ids=1
add bridge=vlan_bridge comment=GuestLAN tagged=vlan_bridge untagged=ether2 \
    vlan-ids=100
/interface detect-internet
set detect-interface-list=all
/interface wifi capsman
set ca-certificate=WiFi-CAPsMAN-CA-C4AD34FAFCF3 certificate=\
    WiFi-CAPsMAN-C4AD34FAFCF3 enabled=yes interfaces=all package-path="" \
    require-peer-certificate=no upgrade-policy=none
/interface wifi provisioning
add action=create-dynamic-enabled disabled=no master-configuration=HOME \
    slave-configurations=GUEST supported-bands=5ghz-ax
add action=create-dynamic-enabled disabled=no master-configuration=HOME \
    slave-configurations=GUEST supported-bands=2ghz-ax
add action=create-dynamic-enabled disabled=no master-configuration=HOME_AC \
    slave-configurations=GUEST_AC supported-bands=5ghz-ac
add action=create-dynamic-enabled disabled=no master-configuration=HOME_AC \
    slave-configurations=GUEST_AC supported-bands=2ghz-n
/ip address
add address=192.168.1.2/24 interface=HOME network=192.168.1.0
/ip dhcp-client
add add-default-route=no interface=GUEST
add add-default-route=no comment=\
    "HOME braucht feste IP Adresse, ist selber der DHCP Server" disabled=yes \
    interface=HOME

# Leases are taken off

/ip dhcp-server network
add address=192.168.1.0/24 dns-server=192.168.1.1 domain=fritz.box gateway=\
    192.168.1.2
/ip dns
set allow-remote-requests=yes servers=192.168.1.1
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 \
    pref-src="" routing-table=main scope=30 suppress-hw-offload=no \
    target-scope=10
/ip smb shares
set [ find default=yes ] disabled=no valid-users=grutmic
/lcd
set default-screen=informative-slideshow
/system clock
set time-zone-name=Europe/Berlin
/system identity
set name=Router
/system note
set show-at-login=no

cap AX config:
# 2024-04-02 17:49:13 by RouterOS 7.14.2
# software id = NYAP-3PWD
#
# model = cAPGi-5HaxD2HaxD
# serial number = HEA08X47XFH
/interface bridge
add admin-mac=48:A9:8A:9B:09:14 auto-mac=no comment=defconf name=bridgeLocal
/interface wifi
# managed by CAPsMAN
# mode: AP, SSID: HomeNET, channel: 2412/ax/Ce
set [ find default-name=wifi2 ] configuration.manager=capsman .mode=ap \
    disabled=no
/interface wifi datapath
add bridge=bridgeLocal comment=defconf disabled=no name=capdp
/interface wifi
# managed by CAPsMAN
# mode: AP, SSID: HomeNET, channel: 5320/ax/eeeC
set [ find default-name=wifi1 ] configuration.manager=capsman datapath=capdp \
    disabled=no
/interface bridge port
add bridge=bridgeLocal comment=defconf interface=ether1
add bridge=bridgeLocal comment=defconf interface=ether2
/interface wifi cap
set certificate=CAP-48A98A9B0914 discovery-interfaces=bridgeLocal enabled=yes \
    slaves-datapath=capdp
/ip dhcp-client
add comment=defconf interface=bridgeLocal
/system clock
set time-zone-name=Europe/Berlin
/system identity
set name="HomeLAN DG1"
/system note
set show-at-login=no

cap AC config:
# 2024-04-02 17:49:48 by RouterOS 7.14.2
# software id = CDRL-CK1I
#
# model = RBcAPGi-5acD2nD
# serial number = CBE30D22997B
/interface bridge
add admin-mac=08:55:31:B0:A9:98 auto-mac=no comment=defconf name=bridgeLocal \
    vlan-filtering=yes
/interface wifi datapath
add bridge=bridgeLocal comment=defconf disabled=yes name=capdp
/interface wifi
# managed by CAPsMAN
# mode: AP, SSID: HomeNET, channel: 2427/n/Ce
set [ find default-name=wifi1 ] configuration.manager=capsman datapath=capdp \
    disabled=no
# managed by CAPsMAN
# mode: AP, SSID: HomeNET, channel: 5500/ac/Ceee
set [ find default-name=wifi2 ] configuration.manager=capsman datapath=capdp \
    disabled=no
# managed by CAPsMAN
# mode: AP, SSID: GuestLAN
add disabled=no mac-address=0A:55:31:B0:A9:9A master-interface=wifi1 name=\
    wifi21
# managed by CAPsMAN
# mode: AP, SSID: GuestLAN
add disabled=no mac-address=0A:55:31:B0:A9:9B master-interface=wifi2 name=\
    wifi22
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/interface bridge port
add bridge=bridgeLocal interface=ether1
add bridge=bridgeLocal comment=defconf interface=ether2
add bridge=bridgeLocal interface=wifi1
add bridge=bridgeLocal interface=wifi21 pvid=100
add bridge=bridgeLocal interface=wifi2
add bridge=bridgeLocal interface=wifi22 pvid=100
/interface bridge vlan
add bridge=bridgeLocal tagged=ether1 untagged=wifi1,wifi2 vlan-ids=1
add bridge=bridgeLocal tagged=ether1 untagged=wifi21,wifi22 vlan-ids=100
/interface wifi cap
set certificate=CAP-085531B0A998 discovery-interfaces=bridgeLocal enabled=yes \
    slaves-datapath=capdp slaves-static=yes
/ip dhcp-client
add comment=defconf interface=bridgeLocal
/system clock
set time-zone-name=Europe/Berlin
/system identity
set name="HomeLAN EG1"
/system leds settings
set all-leds-off=after-1h
/system note
set show-at-login=no

Who is online

Users browsing this forum: johnbenson and 5 guests