Community discussions

MikroTik App
 
User avatar
fernando143
just joined
Topic Author
Posts: 19
Joined: Mon Jul 16, 2018 5:49 pm

Obtaining ip from tp-link to mikrotik

Thu Aug 02, 2018 3:50 pm

Hi, I have got an hAP Lite, eth2, eth3, eth4 and wlan are in bridge mode, it works fine, but the problem is with tp-link repeater. When I power on the tp-link, obtains an ip from mikrotik dhcp server, but when I try connect to tp-link, my smartphone still "obtaining ip".
At dhcp server -> leases, I can see the mac address of my smartphone and the status is "offered".
I researched here, in other post about this problem, but I can't resolve my problem with mikrotik and tp-link. This is my schema:
bitmap.png
In the log of mikrotik appears it:
12:09:32 dhcp,debug,packet dhcp1 sending offer with id 3024565349 to 255.255.255.255 
12:09:32 dhcp,debug,packet     flags = broadcast 
12:09:32 dhcp,debug,packet     ciaddr = 0.0.0.0 
12:09:32 dhcp,debug,packet     yiaddr = 192.168.5.7 
12:09:32 dhcp,debug,packet     siaddr = 192.168.5.1 
12:09:32 dhcp,debug,packet     chaddr = 44:80:EB:F1:60:A0 
12:09:32 dhcp,debug,packet     Msg-Type = offer 
12:09:32 dhcp,debug,packet     Server-Id = 192.168.5.1 
12:09:32 dhcp,debug,packet     Address-Time = 86400 
12:09:32 dhcp,debug,packet     Subnet-Mask = 255.255.255.0 
12:09:32 dhcp,debug,packet     Router = 192.168.5.1 
12:09:32 dhcp,debug,packet     Domain-Server = 192.168.5.1,192.168.1.1 
12:09:48 dhcp,debug,packet dhcp1 received discover with id 3024565349 from 0.0.0.0 
12:09:48 dhcp,debug,packet     secs = 30 
12:09:48 dhcp,debug,packet     flags = broadcast 
12:09:48 dhcp,debug,packet     ciaddr = 0.0.0.0 
12:09:48 dhcp,debug,packet     chaddr = 44:80:EB:F1:60:A0 
12:09:48 dhcp,debug,packet     Msg-Type = discover 
12:09:48 dhcp,debug,packet     Client-Id = 01-44-80-EB-F1-60-A0 
12:09:48 dhcp,debug,packet     Max-DHCP-Message-Size = 1500 
12:09:48 dhcp,debug,packet     Class-Id = "android-dhcp-7.1.2" 
12:09:48 dhcp,debug,packet     Host-Name = "motog2014" 
12:09:48 dhcp,debug,packet     Parameter-List = Subnet-Mask,Router,Domain-Server,Domain-Name,Interface-MTU,Broadcast-Address,Address-Time,Renewal-Time,Rebinding-Time,Vendor-
Specific 
12:09:48 dhcp,warning dhcp1 offering lease 192.168.5.7 for 44:80:EB:F1:60:A0 to 30:B5:C2:EF:50:6A without success
In dhcp server - leases shows it:
 #   ADDRESS                                                     MAC-ADDRESS       HOST-NAME                   SERVER                   RATE-LIMIT                   STATUS 
 0 D 192.168.5.10                                                30:B5:C2:EF:50:6A *5\15\10                    dhcp1                                                 bound  
 1 D 192.168.5.7                                                 44:80:EB:F1:60:A0 motog2014                   dhcp1                                                 offered
Hosname *5\15\10 is tp-link repeater and motog2014 is android device.

Can someone help me?

Regards
(Sorry for my english)
You do not have the required permissions to view the files attached to this post.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7192
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Obtaining ip from tp-link to mikrotik

Thu Aug 02, 2018 4:03 pm

Most likely TP link drops DHCP offers
 
Leinadmontilla
just joined
Posts: 12
Joined: Sat Jul 21, 2018 8:39 am

Re: Obtaining ip from tp-link to mikrotik

Thu Aug 02, 2018 5:24 pm

The connection of your tp link and mikrotik is via wireless? If yes, try to connect that via wired and test if your cp can now able to obtain an IP from the tplink.
 
User avatar
fernando143
just joined
Topic Author
Posts: 19
Joined: Mon Jul 16, 2018 5:49 pm

Re: Obtaining ip from tp-link to mikrotik

Mon Aug 06, 2018 2:04 am

Sorry for delay.
The connection between Mikrotik and tp-link is via wireless. With wired it works fine, the problem is only with wlan interface.

I said, my mikrotik has eth2, eth3, eth4 and wlan in bridge.

I readed in other posts, a solution is leave without bridge wlan. So now I have bridge from eth2 to eth4, but without bridge in wlan.
Then I tried connect tp-link to wlan, but it wasn't succefull. Again the wi fi shows "obtaining ip", at the dhcp server -> leases, appears the ip of tp-link with state "bound" and appears the ip of my device with its ip and state "offered".

So, I don't understand why is impossible connect tp-link to mikrotik via wireless.
Are there any configuration bad/broken/incorrect in my mikrotik?
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7192
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Obtaining ip from tp-link to mikrotik

Mon Aug 06, 2018 12:41 pm

As I mentioned TP link is blocking offers, no configuration change on MT router will change that. You can verify that MT sends out offer to each request by looking at DHCP logs or packet sniffer.
 
User avatar
fernando143
just joined
Topic Author
Posts: 19
Joined: Mon Jul 16, 2018 5:49 pm

Re: Obtaining ip from tp-link to mikrotik

Mon Aug 06, 2018 10:40 pm

Yes, I saw, mikrotik sends for each request.
Now I changed the firmware of tp-link to gargoyle firmware, and again I tried to configure in repeater or bridge mode but the problem is same.

So, if the problem appears with different tp-link (701nd and 743nd) and different firmware (factory default and gargoyle firmware). Although mikrotik shows that he is sending out offers by each request, I think, the problem is at mikrotik, in dhcp server or maybe in wlan.

I can't think of another configuration I can try.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13047
Joined: Thu Mar 03, 2016 10:23 pm

Re: Obtaining ip from tp-link to mikrotik

Mon Aug 06, 2018 11:44 pm

Could it be that settings of tp-link and RB's wireless are not compatible? WiFi "repeating" is not a straight-forward business. Search around forum and see if you can make something out of different WAP settings (ap VS ap-bridge VS bridge and how does WPS come into play).
 
User avatar
fernando143
just joined
Topic Author
Posts: 19
Joined: Mon Jul 16, 2018 5:49 pm

Re: Obtaining ip from tp-link to mikrotik

Tue Aug 14, 2018 4:02 pm

Well, I tried with different firmware, ie gargoyle, open-wrt and dd-wrt. But none has worked. So I think the unique way is try with other mikrotik.
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 914
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: Obtaining ip from tp-link to mikrotik

Tue Aug 14, 2018 4:11 pm

Perhaps the mac address is translated somehow in the repeating process. Could you try with 'always broadcast' either on or off in the MT dhcp server configuration?

Can you do packet captures, one of the dhcp acquisition directly connected to the MT and one via the repeater and compare them?

Who is online

Users browsing this forum: jvanhambelgium and 42 guests