Community discussions

MikroTik App
 
76485
just joined
Topic Author
Posts: 3
Joined: Mon Jul 23, 2018 3:04 pm

windows wireless client fail to get ip address (iphone/android ok)

Mon Jul 23, 2018 3:29 pm

hi all,
just setup a new mik based network.
hw: hex poe + 2 cap ac
  • capsman at remote site (CHR)
    all wired connection are ok. (even connect to cap ac eth2, will get ip address from dhcp server, from hex)
    wireless: windows client failed
1. iphone/android can get ip from dhcp server (hex poe)
2. all windows client failed to get ip address.
(capsman show it's success connected). tried multiple windows combonation(thinkpad & dell notebook/pc, mecury/edup usb wifi thumb, win 7 x86/x64, win 10 x64).
all failed to get ip address.
when this failes, not dhcp info was logged. (if no dhcp relay set)
3. tried to set dhcp relay on hex and cap, then get error like:

20:05:35 dhcp,debug received inform from 3C:97:0E:46:00:01 with unknown giaddr 172.20.1.11
20:05:35 dhcp,debug received inform from 3C:97:0E:46:00:01 with unknown giaddr 172.20.1.11



hex dhcp server config
/ip pool
add name=default-dhcp ranges=172.20.1.100-172.20.1.130
/ip dhcp-server
add add-arp=yes address-pool=default-dhcp always-broadcast=yes disabled=no \
insert-queue-before=bottom interface=bridge name=defconf src-address=\
172.20.1.1
/ip dhcp-relay
add dhcp-server=172.20.1.1 disabled=no interface=bridge local-address=\
255.255.255.255 name=relay1
/ip dhcp-server lease
add address=172.20.1.100 always-broadcast=yes mac-address=48:8A:D2:80:67:F1
/ip dhcp-server network
add address=172.20.1.0/24 comment=defconf dns-server=172.20.1.1 gateway=\
172.20.1.1 netmask=24 ntp-server=172.20.1.1
on cap ac
/ip dhcp-relay
add dhcp-server=172.20.1.1 disabled=no interface=ether1 name=relay1
any advice are welcome. thankyou.

update 1:
try set local capsman on hex (with dhcp server on it), windows client still failed.
updatet 2:
try set up local auth wifi on capac , with dhcp server on hex. no luck.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7056
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: windows wireless client fail to get ip address (iphone/android ok)

Mon Jul 23, 2018 3:42 pm

Why do you have relay configuration there?
 
76485
just joined
Topic Author
Posts: 3
Joined: Mon Jul 23, 2018 3:04 pm

Re: windows wireless client fail to get ip address (iphone/android ok)

Mon Jul 23, 2018 3:43 pm

hex poe & cap ac config as attached.
You do not have the required permissions to view the files attached to this post.
 
76485
just joined
Topic Author
Posts: 3
Joined: Mon Jul 23, 2018 3:04 pm

Re: windows wireless client fail to get ip address (iphone/android ok)

Mon Jul 23, 2018 3:44 pm

Why do you have relay configuration there?
at first has no dhcp relay. then no dhcp info was logged. (capsman shows its connected, dhcp debug enabled).
so I think should give relay a try?

Who is online

Users browsing this forum: cyrq, Gadulowaty, infabo and 78 guests