Community discussions

MikroTik App
 
Mimiko
just joined
Topic Author
Posts: 18
Joined: Sat May 20, 2017 3:28 pm

Mikrotik always request ip from dhcp server

Mon Aug 14, 2017 2:29 pm

Hello.
I've disabled DHCP Client and set a static IP. Mikrotik is serving on static IP. But it always once a minute sends DHCP Request to local DHCP server. This mikrotik is not configured to be a DHCP server, nor a DHCP relay. Where to search why it sends DHCP Requests?

Thank you.
 
User avatar
sjwrick
Frequent Visitor
Frequent Visitor
Posts: 78
Joined: Tue Jul 25, 2006 10:12 pm

Re: Mikrotik always request ip from dhcp server

Tue Aug 15, 2017 7:48 am

So does it actually get an IP from the DHCP server?

Does the DHCP server see the request and the associated MAC address definitely belongs to the Mikrotik in question?

Rick
 
Mimiko
just joined
Topic Author
Posts: 18
Joined: Sat May 20, 2017 3:28 pm

Re: Mikrotik always request ip from dhcp server

Tue Aug 15, 2017 9:14 am

Yes, server sees request and offer an IP (same one for the Mikrotik's MAC). But it is not used by Mirkotik. It has a static different IP.
Doing packet sniffing I see that this DHCP Requests Mikrotik send on all configured vlans.
 
User avatar
doneware
Trainer
Trainer
Posts: 590
Joined: Mon Oct 08, 2012 8:39 pm
Location: Hungary

Re: Mikrotik always request ip from dhcp server

Tue Aug 15, 2017 5:19 pm

can you post the captures you did on the mikrotik (just go with ip-protocol=udp port=67,68)
normally the router shall not be sending no dhcp requests, even the default configuration is running dhcp client on external interface only (e.g. ether1).
#TR0359
 
Mimiko
just joined
Topic Author
Posts: 18
Joined: Sat May 20, 2017 3:28 pm

Re: Mikrotik always request ip from dhcp server

Wed Aug 16, 2017 9:46 am

This is the capture. As filtered is on src mac, there is not responce packets. Packet capturing is done on all interfaces.
dhcp mikrotik.gif
You do not have the required permissions to view the files attached to this post.
 
User avatar
doneware
Trainer
Trainer
Posts: 590
Joined: Mon Oct 08, 2012 8:39 pm
Location: Hungary

Re: Mikrotik always request ip from dhcp server

Wed Aug 16, 2017 7:14 pm

This is the capture. As filtered is on src mac, there is not responce packets. Packet capturing is done on all interfaces.
ok, that tells me that your device is sending out dhcp requests on 3 different bridge interfaces
- bridge-default
- bridge-berd
- bridge-voip

the rest of the capture can be ignored as those are the same packets seen on the VLAN subif and the outgoing dot1q trunk.
would you mind to save the pcap as file and attach it to the post so i can look at the contents of the packets?
all in all it doesn't look like too good if you don't have no DHCP-client entries in your config.
#TR0359
 
pe1chl
Forum Guru
Forum Guru
Posts: 6900
Joined: Mon Jun 08, 2015 12:09 pm

Re: Mikrotik always request ip from dhcp server

Wed Aug 16, 2017 9:00 pm

Did you configure alerts on the IP->DHCP server page?
 
Mimiko
just joined
Topic Author
Posts: 18
Joined: Sat May 20, 2017 3:28 pm

Re: Mikrotik always request ip from dhcp server

Thu Aug 17, 2017 8:04 pm

Did you configure alerts on the IP->DHCP server page?
You are a genius. Yes. I've configured alerts to detect dhcp servers. Thank you very very.

Problem solved.

Is there a way to change the time between dhcp checking?

Who is online

Users browsing this forum: 0xid0, maxslug and 29 guests