17.3. Gateway

You can find the Gateway Settings at Routing → Gateways.

A Gateway can be created here for either IPv4 or IPv6. By default interfaces with DHCP, PPP and OpenVPN will automatically get a Gateway created.

Each Gateway needs a unique Name for the Interface it can be found on and the IP Address of the Gateway. If you choose to make the Gateway your Default Gateway, please make sure that it is reachable by the Interface it is assigned on.

You need to have an IP Address on the Interface so it can be used. The system can only have one Default Gateway for IPv4 and IPv6 and any other default gateway will automatically be downgraded if you save a new Default Gateway.

You can also Monitor a Gateway. By default the Gateway IP Address will be pinged for the monitoring. You can choose to set an alternative IP under Monitoring IP Address. A Gateway that is down will be removed from all routes in the system.

If you want to keep the Gateway up, you can set Always Up. This will keep the Gateway check enabled.

If you Disable Monitoring the Gateway will also be always up and the Gateway Monitoring will be disabled as well.

Under Advanced Settings in Monitoring you can also configure the monitoring paramter.

Test Intervall how often a ping is send to the Monitoring IP in Seconds.

Average Interval is used to determine if a Gateway is down. The average of the tests above in that timeframe will determine the state.

Latency treshold in the average interval determines if the Latency to the Monitoring IP is too long.

Packet Loss threshold determines if the Gateway is down if that amount of packages are lost in the average interval.

You can check up on the Gateway Status on either the Dashboard Widget or under Diagnostics -> Gateways.