[admin@mt] /ip dhcp-client option> add code=60 name=stuff value=0x18A000000A016501000A016501
[admin@mt] /ip dhcp-client> set 0 dhcp-options=stuff
According to what OP wrote, it differs in that this options are only sent if client explicitly requests them. And it seems there are DHCP clients in the wild that do respect some options on receive even if they don't requested them.Unclear. How is this different from the already available option here?
option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list,2b);
append dhcp-parameter-request-list 43;
When you need it , it will be really useful.Isn't this in general a case of "my client is broken so please fix your server"?
It would be better to send change requests to the client manufacturer to tell them to request the options they support in the reply.
(after all, that is the idea behind the protocol)
Yes,I am from China.When you need it , it will be really useful.Isn't this in general a case of "my client is broken so please fix your server"?
It would be better to send change requests to the client manufacturer to tell them to request the options they support in the reply.
(after all, that is the idea behind the protocol)
And that's the only reason why i don't use ROS as the system of my main Router.
In China millions user need to force add option-125 to activate our IPTV devices, and UBNT OpenWRT dnsmasq both support force-dhcp-options to against our ISP.
Only ROS can't do this.
agreeIt is very helpful for some iptv box in china will check the option 125 value but it do not send the option request, some dhcp server such as dnsmasq widely used in other system as merlin,openwrt,tomato also support ""force option", we hope ros can support the feature so I could no longer need another ddwrt based router to provide dhcpd as I used now.
Ok but why don't you request china telecom to put the option 125 request in the DHCP request packet?Because of the china telecom 4K IPTV devices need force option-125.
I have google "ros force dhcp option" since 2016.
Now time is 2018 , it disappointed me again .
Ok but why don't you request china telecom to put the option 125 request in the DHCP request packet?Because of the china telecom 4K IPTV devices need force option-125.
I have google "ros force dhcp option" since 2016.
Now time is 2018 , it disappointed me again .
That would be the normal way of handling a DHCP option.
When china telecom does not honor this request in 2 years time, you can write them that you are disappointed.
But writing here that you are disappointed that MikroTik is not supporting devices that break the protocol seems a little unfounded.
(even when other manufacturers do that)
Not only in China, see the same behavior with Telus 4K set-top box, not sure if that apply to all set-top box or just new install in my areaOk but why don't you request china telecom to put the option 125 request in the DHCP request packet?Because of the china telecom 4K IPTV devices need force option-125.
I have google "ros force dhcp option" since 2016.
Now time is 2018 , it disappointed me again .
That would be the normal way of handling a DHCP option.
When china telecom does not honor this request in 2 years time, you can write them that you are disappointed.
But writing here that you are disappointed that MikroTik is not supporting devices that break the protocol seems a little unfounded.
(even when other manufacturers do that)
china telecom doesn`t want you to use your own router ,so they make the dhcp option problem .
you can use the router , which they provide and under their supervision, without the dhcp option problem.
You have limited access to their router . you only can change the Lan ip ,dhcp pool ,ssid and pw.
static pat ? no
vpn ? no
firewall ? no
qos ? no
https://tools.ietf.org/html/draft-ietf- ... 7710bis-11DHCP servers MAY send the Captive Portal option without any explicit request.
Hello,
Thank you for your request. We will consider implementing such an option.
Best regards,
In fact you should be more surprised that the Android developers, after all those years, could not be bothered to put an option request in their DHCP request for all options that they can process. After all, that is the standard for the DHCP protocol.I am quite surprised this has not been implemented in RouterOS after all this years...
It looks like you do not understand the matter!Yes pe1chl 1000+
incredible how mikrotik decide to approach this feature req.
Fair Enough, but could Mikrotik add a switch to enable/disable force response DHCP option, that will be greate helpful to some enviroments.It looks like you do not understand the matter!
MikroTik already supports the sending of arbitrary DHCP options to clients. You can define them using the Options, Option Sets, and Vendor Classes tabs of
the DHCP server configuration.
This should be sufficient to send that option 114 to your clients, as is described in that github article. As long as the client requests this option.
This topic is about something else: BROKEN clients that expect to receive some DHCP option without having requested them.
That is in fact a bug in the client, not in the server (in this case a MikroTik router)!
You should compare a DHCP server to a shop, e.g. an online shop. The client orders some items from the shop, and receives a package back containing some of those items. E.g. it has ordered item number 1,2,3,10 and it receives 1,2 and 10. It does not receive 3 because the store does not have it.
That is how it is supposed to work.
Now the people above are screaming: hey MikroTik, you should allow us to configure the store so that it always sends item 10, even when the client only ordered item 1,2 and 3. All clients should receive item 10 even when they did not order it!
However, the store was never able to do that in the standard, it is something that people have invented as a workaround for clients that forget to order item 10 even though they need it.
Here is another analogue: jails should not exist, because the law does not allow you to do bad things. But in reality, people don't always follow the law, and nobody questions the usefulness of jails! Yes, some DHCP clients are broken. But it does not make this feature any less important. We are living in an imperfect world, and creating a feature that makes life easier is benefical for the users. (And not just for the users - I bet there are some users who replaced their MT router just because they did not want to operate an extra rasperry pi beside their routers...)You should compare a DHCP server to a shop, e.g. an online shop. The client orders some items from the shop, and receives a package back containing some of those items. E.g. it has ordered item number 1,2,3,10 and it receives 1,2 and 10. It does not receive 3 because the store does not have it.
That is how it is supposed to work.
Now the people above are screaming: hey MikroTik, you should allow us to configure the store so that it always sends item 10, even when the client only ordered item 1,2 and 3. All clients should receive item 10 even when they did not order it!
However, the store was never able to do that in the standard, it is something that people have invented as a workaround for clients that forget to order item 10 even though they need it.
I agree with you, totally. But we users of Mikrotik's RouterOS is innocent. And The Mikrotik's programmers we can rely on. Help us, please!Summary: We need it because of lazy coders!!
Not True, Because of we have no choice, Those buggy devices are provided by ISP. Change ISP is not so easy, and other ISPs just do the same thing.This sounds like "I would rather not use Mikrotik products because there is no way to workaround DHCP client bugs in some 3rd party products, but keep using those buggy 3rd party products..."
Not true, if the ISP device is needed to access Internet, the RouterBOARD coming after thatNot True, Because of we have no choice, Those buggy devices are provided by ISP. Change ISP is not so easy, and other ISPs just do the same thing.
You make it appear like it was a choice. Actually the feature is needed because of the cases when you don't have a choice.This sounds like "I would rather not use Mikrotik products because there is no way to workaround DHCP client bugs in some 3rd party products, but keep using those buggy 3rd party products..."
I don't personally need this. But I understand why would others need it. It is the opposite of "think nothing but myself". It looks like you want to make this question emotional.Those who make these requests (solve the bugs of other manufacturers) can think nothing but themselves, because it suits him at that moment...
And if this option, once added, bothers other devices that instead have the software written wrong and do not go if they receive a option not required?
Or if MikroTik in doing so introduces (involuntarily) other BUGs for those who don't care about that option instead?
Why instead of asking MikroTik to fix the other toys' problems, they don't ask the manufacturer directly to fix the crap they did in DHCP Client?It looks like you want to make this question emotional.
Censorship in China is not a toy.Why instead of asking MikroTik to fix the other toys' problems, they don't ask the manufacturer directly to fix the crap they did in DHCP Client?It looks like you want to make this question emotional.
I think it is not the "problem of the toy". It is the problem of the user, who has no other choice.Why instead of asking MikroTik to fix the other toys' problems, they don't ask the manufacturer directly to fix the crap they did in DHCP Client?It looks like you want to make this question emotional.
It's ridiculous don't buy ISP products/services. Can Mikrotik provides Internet service in China?The point is, asking Mikrotik to implement something that would allow others to keep violating the standards means encouraging those others to keep doing what they are doing. One should rather ask people violating the standards to stop doing that. You always have choice. In case your ISP provides you with an equipment that does not work in your standards-compliant network, ask them to provide you with another set of gears. If they refuse, don't buy their products/services. You always get what you pay for. Your choice.
Bravo! Probably that's the point......outright ban on selling equipment in such countries...
This is official reply to customers who live in "such countries"? So why you company have agencies in China? Sell products in China and reject needs request from China. It's very convenient say no to customers. It's a concept of philosophy what a Company can make money from customers. Create value and help customers to resolve problems Or say no to customers, blame where they live, what ISP they choose.Bravo! Probably that's the point......outright ban on selling equipment in such countries...
This is a special option, some types of configuration are usually performed by scripts ..Edit: Available only through terminal. Can't see it on winbox's IP->DHCP SERVER menu yet.
Special and tricky among some of you! I get it, I couldn't decide either if Mikrotik should include such an option or not, given the different answers that some of you have posted.This is a special option, some types of configuration are usually performed by scripts ..