LHG LTE router public IP address mismatch

Recently I ofter encounter an odd situation - public IP address (which I can determine with , for example, www.whatsmyip.org or similar service) does not match public WAN address that is shown on router’s main screen (QuickSet) or LTE1 interface address. Note that my network operator supplies me with a public address (so - no CGNAT). When that happens, I can normally access internet from the internal network, but cannot make “calls” from the outside - none of these two reported addresses work. Restarting router solves the problem, perhaps because router acquires new public IP address from the network operator. At first I thought that I ocassionally might get local IP address instead of public one (can happen if carrier has no available addresses at the time), but that’s not the case - both reported addresses are always public. As I am using DDNS, I have made a workaround - script that compares address acquired by polling the DDNS name and WAN address that router reports. If they mismatch, I reboot the router. However, I would really like to figure out what’s going on. Any help is highly appreciated.

  • Dejan

perhaps because router acquires new public IP address from the network operator.

Check the DDNS name is resolved to what IP from mobile phone.
Check what “Public IP” you receive from ISP at lte1 interface.

Maybe problem is with DDNS, not IP receive from ISP?
Show some example.

LHG is a wifi device, LHGR is LTE device.
LHG LTE means witch one LTE module? R11e-[LTE|LTE6|4G] ?

Sorry - router model is RBLHGR - that is LTE router (reported by router itself).
And the problem has nothing to do with DDNS. WAN address reported by router itself - “/ip address print” shows different WAN address from the one reported by www.whatsmyip.com or whatsmyipaddress.com or any other similar service when that situation occurs. Once again - that happens from time to time, not always.And both addresses are always public.

This issue is likely not related to your LHG LTE… Only in the provider network a thing like this could happen.
If anything, you should research if you are maybe using the wrong method of acquiring the WAN address in your router config (as compared to what the ISP defines).

Lacking any details (like a relevant config export, examples of the addresses you get, what happens when you traceroute in that situation, etc) it is of course impossible to say anything about what is going wrong.

RB receive IP from provider.
You can enable lte logs topic=lte and found the IP in logs and track all changes from command “ZGIPDNS”.

Your ISP as many can show you some Public IP but do NAT and your real external Public IP can be other - those stuff are from IP like other IP for outbound traffic and other one in internal address as inbound.
You can check/track that via WinBox > IP > Cloud: Public Address can be other then your local and you should enable “Use Local Address”.

Whitch all this info you should track/find a real problem.