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

General • Re: Wifi Interface doesn't give IP with DHCP that is assigned to VLAN

$
0
0
Hi! I bump up the topic, I have similar problem, my setup is based on hex, 2x cAP ac and hAP ax lite. I upgraded to 7.13 and replaced wireless with the new drivers on cAPs. Tried to setup VLANs as provided in the documentation, everything seems to work, but like fellow user reported, the clients try co connect to ap but do not get DHCP lease, I just see them in the registration tab trying to establish connection.

my configs (I share only the part from hex that refers to the config posted in the docs)

hex:
Code:
/interface bridgeadd auto-mac=no comment=defconf name=bridge port-cost-mode=short vlan-filtering=yes/interface vlanadd interface=bridge name=vlan77 vlan-id=77add interface=bridge name=vlan99 vlan-id=99/interface wifi datapathadd bridge=bridge disabled=no name=datapath99 vlan-id=99add bridge=bridge disabled=no name=datapath77 vlan-id=77add bridge=bridge disabled=no name=DP_AC/interface wifi securityadd authentication-types=wpa2-psk,wpa3-psk disabled=no encryption=ccmp ft=yes ft-over-ds=yes name=void_secadd authentication-types=wpa2-psk disabled=no encryption=ccmp ft=yes ft-over-ds=yes name=dead_secadd authentication-types=wpa2-psk disabled=no encryption=ccmp name=fellows_sec/interface wifi configurationadd country=Poland disabled=no name=cfg_enter_the_void security=void_sec ssid=enter_the_voidadd country=Poland datapath=DP_AC disabled=no name=cfg_dead_man security=dead_sec ssid=dead_manadd chains="" country=Poland disabled=no mode=ap name=cfg1 security=dead_sec ssid=from_dusk_till_dawnadd antenna-gain=3 country=Poland datapath=datapath77 datapath.vlan-id=77 disabled=no mode=ap name=goodfellas security=fellows_sec ssid=goodfellasadd channel=channel11 country=Poland datapath=datapath88 disabled=no name=cfg2 security=void_sec ssid=void/ip pooladd name=default-dhcp ranges=192.168.88.10-192.168.88.254add name=dhcp_pool_vlan99 ranges=192.168.99.2-192.168.99.254add name=dhcp_pool_vlan77 ranges=192.168.77.2-192.168.77.254/ip dhcp-serveradd address-pool=default-dhcp interface=bridge lease-time=10m name=home_networkadd address-pool=dhcp_pool_vlan99 interface=vlan99 lease-time=10m name=vlan_99add address-pool=dhcp_pool_vlan77 interface=vlan77 lease-time=10m name=vlan_77/interface bridge portadd bridge=bridge comment=defconf ingress-filtering=no interface=ether2 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether3 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether4 internal-path-cost=10 path-cost=10add bridge=bridge comment=defconf ingress-filtering=no interface=ether5 internal-path-cost=10 path-cost=10add bridge=bridge disabled=yes interface=vlan77 internal-path-cost=10 path-cost=10add bridge=bridge interface=ether1/interface bridge vlanadd bridge=bridge tagged=ether2,ether3,ether4,ether5 vlan-ids=99/interface wifi capsmanset enabled=yes interfaces=bridge package-path="" require-peer-certificate=no upgrade-policy=suggest-same-version/interface wifi provisioningadd action=create-dynamic-enabled disabled=yes master-configuration=cfg_enter_the_void name-format=5ghz-%I-enter_the_void supported-bands=5ghz-acadd action=create-dynamic-enabled disabled=yes master-configuration=cfg_dead_man name-format=2ghz-%I-dead_man supported-bands=2ghz-nadd action=create-disabled disabled=yes name-format=%I-cap/ip addressadd address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0add address=192.168.99.1/24 comment=dead_man interface=vlan99 network=192.168.99.0add address=192.168.77.1/24 comment=good_fellas interface=vlan77 network=192.168.77.0add address=192.168.66.1/24 comment=vpn interface=wireguard2 network=192.168.66.0add address=192.168.77.1/24 comment=good_fellas disabled=yes interface=vlan99 network=192.168.77.0/ip dhcp-server networkadd address=192.168.77.0/24 gateway=192.168.77.1add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1add address=192.168.99.0/24 gateway=192.168.99.1/system identityset name=hex
cap:
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/ip hotspot profile     set [ find default=yes ] html-directory=hotspot/interface bridge portadd bridge=bridgeLocal comment=defconf interface=ether1add bridge=bridgeLocal interface=wifi1 pvid=99/interface bridge vlanadd bridge=bridgeLocal tagged=ether1 untagged=wifi1 vlan-ids=99/interface wifi capset discovery-interfaces=bridgeLocal enabled=yes slaves-static=yes/ip dhcp-clientadd interface=bridgeLocal/system clockset time-zone-name=Europe/Warsaw/system noteset show-at-login=no
Please advise.

Statistics: Posted by jrssman — Tue Feb 06, 2024 9:46 pm



Viewing all articles
Browse latest Browse all 15394

Trending Articles