OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • [Resolved] Gateways group: stuck on "pending"
« previous next »
  • Print
Pages: [1]

Author Topic: [Resolved] Gateways group: stuck on "pending"  (Read 8727 times)

afan

  • Newbie
  • *
  • Posts: 26
  • Karma: 2
    • View Profile
[Resolved] Gateways group: stuck on "pending"
« on: January 24, 2021, 11:50:53 am »
Hi guys,

I'm trying to configure two Gateway groups (dual-WAN) but both are stuck at "Pending" state.
What I did:
- Add a Tier 1 and a Tier 2 for the GW group
- Trigger level: member down
- Apply changes

When Googling I understand this could be related to the fact that a "monitor" is missing. Well, that might be true, but:
1. Where can this monitor be added?
2. Coming from pfSense, no such monitor was required (for "member down" at least) - does anyone know the reason why OPNsense would require these?

Thanks!
« Last Edit: January 24, 2021, 02:14:28 pm by afan »
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: Gateways group: stuck on "pending"
« Reply #1 on: January 24, 2021, 12:01:22 pm »
This should help: https://docs.opnsense.org/manual/how-tos/multiwan.html

The monitoring is so that OPNsense knows when to failover
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: Gateways group: stuck on "pending"
« Reply #2 on: January 24, 2021, 12:05:30 pm »
PS - pfSense does employ the same idea: https://docs.netgate.com/pfsense/en/latest/routing/gateway-configure.html
Logged

afan

  • Newbie
  • *
  • Posts: 26
  • Karma: 2
    • View Profile
Re: Gateways group: stuck on "pending"
« Reply #3 on: January 24, 2021, 02:14:04 pm »
System: Gateways: Single indeed shows options to add a monitor IP for a particular GW.
Apparently the gateway from my ISP doesn't allow ping.
First I added the Google DNS server for this (8.8.8.8 ), hoping this one will allow pings for eternity :)

A bit odd since "Disable Gateway Monitoring" was on for me (so I'd assume, given the help text of "This will consider this gateway as always being "up"", the GW group would not show "pending").

And also strange that the same public IP address cannot be used twice for GW monitoring of different gateways: "The monitor IP address "8.8.8.8" is already in use. You must choose a different monitor IP.". I chose 8.8.4.4 for the 2nd GW but then reverted to my ISP's DNS servers, which seem to be pingable.

Both GWs in both GW groups show up as "Online" now, thanks!

When comparing to pfSense: apparently there no state is provided and if the status cannot be determined, it would be considered as "up", at least on OPNsense per the below Monit feedback:

Code: [Select]
Program 'gateway_alert'
  status                       Status failed
  monitoring status            Monitored
  monitoring mode              active
  on reboot                    start
  last exit value              1
  last output                  Gateways status could not be determined, considering all as up/active. (Group: GWGMemberdown_ISP1)
                               Gateways status could not be determined, considering all as up/active. (Group: GWGMemberdown_ISP2)
  data collected               Sun, 24 Jan 2021 13:23:54
« Last Edit: January 24, 2021, 02:17:10 pm by afan »
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: [Resolved] Gateways group: stuck on "pending"
« Reply #4 on: January 24, 2021, 05:48:49 pm »
Quote from: afan on January 24, 2021, 02:14:04 pm

And also strange that the same public IP address cannot be used twice for GW monitoring of different gateways: "The monitor IP address "8.8.8.8" is already in use. You must choose a different monitor IP.". I chose 8.8.4.4 for the 2nd GW but then reverted to my ISP's DNS servers, which seem to be pingable.


https://forum.opnsense.org/index.php?topic=3974.msg14152#msg14152
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • [Resolved] Gateways group: stuck on "pending"
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2