Pc can't get ip from Mikrotik dhcp server

 
HW INFO:
-Mikrotik RB951
-Cisco Switch 3750
-CnPilot e410
 
SW INFO:
-Mikrotik as dhcp server for vlan10 and vlan 20
 
PROBLEMS:
-when client pc connect to ssid v10, it can't get ip from dhcp server in Mikrotik
-pc connected to cisco port can get ip from dhcp server in Mikrotik
 
GOALS:
1. when client connect to ssid v10, he get ip for vlan10 (bridge)
 
QUESTIONS:
1. am I correct by not creating vlan in AP?
2. I think, I need to create vlan in AP only when I need to do routing in AP?
tq
 
2019-03-21 10_35_37-CambiumMikrotikGRE.vsdx - Visio Professional.png
 
 
CISCO:
interface FastEthernet2/0/25
description CAMBIUM AP
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20,30,40,50,60,70,80,90,100
switchport mode trunk
spanning-tree portfast trunk
 
 
CAMBIUM:
# sh config
management ssh
management user admin password $crypt$1$mx3loyKXECOH3Wl8q0+y0LrBoNUog666
no management http
management cambium-remote
management http port 80
management cambium-remote validate-server-cert
no management telnet
management cambium-remote url https://192.168.88.231
management https port 443
management https
led
lldp
no poe-out
country-code CN
wpa2-handshake-retry 4 4
wpa2-handshake-timeout 100 500 1000
wpa2-handshake-log-level 4
placement indoor
!
wireless radio 1
no shutdown
channel auto
channel-width 20
channel-list all-channels
data-rate unicast 1b 2b 5.5b 11b 12 18 24 36 48 54
data-rate non-unicast highest-basic
power auto
no airtime-fairness
auto-channel-select on-startup
antenna-gain 5
beacon-interval 100
no dynamic-channel-selection
off-channel-scan dwell-time 50
auto-rf chan-hold-time 120
auto-rf packet-error-rate-threshold 30
auto-rf channel-utilization-threshold 25
mesh-xtnded-dev-list
wmm-parameters downstream txoplimit vi 3008
wmm-parameters downstream txoplimit vo 1504
wmm-parameters upstream txoplimit vi 3008
wmm-parameters upstream txoplimit vo 1504
!
wireless radio 2
no shutdown
channel auto
channel-width 80
channel-list prefer-non-dfs
data-rate unicast 6b 9 12b 18 24b 36 48 54
data-rate non-unicast lowest-basic
power auto
no airtime-fairness
auto-channel-select on-startup
antenna-gain 5
beacon-interval 100
dynamic-channel-selection
dynamic-channel-selection threshold 100
dynamic-channel-selection samples 20
off-channel-scan dwell-time 50
auto-rf chan-hold-time 120
auto-rf packet-error-rate-threshold 30
auto-rf channel-utilization-threshold 25
mesh-xtnded-dev-list
wmm-parameters downstream txoplimit vi 3008
wmm-parameters downstream txoplimit vo 1504
wmm-parameters upstream txoplimit vi 3008
wmm-parameters upstream txoplimit vo 1504
!
wireless wlan 1
ssid v1
no shutdown
vlan 1
security wpa2-psk
no protected-mgmt-frames
passphrase $crypt$1$dp5Bm3YWUQkq6uTtyTaDlbyVi46EAD8H
band both
dtim-interval 1
max-associated-client 127
client-cache cnMaestro
mac-authentication policy deny
no guest-access
dhcp-option82
dhcp-option82 circuit-id vlanid
dhcp-option82 remote-id vlanid
!
wireless wlan 2
ssid v10
no shutdown
vlan 10
security wpa2-psk
no protected-mgmt-frames
passphrase $crypt$1$3lbfVXWb48TtVWll0knXiIDNZ2wAvPE6
band 2.4GHz
dtim-interval 1
max-associated-client 127
client-cache cnMaestro
tunnel-mode
mac-authentication policy deny
no guest-access
dhcp-option82
dhcp-option82 circuit-id vlanid
dhcp-option82 remote-id vlanid
!
wireless wlan 3
ssid v20
no shutdown
vlan 20
security wpa2-psk
no protected-mgmt-frames
passphrase $crypt$1$uVHIJlwQp+zyfnQmB59mIhEqbrXCnzBj
band 2.4GHz
dtim-interval 1
max-associated-client 127
client-cache cnMaestro
tunnel-mode
mac-authentication policy deny
no guest-access
dhcp-option82
dhcp-option82 circuit-id vlanid
dhcp-option82 remote-id vlanid
!
interface eth 1
switchport mode trunk
switchport trunk native vlan 1
switchport trunk allowed vlan 1-100
!
interface vlan 1
ip dhcp relay insert-agent-info remote-id custom VLANID
management-access all
ip dhcp request-option-all
ip address zeroconf
ip dhcp relay insert-agent-info circuit-id custom VLANID
ip address 192.168.88.228 255.255.255.0
!
ntp server pool.ntp.org
tunnel l2gre
remote-host 192.168.88.231
dscp 0
mtu 1500
tcp-mss 1410
!
ip name-server 1.1.1.1
ip name-server 9.9.9.9
ip domain-name ngtrain.com
ip route default 192.168.88.1
!
timezone Asia/Jakarta
hostname E410-97ACF5
snmp-server
snmp-server write-community private
snmp-server read-community public
ip gw-source-precedence static 1
ip gw-source-precedence dhcpc 2
ip gw-source-precedence pppoe 3
logging syslog 7
 

Could you please connect a laptop to access port in Cisco switch which has vlan 10 mapped and check if it is getting ip.Ap configuration is proper , you don't need to create vlan interface. If a laptop connected directly to Cisco switch gets IP we need further loop into Microtik configuration

I can get ip when my pc connect to cisco access port vlan10 and vlan20

My AP has 3 SSIDs

v1=vlan1

v10=vlan10

v20=vlan20

I can connect only to v1

UPDATE1:

I set dhcp server for vlan50 in Cisco switch

User can get ip when connected to access port vlan50

Create ssid v50 with vlan50

OPTION1:

no vlan50 created in AP. no NAT

RESULT: user connected to v50 won't get ip

OPTION2:

vlan50 created in AP. no NAT

RESULT: user connected to v50 won't get ip

Cambium could you try in your site. AP get dhcp from cisco dhcp server

How come this simple task doesn't work

This how I fixed

1. upgrade firmware to version 3.10.1-r2

STATUS: dhcp not ok

2. -make sure disable "DHCP Requestion Option all in VLAN 1"
GUI
untick Network/Request Option All/Use Gateway, DNS, Dhcp options received on this interface
CLI
Cambium-MB(config-vlan-1)# no ip dhcp request-option-all"

STATUS: dhcp ok

But the weird thing is when I enable back 

STATUS: dhcp still ok

Cambium-MB(config-vlan-1)# ip dhcp request-option-all

still no menu for this

GUI
Network/Request Option All/Use Gateway, DNS, Dhcp options received on this interface

I think that menu disappear once you disable

So now no effect whether I enable or disable "(config-vlan-1)# ip dhcp request-option-all"

Hi nbctcp,

Can you please email the techdump of AP (both working and non-working case). My email id is subodh.sawrav@cambiumnetworks.com 

Also, if possible arrange a remote session so that we can analyze and understand this issue ASAP. 

Regards,

Subodh