@Merlin
1. is it possible to add second DDNS account for secondary WAN in Load-Balancing setup
or
2. is it possible to force router to update primary/only DDNS account in Fail-Over setup
I have managed to get Fail-Over working with Huawei E3372 LTE (4G) USB dongle
I am using ASUS RT-N66U with current Merlin release 378.54_2 FW
when primary WAN goes down, is it possible to do the following (maybe with a script)?
1. clear DNS cache (flush DNS?)
2. update DDNS with new public IP
3. repeat step 1 and 2 when primary WAN comes back
scenario:
I use DDNS hostname to access Remote Desktop on one of the workstations
it all works fine on primary WAN, however in fail-over mode when primary WAN goes down, and secondary WAN is UP and running, DDNS hostname is not updated with new IP unfortunatelly and I can not use hostname anymore to connect to remote computer (or ping my router from Internet)
this is particulary bad on dynamic IP that changes with every connection so DDNS is the only solution here AFAIK (there is no option to go for static IP)
friends have confirmed Internet is
These are two small changes would further improve Merlin FW which is great anyway!
I believe that ASUS would incorporate these changes in their code if somebody gets that done
Thank you for understanding
here is log
1. is it possible to add second DDNS account for secondary WAN in Load-Balancing setup
or
2. is it possible to force router to update primary/only DDNS account in Fail-Over setup
I have managed to get Fail-Over working with Huawei E3372 LTE (4G) USB dongle
I am using ASUS RT-N66U with current Merlin release 378.54_2 FW
when primary WAN goes down, is it possible to do the following (maybe with a script)?
1. clear DNS cache (flush DNS?)
2. update DDNS with new public IP
3. repeat step 1 and 2 when primary WAN comes back
scenario:
I use DDNS hostname to access Remote Desktop on one of the workstations
it all works fine on primary WAN, however in fail-over mode when primary WAN goes down, and secondary WAN is UP and running, DDNS hostname is not updated with new IP unfortunatelly and I can not use hostname anymore to connect to remote computer (or ping my router from Internet)
this is particulary bad on dynamic IP that changes with every connection so DDNS is the only solution here AFAIK (there is no option to go for static IP)
friends have confirmed Internet is
These are two small changes would further improve Merlin FW which is great anyway!
I believe that ASUS would incorporate these changes in their code if somebody gets that done
Thank you for understanding
here is log
Code:
Jun 17 16:06:48 dnsmasq[2427]: read /etc/hosts - 5 addresses
Jun 17 16:06:48 dnsmasq[2427]: read /etc/hosts.dnsmasq - 1 addresses
Jun 17 16:06:48 dnsmasq-dhcp[2427]: read /etc/ethers - 5 addresses
Jun 17 16:06:48 dnsmasq[2427]: using nameserver 192.168.5.1#53 for domain local
Jun 17 16:06:48 dnsmasq[2427]: using nameserver 192.168.5.1#53 for domain Home
Jun 17 16:06:48 dnsmasq[2427]: using nameserver 192.168.5.1#53
Jun 17 16:06:50 WAN(0) Connection: Fail to connect with some issues.
Jun 17 16:06:50 stop_nat_rules: apply the redirect_rules!
Jun 17 16:06:52 rc_service: wanduck 276:notify_rc restart_wan_if 1
Jun 17 16:06:54 pppd[1374]: Connection terminated.
Jun 17 16:06:54 pppd[1374]: Sent PADT
Jun 17 16:06:54 pppd[1374]: Modem hangup
Jun 17 16:06:58 pppd[3034]: pppd 2.4.7 started by admin, uid 0
Jun 17 16:07:07 pppd[3034]: Serial connection established.
Jun 17 16:07:07 pppd[3034]: Using interface ppp0
Jun 17 16:07:07 pppd[3034]: Connect: ppp0 <--> /dev/ttyUSB1
Jun 17 16:07:09 pppd[3034]: Could not determine remote IP address: defaulting to 10.64.64.64
Jun 17 16:07:09 pppd[3034]: not replacing existing default route via 192.168.5.1
Jun 17 16:07:09 pppd[3034]: local IP address 88.125.124.87
Jun 17 16:07:09 pppd[3034]: remote IP address 10.64.64.64
Jun 17 16:07:09 pppd[3034]: primary DNS address 195.29.166.120
Jun 17 16:07:09 pppd[3034]: secondary DNS address 195.29.166.121
Jun 17 16:07:09 rc_service: ip-up 3085:notify_rc start_firewall
Jun 17 16:07:09 dnsmasq[2427]: read /etc/hosts - 5 addresses
Jun 17 16:07:09 dnsmasq[2427]: read /etc/hosts.dnsmasq - 1 addresses
Jun 17 16:07:09 dnsmasq-dhcp[2427]: read /etc/ethers - 5 addresses
Jun 17 16:07:09 dnsmasq[2427]: using nameserver 195.29.166.121#53 for domain local
Jun 17 16:07:09 dnsmasq[2427]: using nameserver 195.29.166.120#53 for domain local
Jun 17 16:07:09 dnsmasq[2427]: using nameserver 192.168.5.1#53 for domain local
Jun 17 16:07:09 dnsmasq[2427]: using nameserver 192.168.5.1#53 for domain Home
Jun 17 16:07:09 dnsmasq[2427]: using nameserver 192.168.5.1#53
Jun 17 16:07:09 dnsmasq[2427]: using nameserver 195.29.166.120#53
Jun 17 16:07:09 dnsmasq[2427]: using nameserver 195.29.166.121#53
Jun 17 16:07:09 wan: finish adding multi routes
Jun 17 16:07:09 start_nat_rules: apply the nat_rules(/tmp/nat_rules__eth0)!
Jun 17 16:07:25 rc_service: wanduck 276:notify_rc restart_wan_if 0
Jun 17 16:07:25 rc_service: waitting "start_firewall" via ...
Jun 17 16:07:28 custom script: Running /jffs/scripts/firewall-start (args: )
Jun 17 16:07:29 pppd[1374]: Unable to complete PPPoE Discovery
Jun 17 16:07:29 pppd[1374]: Hangup (SIGHUP)
Jun 17 16:07:29 pppd[1374]: Terminating on signal 15
Jun 17 16:07:29 pppd[1374]: Exit.
Jun 17 16:07:29 kernel: Attempt to kill tasklet from interrupt
Jun 17 16:07:29 kernel: br0: port 1(vlan1) entering disabled state
Jun 17 16:07:29 kernel: br0: port 1(vlan1) entering listening state
Jun 17 16:07:29 kernel: br0: port 1(vlan1) entering learning state
Jun 17 16:07:29 kernel: br0: topology change detected, propagating
Jun 17 16:07:29 kernel: br0: port 1(vlan1) entering forwarding state
Jun 17 16:07:32 rc_service: udhcpc 3133:notify_rc start_firewall
Jun 17 16:07:32 rc_service: waitting "restart_wan_if 0" via wanduck ...
Jun 17 16:07:40 rc_service: wanduck 276:notify_rc restart_wan_line 1
Jun 17 16:07:40 rc_service: waitting "restart_wan_if 0" via wanduck ...
Jun 17 16:07:50 rc_service: skip the event: restart_wan_line 1.
Jun 17 16:07:50 WAN(1) Connection: Ethernet link down.
Jun 17 16:08:02 rc_service: skip the event: start_firewall.
Jun 17 16:08:02 dhcp client: bound 192.168.5.10 via 192.168.5.1 during 86400 seconds.
Jun 17 16:08:02 dnsmasq[2427]: read /etc/hosts - 5 addresses
Jun 17 16:08:02 dnsmasq[2427]: read /etc/hosts.dnsmasq - 1 addresses
Jun 17 16:08:02 dnsmasq-dhcp[2427]: read /etc/ethers - 5 addresses
Jun 17 16:08:02 dnsmasq[2427]: using nameserver 195.29.166.121#53 for domain local
Jun 17 16:08:02 dnsmasq[2427]: using nameserver 195.29.166.120#53 for domain local
Jun 17 16:08:02 dnsmasq[2427]: using nameserver 192.168.5.1#53 for domain local
Jun 17 16:08:02 dnsmasq[2427]: using nameserver 192.168.5.1#53 for domain Home
Jun 17 16:08:02 dnsmasq[2427]: using nameserver 192.168.5.1#53
Jun 17 16:08:02 dnsmasq[2427]: using nameserver 195.29.166.120#53
Jun 17 16:08:02 dnsmasq[2427]: using nameserver 195.29.166.121#53
Jun 17 16:08:02 pppd[3178]: Plugin rp-pppoe.so loaded.
Jun 17 16:08:02 pppd[3178]: RP-PPPoE plugin version 3.11 compiled against pppd 2.4.7
Jun 17 16:08:02 pppd[3179]: pppd 2.4.7 started by admin, uid 0
Jun 17 16:08:07 pppd[3179]: PPP session is 63107 (0xf683)
Jun 17 16:08:07 pppd[3179]: Connected to 50:57:a8:83:2d:41 via interface eth0
Jun 17 16:08:07 pppd[3179]: Couldn't allocate PPP unit 0 as it is already in use
Jun 17 16:08:07 pppd[3179]: Using interface ppp1
Jun 17 16:08:07 pppd[3179]: Connect: ppp1 <--> eth0
Jun 17 16:08:08 pppd[3179]: CHAP authentication succeeded
Jun 17 16:08:08 pppd[3179]: CHAP authentication succeeded
Jun 17 16:08:08 pppd[3179]: peer from calling number 50:57:A8:83:2D:41 authorized
Jun 17 16:08:08 pppd[3179]: local IP address 89.164.163.162
Jun 17 16:08:08 pppd[3179]: remote IP address 213.191.132.188
Jun 17 16:08:08 pppd[3179]: primary DNS address 213.191.128.8
Jun 17 16:08:08 pppd[3179]: secondary DNS address 213.191.128.9
Jun 17 16:08:08 rc_service: ip-up 3197:notify_rc start_firewall
Jun 17 16:08:08 dnsmasq[2427]: read /etc/hosts - 5 addresses
Jun 17 16:08:08 dnsmasq[2427]: read /etc/hosts.dnsmasq - 1 addresses
Jun 17 16:08:08 dnsmasq-dhcp[2427]: read /etc/ethers - 5 addresses
Jun 17 16:08:08 dnsmasq[2427]: using nameserver 195.29.166.121#53 for domain local
Jun 17 16:08:08 dnsmasq[2427]: using nameserver 195.29.166.120#53 for domain local
Jun 17 16:08:08 dnsmasq[2427]: using nameserver 192.168.5.1#53 for domain local
Jun 17 16:08:08 dnsmasq[2427]: using nameserver 192.168.5.1#53 for domain Home
Jun 17 16:08:08 dnsmasq[2427]: using nameserver 213.191.128.9#53 for domain local
Jun 17 16:08:08 dnsmasq[2427]: using nameserver 213.191.128.8#53 for domain local
Jun 17 16:08:08 dnsmasq[2427]: using nameserver 213.191.128.8#53
Jun 17 16:08:08 dnsmasq[2427]: using nameserver 213.191.128.9#53
Jun 17 16:08:08 dnsmasq[2427]: using nameserver 195.29.166.120#53
Jun 17 16:08:08 dnsmasq[2427]: using nameserver 195.29.166.121#53
Jun 17 16:08:08 wan: finish adding multi routes
Jun 17 16:08:08 start_nat_rules: apply the nat_rules(/tmp/nat_rules_ppp0__dev_ttyUSB1)!
Jun 17 16:08:08 custom script: Running /jffs/scripts/firewall-start (args: ppp0)
Jun 17 16:08:10 WAN(1) Connection: WAN was restored.
Last edited: