Hello,
I have a Teltonika RUT906 router, I have 2 SIM cards from different networks connected to it, everything is configured correctly here, each card gets its IP without a problem. Unfortunately, the problem is with DDNS. I have 2 SIM cards and automatic card switching is enabled:
PLAY - 10.70.0.27/32
T-Mobile - 10.88.0.19/32
When I e.g. remove the PLAY card, I get the IP from T-Mobile, when I remove the card from T-Mobile I get the IP from PLAY, unfortunately in DDNS there is always the T-Mobile IP, despite the fact that all other places e.g. ip r on the router show the IP of the PLAY network, DDNS does not see it at all.
It looks like this:
My entire DDNS configuration looks like this
I have selected a script wan.sh as the IP source, and this script looks like this:
ip -4 addr show usb0 | sed -Ene 's/^.*inet ([0-9.]+)\/.*$/\1/p'
It always returns me the correct IP, the one that is active at the moment.
My firmware on the router
I have no idea what’s wrong, I tried restarting the server, but it didn’t help. Sometimes after restarting it shows Last Update and Next Update, but when it’s time for Next Update, nothing happens and I don’t know what the problem is. I tried changing cards several times, but still no effect.
Any idea what I did wrong?