by adrien » Sep 06 04 9:26 pm
More information on this.
Monitoring for dead gateways works in the following way.
1. once per second an ARP lookup packet is sent to each known gateway (provided such gateway is accessed through an interface which is an ethernet adapter, e.g. not dialup)
2. If no ARP response is received within 2 seconds, then the gateway is deemed unavailable.
If gateway monitoring is disabled, all gateways are deemed available.
This then flows through to how connections are made (specifically dialups).
For instance if you have dialups enabled, but also a default gateway out a LAN adapter (maybe you have a dialup as backup), then if the main gateway becomes unavailable, the dialup will be used.
If a service in WinGate specifies that gateways be used in priority order as failover, then WinGate will use the first available gateway in this list.
In this way you get a default failover behaviour in the case where services do not specify gateways, and a specific failover behaviour where specified in a service.
Adrien