You're right, exactly.
The setup looks like this: an LHGG with LTE interface who pass via passthrough the public dynamic IP to the WAN port of a Chateau device. Basically the LHGG acts as a modem, and all routing happens on the Chateau (router). On this router, the WAN port is configured with dhcp client.
On the LAN, there's a linux device which has two interfaces: one is connected to the LAN bridge and a wifi interface connected to wireless network that provides external connectivity. Of course, the linux device is configured to properly route packets on its wlan0 interfaces via iptables.
I have know disabled the dhcp client option and configured manually the static route. However it does not seems working correctly. What information should I paste here to help me troubleshooting this issue?
2024-02-23_15-28-50.png
The route on the right, is automatically configured route that is created by the dhclient. Works just fine.
The route on the left is the one I created, and it does not work. Ping to 8.8.8.8, for example, is failing. For obvious reasons I can't put any ip addresses on the manually create route because the IP is dynamic.
If I manually setup a stati default route with the IP address that I can see from the dhclient status windows, everything works fine. I'm pretty sure the immediate gateway change every now and then so having this configuration is not ideal.
2024-02-23_15-46-20.png
Why are you asking what kind of ISP? By the way, being LTE, it's a public dynamic IP massively filtered by the ISP (Vodafone). For example, I'm not reachable from the internet, thus I can't expose ports unfortunately.
Many thanks.
You do not have the required permissions to view the files attached to this post.