Hi list,

I have the feeling that either I do not understand Multi-WAN in OpenWRT
right or there must be some bug because health monitoring of one wan is
not working as expected.

I have the following setup:

* TP-Link TL-WR1043N/ND v1
* OpenWrt Attitude Adjustment 12.09 / LuCI 0.11.1 Release (0.11.1)
* Two routers which provider internet access via DSL (192.168.1.3) or
alternatively LTE (192.168.2.3)
* I want all traffic to go via LTE (because it is faster) and only
fallback to DSL if LTE does not work (which happens quite regular).

As you can see in my configuration files below I set the icmp_hosts
variable to 'heise.de' so I expect it pings this host and if it is not
reachable via the interface 'LTE' it should fallback to DSL after some time.
But it does not. Recently the LTE-Modem lost internet connection but the
status of the 'LTE' wan interface was still 'OK' for minutes.

Am I missing something? Any ideas?

Regards,
Fabian


My config is as follows:

/etc/config/network:

===============================
config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config interface 'lan'
    option ifname 'eth0.1'
    option type 'bridge'
    option proto 'static'
    option netmask '255.255.255.0'
    option ipaddr '192.168.0.1'

config switch
    option name 'rtl8366rb'
    option reset '1'
    option enable_vlan '1'
    option enable_vlan4k '1'

config switch_vlan
    option device 'rtl8366rb'
    option vlan '1'
    option ports '1 2 3 4 5t'

config switch_vlan
    option device 'rtl8366rb'
    option vlan '2'
    option ports '1t 2t 3t 4t 5t'

config switch_vlan
    option device 'rtl8366rb'
    option vlan '3'
    option ports '0 1t 2t 3t 4t 5t'

config interface 'LTE'
    option proto 'static'
    option ifname 'eth0.3'
    option ipaddr '192.168.2.1'
    option netmask '255.255.255.0'
    option gateway '192.168.2.3'
    option dns '192.168.2.3'

config interface 'DSL'
    option proto 'static'
    option ifname 'eth0.2'
    option ipaddr '192.168.1.1'
    option netmask '255.255.255.0'
    option gateway '192.168.1.3'
    option dns '192.168.1.3'
===============================


/etc/config/multiwan:

===============================
config multiwan 'config'
    option default_route 'LTE'
    option enabled '1'

config interface 'DSL'
    option weight '10'
    option health_interval '10'
    option timeout '3'
    option health_fail_retries '3'
    option health_recovery_retries '5'
    option dns 'auto'
    option failover_to 'LTE'
    option icmp_hosts 'heise.de'

config interface 'LTE'
    option weight '10'
    option health_interval '10'
    option timeout '3'
    option health_fail_retries '3'
    option health_recovery_retries '5'
    option dns 'auto'
    option failover_to 'DSL'
    option icmp_hosts 'heise.de'

config mwanfw
    option proto 'udp'
    option wanrule 'LTE'
===============================
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to