Gateways offline/IPv4 + IPv6/Monitored IP gets mixed up
-
Hi,
I have two external gateways:
- IPv4: PPPoE with dynamic IP, forced disconnect after 24 hours, scheduled by me to 3 am
- IPv6: Hurricane Eletric Tunnel with static IPv6 address (/64)
This works so far, but mostly every morning the gateways are shown offline:
- GW_WAN: 100% packet loss, offline
- HETunnel: 100% packet loss, offline
After a reboot or restarting the interfaces everything becomes green (online) again. The Monitor IP was default, so I added my own
- 8.8.8.8 (Google DNS) for IPv4
- 2607:f8b0:4000:805::1012 (ipv6.google.com) for IPv6
But the behaviour is the same. But today I found the following in the logs:
- php: rc.resolv_conf_generate: The command '/sbin/route change -host 2001:470:20::2 178.4.120.1' returned exit code '68', the output was 'route: bad address: 2001:470:20::2'
- php: rc.resolv_conf_generate: The command '/sbin/route change -host -inet6 8.8.8.8 2001:470:XXXX:XXX::1' returned exit code '1', the output was '8.8.8.8: hostname nor servname provided, or not known'
So obviously the IP addresses of the two gateways are mixed up somehow. Any idea?
Regards,
Darko