Community discussions

MikroTik App
 
anuser
Long time Member
Long time Member
Topic Author
Posts: 601
Joined: Sat Nov 29, 2014 7:27 pm

DHCP relay over tagged VLAN doesn´t make it to the client?

Wed Jul 31, 2019 3:21 pm

Hello,

I currently have a problem with CAPSMAN controller running v6.44.5 plus cAPs with local forwarding enabeled:
. . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . .
[router]----------tagged_VLAN1000----------[PoE Switch]----------tagged_VLAN1000----------[cAP]----------client
. . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .|__[cAP]____________client. .

So the client successfully connects to the cAP. The router forwards the DHCP request to the DHCP server (10.5.4.1) and finally answers:
*Jul 31 13:35:40:611 2019 Router DHCPR/7/DHCPR_DEBUG_EVENT:
Pkt Sent: send request interface Vlan-interface10, dest IP: 10.5.4.1,
         chardAddr: daee.0451.12b6, server-group: 3.
*Jul 31 13:35:40:628 2019 Router DHCPR/7/DHCPR_DEBUG_EVENT:
Pkt Sent: send reply interface Vlan-interface10, dest IP: 10.5.200.63,
         chardAddr: daee.0451.12b6, server-group: 3.

The client never gets the IP address and tries again and again. So I assume I have some problem on the cAP.

CAPSMAN
/caps-man datapath
add client-to-client-forwarding=no local-forwarding=yes name=datapath-local vlan-id=1000 vlan-mode=use-tag
cAP
/interface bridge
add igmp-snooping=yes name=bridge1 protocol-mode=none vlan-filtering=yes
/interface ethernet
set [ find default-name=ether1 ] speed=100Mbps
set [ find default-name=ether2 ] speed=100Mbps
/interface vlan
add interface=bridge1 name=vlan10 vlan-id=10
add interface=bridge1 name=vlan20 vlan-id=20
add interface=bridge1 name=vlan30 vlan-id=30
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
/interface bridge vlan
add bridge=bridge1 tagged=bridge1,ether1,ether2 vlan-ids=10,20,30
/interface wireless cap
set bridge=bridge1 caps-man-addresses=10.5.10.70 enabled=yes interfaces=wlan1,wlan2
The management IP is on "VLAN 1":
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=bridge1
Looking on the cAP within bridge => VLANs, it shows
- bridge1 VLAN IDs 10, 20, 30 Current Tagged on bridge1, ether1, wlan1, wlan2
- D bridge1 VLAN IDs 1 Current Untagged on bridge1, ether1

Can someone look over that configuration. It seems I´m still missing something
 
anuser
Long time Member
Long time Member
Topic Author
Posts: 601
Joined: Sat Nov 29, 2014 7:27 pm

Re: DHCP relay over tagged VLAN doesn´t make it to the client?

Thu Aug 01, 2019 2:59 pm

Update: Reprovisioning the access point helps for some hours. After that the client doesn´t get any IP address again. What´s going wrong?

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], kormenator, sstefanov and 170 guests