Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Gateways offline/IPv4 + IPv6/Monitored IP gets mixed up

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    1 Posts 1 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dkrizic
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.