Im only slightly perplexed as why failover from wan to 3g doesnt seem to work when i pull the wan cable from the device.
my config is
cat /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 'eth1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
option metric '10'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
config globals 'globals'
option ula_prefix 'fd61:c698:9591::/48'
config interface 'wwan'
option proto '3g'
option device '/dev/ttyUSB2'
option service 'umts'
option apn 'wap.voicestream.com'
option metric '20'
option demand '0'
and mwan3
cat /etc/config/mwan3
config member 'wan1_m1_w3'
option metric '1'
option weight '3'
option interface 'wan'
config member 'wan1_m2_w3'
option metric '2'
option weight '3'
option interface 'wwan'
config policy 'wan1_only'
list use_member 'wan1_m1_w3'
config policy 'wan2_only'
list use_member 'wan1_m2_w3'
config policy 'wan1_pri_wan2_sec'
list use_member 'wan1_m1_w3'
list use_member 'wan1_m2_w3'
config policy 'wan2_pri_wan1_sec'
list use_member 'wan1_m2_w3'
list use_member 'wan1_m1_w3'
config interface 'wan'
option enabled '1'
list track_ip '8.8.8.8'
list track_ip '8.8.4.4'
option reliability '1'
option count '5'
option timeout '2'
option interval '5'
option down '2'
option up '2'
config interface 'wwan'
option enabled '1'
list track_ip '8.8.8.8'
list track_ip '8.8.4.4'
option reliability '1'
option count '5'
option timeout '8'
option interval '5'
option down '2'
option up '2'
id prefer 3g not be on all the time, and only come up when wan was offline, and go down when wan came back.
right now both wan and 3g run at boot.
ifconfig
3g-wwan Link encap:Point-to-Point Protocol
inet addr:21.90.149.79 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:245 errors:0 dropped:0 overruns:0 frame:0
TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:30438 (29.7 KiB) TX bytes:29582 (28.8 KiB)
br-lan Link encap:Ethernet HWaddr 00:0D:B9:31:E9:CD
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fd61:c698:9591::1/60 Scope:Global
inet6 addr: fe80::20d:b9ff:fe31:e9cd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5034 errors:0 dropped:0 overruns:0 frame:0
TX packets:6154 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:733891 (716.6 KiB) TX bytes:5565294 (5.3 MiB)
eth0 Link encap:Ethernet HWaddr 00:0D:B9:31:E9:CC
inet addr:192.168.0.157 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20d:b9ff:fe31:e9cc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5418 errors:0 dropped:0 overruns:0 frame:0
TX packets:4239 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5215924 (4.9 MiB) TX bytes:692438 (676.2 KiB)
eth1 Link encap:Ethernet HWaddr 00:0D:B9:31:E9:CD
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5034 errors:0 dropped:0 overruns:0 frame:0
TX packets:6155 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:804367 (785.5 KiB) TX bytes:5565424 (5.3 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3393 (3.3 KiB) TX bytes:3393 (3.3 KiB)
wlan0 Link encap:UNSPEC HWaddr 00-15-6D-64-93-F5-80-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:580 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:57371 (56.0 KiB) TX bytes:0 (0.0 B)
wlan0-1 Link encap:Ethernet HWaddr 02:15:6D:64:93:F5
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:824 (824.0 B)
ip route
default via 192.168.0.1 dev eth0 proto static metric 10
default via 10.64.64.64 dev 3g-wwan proto static metric 20
10.64.64.64 dev 3g-wwan proto kernel scope link src 21.90.149.79
192.168.0.0/24 dev eth0 proto static scope link metric 10
192.168.1.0/24 dev br-lan proto kernel scope link src 192.168.1.1
ideads to fix /or resolve ??
(Last edited by auzziedingo on 25 Feb 2014, 20:28)