Disable DHCP on LTE ?

Hello,

since upgrading to current 6.42, my LTE now has dhcp-client enabled. My lte interface configuration is actually static as I use an USB wireless AP (detected as lte) and the USB device default route is aimed as my mikrotik so a dynamic IP is not really practical . How can I disable this new default ?
‘set disabled=yes’ fails because the dhcp-client entry is dynamic. I can remove it but it comes back automatically after reset/reboot :confused:

Same issue here. Causing issues for me too.
I can work around it by ensuring that DHCP is turned off on the LTE/USB device, but it is not ideal. It would be better if RouterOS did not create a dynamic DHCP Client on the LTE interface

Looks like this was introduced in 6.41

*) lte - automatically add “/ip dhcp-client” configuration on interface;
*) lte - changed default values to “add-default-route=yes”, “use-peer-dns=yes” and “default-route-distance=2”;

It would be nice to be able to disable this behavior, or have some control over the options (e.g. to be able to set default route distance to 99,and disable the use-peer-dns)

configure the APN Profile in the LTE menu to not to add Default route and DNS.

Thanks. That solves the route and DNS issue.

Any way to completely stop it dynamically creating a DHCP Client ?

I also want to disable this automatic DHCP client.

I want my mikrotik in a fixed IP address to use the DMZ service on LTE modem.

The modem does not have option to specify fixed addresses neither has options to reduce the dhcp range.

I have one device where this does not work. No matter what I configure in the default APN profile it still allocates a default route with distance 2

This really need this to be an opt-in option, not a default that you can’t disable.

A lot of the joy of working with Mikrotik routers is that they do not do things for you, you need to configure it if you want it. This goes against that principal.

Andrew

[quote=richardcharles post_id=661665 time=1526309424 user_id=121163]
While attempting to get my wireless router working (a Netgear WPN824 v3), I managed to turn the DHCP off.
[/quote]

Your post has absolutely nothing to do with this topic, and really nothing to do with Mikrotik. You would be better off posting somewhere else.

I think the only important point of his post is the signature. He likely doesn’t even know what the body of the post means, but it is the right text pattern for a forum related to routers. For a forum related to gardening, there is another pattern and the same signature :slight_smile:

With USB LTE sticks the LTE interface is created dinamically. Trying to associate an APN profile doesn’t work, as the setting is refused (when clicking on Apply the profile is deselected).

This means that after each reboot the default root is diverted through the LTE interface, thus requiring manual intervention (it is the same for DNS).

On 6.46.7 is there a way to completely disable the DHCP Client, without removing the DHCP package (which also contains the DHCP server and relay services), or at least to disable the automatic addition for LTE interfaces, or is the downgrade to 6.40 mandatory?

Thank you and best regards,
AV

Vargas

Not fight but modify ! :slight_smile:
Learn about Routing Filter for DHCP Client +#19

I had the same problem. I solved it by manually adding a second IP address to the LTE interface on Mikrotik. Then I entered this address as DMZ on the LTE modem.