Community discussions

MikroTik App
 
ZschimmerIT
newbie
Topic Author
Posts: 30
Joined: Thu Jul 13, 2017 2:50 pm
Location: Germany

DHCP Options not working

Tue Mar 20, 2018 9:31 pm

HI@ all,

I've a Mikrotik hAP_ac and want to send some DHCP options on DHCP request.
Sadly the DHCP offer includes only the basic options.
For testing I've created a "test" option, ID: 200 and Value: 'test'
Than assigned to the DHCP server but on request this option is not offered.
I've sniffed with wireshark.... Also set IP for CAPsManager but also this option is not offered.
So is this a Software Bug?

rOS 6.41.3

Cheers
 
sindy
Forum Guru
Forum Guru
Posts: 10206
Joined: Mon Dec 04, 2017 9:19 pm

Re: DHCP Options not working

Wed Mar 21, 2018 10:59 pm

The server cannot force any option into the response message it sends (offer, acknowledge) if the client has not asked for it in its request message (discovery, request).

The background idea is that clients indicate which options they understand by asking for them.

So use packet sniffing into file, download the file to your PC, open it using Wireshark, and look what options your client is asking for.

Then, you have to find the correct format of the contents of the option you choose for testing (they differ quite a lot), and you can configure your Mikrotik to provide it.
 
ZschimmerIT
newbie
Topic Author
Posts: 30
Joined: Thu Jul 13, 2017 2:50 pm
Location: Germany

Re: DHCP Options not working

Thu Mar 22, 2018 10:53 pm

HI Sindy,

I've just learned how the DHCP options work and so I sniffed the traffic and found out what to do :)

Thanx a lot

Who is online

Users browsing this forum: InfraErik, ivankrosl, Kanzler, mkx and 121 guests