24: Automatic operator selection
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 220 of 463
There are typcailly three scenarios:
•
Primary Mobile Provider (PMP) + roaming: pre-empt enabled
•
PMP + roaming: pre-empt disabled
•
No PMP + roaming
24.2.1
Scenario 1: PMP + roaming: pre-empt enabled
24.2.1.1
Overview
In this scenario, the PMP interface is used whenever possible.
The PMP interface is attempted first. When the health checks fail on the PMP interface,
and Multi-WAN moves to an autogenerated interface, a timer is started
multiwan
option ifup_retry_sec
. On expiration of this timer, multiwan will disconnect the
current interface and retry the PMP interface.
The PMP interface will then be used if the configurable number of health checks pass the
checks.
24.2.1.2
Software operation
1.
Multiwan first attemts to bring up the PMP interface. If the PMP interface connects
within the time set by multiwan option
ifup_timeout
continue to step 2. Otherwise
go to step 4.
2.
A health check is periodically done on the PMP interface as determined by the
multiwan option
health_interval
. If the health check fails for the number of retries
(multiwan option
health_fail_retries
), disconnect the PMP interface.
3.
Connect the first auto-generated interface.
4.
If the interface connects within the time set by multiwan option
ifup_timeout
continue to step 5, otherwise multiwan moves to the next auto-generated interface.
5.
Wait until the health check fails on the auto-generated interface, or until the PMP
interface is available to connect after it was disconnected in step 2. (multiwan option
ifup_retry_sec
).
6.
Disconnect auto-generated interface.
7.
If the interface was disconnected due to health check failure then connect the next
auto-generated interface and repeat step 4. If the interface was disconnected
because
ifup_retry_sec
of PMP interface timed out, then go back to step 1 and
repeat the process.
The PMP predefined interface is defined in the network package. Ensure the interface
name matches the interface name defined in the multiwan package.
24.2.1.3
Create a primary predefined interface
In the web interface top menu, go to Network ->Interfaces. The Interfaces page
appears.