Hello,
I noticed that no interface recovers from offline if all interfaces became offline.
The test scenario if the following: two interfaces (wan and wwan), default policy is wan as primary and wwan as backup.
config interface 'wan'
option enabled '1'
list track_ip '8.8.4.4'
list track_ip '208.67.222.222'
option reliability '2'
option count '1'
option timeout '2'
option interval '5'
option down '2'
option up '5'
config interface 'wwan'
option enabled '1'
list track_ip '8.8.8.8'
list track_ip '208.67.220.220'
option reliability '1'
option count '1'
option timeout '3'
option interval '5'
option down '3'
option up '8'
config member 'wan_m1_w3'
option interface 'wan'
option metric '1'
option weight '3'
config member 'wan_m2_w3'
option interface 'wan'
option metric '2'
option weight '3'
config member 'wwan_m1_w2'
option interface 'wwan'
option metric '1'
option weight '2'
config member 'wwan_m2_w2'
option interface 'wwan'
option metric '2'
option weight '2'
config policy 'wan_only'
list use_member 'wan_m1_w3'
config policy 'wwan_only'
list use_member 'wwan_m1_w2'
config policy 'balanced'
list use_member 'wan_m1_w3'
list use_member 'wwan_m1_w2'
config policy 'wan_wwan'
list use_member 'wan_m1_w3'
list use_member 'wwan_m2_w2'
config policy 'wwan_wan'
list use_member 'wan_m2_w3'
list use_member 'wwan_m1_w2'
config rule 'default_rule'
option dest_ip '0.0.0.0/0'
option use_policy 'wan_wwan'
There is a strange thing: in this state the router sends ARP requests querying the public IP addresses defined as track_ip's.
If I manually run 'ifup wan' then the interface recovers.
I noticed this issue for some time. Tested in OpenWrt and LEDE.
Glad to provide more info and do further testing if needed.
Hello, I noticed that no interface recovers from offline if all interfaces became offline. The test scenario if the following: two interfaces (wan and wwan), default policy is wan as primary and wwan as backup.
There is a strange thing: in this state the router sends ARP requests querying the public IP addresses defined as track_ip's.
If I manually run 'ifup wan' then the interface recovers. I noticed this issue for some time. Tested in OpenWrt and LEDE. Glad to provide more info and do further testing if needed.
TIA