FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
741 views 2 comments
by anonymous

I'm using a RUT240 (firmware RUT2XX_R_00.01.12.1) in bridge mode, main WAN is mobile, WAN failover is disabled.

I found out, that the RUT240 is interrupting internet access, when it is renewing its WAN IP (assigned by the mobile operator). With a lease time of 7.200 seconds this happens every hour.

The interruption starts with the following actions (extract from logread log):

Sat Aug 29 21:23:27 2020 user.crit syslog: get_param value: add

Sat Aug 29 21:29:23 2020 daemon.notice netifd: ppp_4 (2555): udhcpc: sending renew to 10.28.165.50

Sat Aug 29 21:29:23 2020 daemon.notice netifd: ppp_4 (2555): udhcpc: bind(UDP): Cannot assign requested address

Sat Aug 29 21:29:23 2020 daemon.notice netifd: ppp_4 (2555): udhcpc: sending renew to 0.0.0.0

Sat Aug 29 21:29:23 2020 daemon.notice netifd: ppp_4 (2555): udhcpc: lease of 10.28.165.49 obtained, lease time 7200

Sat Aug 29 21:29:23 2020 local1.info hotplug-gsmstate[20809]: envACT: ifupdate

Sat Aug 29 21:29:23 2020 local1.info hotplug-gsmstate[20809]: envDEV: wwan0

Sat Aug 29 21:29:29 2020 local1.notice fwblock[21203]: Started fwblock

Sat Aug 29 21:29:29 2020 local1.notice fwblock[21203]: Applying SSH blocks

Sat Aug 29 21:29:29 2020 local1.notice fwblock[21203]: Applying WebUI blocks

Sat Aug 29 21:29:30 2020 daemon.info dnsmasq[8407]: exiting on receipt of SIGTERM

Sat Aug 29 21:29:31 2020 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!

Sat Aug 29 21:29:31 2020 user.notice dnsmasq: Allowing 127.0.0.0/8 responses

Sat Aug 29 21:29:36 2020 daemon.info dnsmasq[21661]: started, version 2.79 cachesize 150

Sat Aug 29 21:29:36 2020 daemon.info dnsmasq[21661]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify

Sat Aug 29 21:29:36 2020 daemon.info dnsmasq-dhcp[21661]: DHCP, IP range 192.168.61.200 -- 192.168.61.249, lease time 1h

Sat Aug 29 21:29:36 2020 daemon.info dnsmasq-dhcp[21661]: DHCP, IP range 10.28.165.49 -- 10.28.165.50, lease time 8h

Sat Aug 29 21:29:36 2020 daemon.info dnsmasq[21661]: using local addresses only for domain lan

Sat Aug 29 21:29:36 2020 daemon.info dnsmasq[21661]: reading /tmp/resolv.conf.auto

Sat Aug 29 21:29:36 2020 daemon.info dnsmasq[21661]: using local addresses only for domain lan

Sat Aug 29 21:29:36 2020 daemon.info dnsmasq[21661]: using nameserver 139.7.30.125#53

Sat Aug 29 21:29:36 2020 daemon.info dnsmasq[21661]: using nameserver 139.7.30.126#53

Sat Aug 29 21:29:36 2020 daemon.info dnsmasq[21661]: read /etc/hosts - 1 addresses

Sat Aug 29 21:29:36 2020 daemon.info dnsmasq-dhcp[21661]: read /etc/ethers - 0 addresses

Sat Aug 29 21:29:37 2020 user.notice firewall: Reloading firewall due to ifupdate of ppp_4 (wwan0)

Sat Aug 29 21:29:37 2020 local1.notice fwblock[21692]: Started fwblock

Sat Aug 29 21:29:37 2020 local1.notice fwblock[21692]: Applying SSH blocks

Sat Aug 29 21:29:37 2020 local1.notice fwblock[21692]: Applying WebUI blocks

Sat Aug 29 21:29:38 2020 local1.info hotplug-gsmstate[21732]: envACT: ifupdate

Sat Aug 29 21:29:38 2020 local1.info hotplug-gsmstate[21732]: envDEV: wwan0

Sat Aug 29 21:29:40 2020 user.notice firewall: Reloading firewall due to ifupdate of ppp_4 (wwan0)

Sat Aug 29 21:29:40 2020 local1.notice fwblock[21833]: Started fwblock

Sat Aug 29 21:29:40 2020 local1.notice fwblock[21833]: Applying SSH blocks

Sat Aug 29 21:29:40 2020 local1.notice fwblock[21833]: Applying WebUI blocks

Sat Aug 29 21:39:09 2020 user.notice root: WebUI password auth succeeded for 'admin' from HTTP LAN 192.168.61.89

During renewal and its associated actions (from 21:29:23 til 21:29:40 = 17 seconds) there is no internet access: downloads are interrupted and VoIP calls are broken off. For my intended use this is not acceptable and an absolute show stopper.

Is there any configuration to avoid this hourly interruption?

Postscript:

I made further tests and configured the RUT240 for NAT mode. The renewal process looks quite different in NAT mode:

Sun Aug 30 16:00:00 2020 cron.info crond[1790]: USER root pid 23852 cmd /etc/init.d/rut_fota start

Sun Aug 30 16:32:48 2020 daemon.notice netifd: ppp_4 (2463): udhcpc: sending renew to 10.29.87.176

Sun Aug 30 16:32:48 2020 daemon.notice netifd: ppp_4 (2463): udhcpc: lease of 10.29.87.175 obtained, lease time 7200

Sun Aug 30 17:00:00 2020 cron.info crond[1790]: USER root pid 1877 cmd /etc/init.d/rut_fota start

Sun Aug 30 17:32:48 2020 daemon.notice netifd: ppp_4 (2463): udhcpc: sending renew to 10.29.87.176

Sun Aug 30 17:32:48 2020 daemon.notice netifd: ppp_4 (2463): udhcpc: lease of 10.29.87.175 obtained, lease time 7200

Sun Aug 30 18:00:00 2020 cron.info crond[1790]: USER root pid 11845 cmd /etc/init.d/rut_fota start

And there is no interruption with the internet access.

So I guess the reason for the 15-20 seconds interruption in bridge mode is due to the different renewal handling.

1 Answer

0 votes
by anonymous
Hello,

It would be great if you could use bridge / NAT modes one more time and send me a troubleshoot file from your router. It can be found at SYSTEM > ADMINISTRATION > TROUBLESHOOT section.

I will need you to send me two files, one with bridge mode and one with NAT. You can send me those via private message.

Regards,
Justin
by anonymous

Sorry, I got your answer too late. sad

Yesterday was the last day for returning the RUT240 to the dealer. It's already on the way to him and therefore I can't create any troubleshoot file.

Nevertheless, thanks a lot for your willingness to help.

by anonymous

All,

I see the same behavior on my RUT240, the renewal takes about 2 minutes.

This router is used to remotely monitor the site where the router is located, several devices, ie. solar system will be monitored remotely. My provider gives a lease time of 1 day.

I ran a script on the RUT240 which pings every 10 seconds to my server (at home) so I can determine it's IP address, once the lease time expires it takes more then two minutes (see below timestamps ):

07-01-2022 19:02:36 (Leasetime expires), came back at 07-01-2022 19:04:56

Unfortunately, the scripts which starts when to router is rebooted dies (while it shouldn't do it, it should run forever) after x hours and DDNS is missing on my firmware (RUT2_R_00.07.01.2).