thanks for your multiwan.
I have trouble to use this with three wan.
I use PPPOE adsl, in my place it is possible to dial use the same username/password with the same physical line.
use this it is very easy to add up the bandwidth.
the adsl modem was connected to the router's wan port, I use macvlan to make virtual wan link to router's wan.
I named these to wan2,wan3 etc.
when there are two wan (wan ,wan2) everything is ok with multiwan,but when there are three wan(wan ,wan2 wan3), only few chance to add up wan3's bandwidth. because the three wan dial up at the same time and sometimes they get the same gatway.
I also try three wan with dhcp ,it sees the same.
you chan see this
root@OpenWrt:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan
10.98.131.0 * 255.255.255.0 U 0 0 0 eth1.1
10.98.131.0 * 255.255.255.0 U 0 0 0 eth2
10.98.131.0 * 255.255.255.0 U 0 0 0 eth3
default 10.98.131.254 0.0.0.0 UG 0 0 0 eth1.1
now I use 1.0.17 ,the route table is like this with 1.0.16
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan
10.98.131.0 * 255.255.255.0 U 0 0 0 eth1.1
10.98.131.0 * 255.255.255.0 U 0 0 0 eth2
10.98.131.0 * 255.255.255.0 U 0 0 0 eth3
default 10.98.131.254 0.0.0.0 UG 0 0 0 eth1.1
default 10.98.131.254 0.0.0.0 UG 0 0 0 eth2
default 10.98.131.254 0.0.0.0 UG 0 0 0 eth3
root@OpenWrt:~# ip route
192.168.1.0/24 dev br-lan src 192.168.1.1
10.98.131.0/24 dev eth1.1 src 10.98.131.42
10.98.131.0/24 dev eth2 src 10.98.131.87
10.98.131.0/24 dev eth3 src 10.98.131.91
default via 10.98.131.254 dev eth1.1
this is /etc/config/network
root@OpenWrt:/etc/config# vi network
option 'nat' '1'
option 'gateway' '192.168.1.1'
option 'defaultroute' '0'
option 'peerdns' '0'
option 'dns' '202.106.196.115 202.96.64.38'
config 'interface' 'wan'
option 'ifname' 'eth1.1'
option 'defaultroute' '0'
option 'peerdns' '0'
option 'proto' 'dhcp'
config 'interface' 'wan2'
option 'ifname' 'eth2'
option 'defaultroute' '0'
option 'peerdns' '0'
option 'proto' 'dhcp'
config 'interface' 'wan3'
option 'ifname' 'eth3'
option 'defaultroute' '0'
option 'peerdns' '0'
option 'proto' 'dhcp'
- network 48/50 96%
config 'switch' 'eth1'
option 'reset' '1'
option 'enable_vlan' '1'
config 'switch_vlan'
option 'device' 'eth1'
option 'vlan' '0'
option 'ports' '0 1 2 5*'
config 'switch_vlan'
option 'device' 'eth1'
option 'vlan' '1'
option 'ports' '3 5*'
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 'type' 'bridge'
option 'ifname' 'eth1.0'
option 'proto' 'static'
option 'ipaddr' '192.168.1.1'
option 'netmask' '255.255.255.0'
option 'nat' '1'
option 'gateway' '192.168.1.1'
option 'defaultroute' '0'
option 'peerdns' '0'
option 'dns' '202.106.196.115 202.96.64.38'
config 'interface' 'wan'
option 'ifname' 'eth1.1'
option 'defaultroute' '0'
option 'peerdns' '0'
option 'proto' 'dhcp'
config 'interface' 'wan2'
option 'ifname' 'eth2'
option 'defaultroute' '0'
option 'peerdns' '0'
option 'proto' 'dhcp'
config 'interface' 'wan3'
option 'ifname' 'eth3'
option 'defaultroute' '0'
option 'peerdns' '0'
option 'proto' 'dhcp'
this is /etc/config/multiwan
root@OpenWrt:/etc/config# vi multiwan
config 'multiwan' 'config'
option 'default_route' 'balancer'
config 'interface' 'wan'
option 'weight' '3'
option 'health_interval' '10'
option 'icmp_hosts' 'dns'
option 'timeout' '3'
option 'health_fail_retries' '3'
option 'health_recovery_retries' '5'
option 'dns' 'auto'
option 'failover_to' 'balancer'
config 'interface' 'wan2'
option 'weight' '3'
option 'health_interval' '10'
option 'icmp_hosts' 'dns'
option 'timeout' '3'
option 'health_fail_retries' '3'
option 'health_recovery_retries' '5'
option 'failover_to' 'balancer'
option 'dns' 'auto'
config 'interface' 'wan3'
option 'weight' '4'
option 'health_interval' '10'
option 'icmp_hosts' 'dns'
option 'timeout' '3'
option 'health_fail_retries' '3'
option 'health_recovery_retries' '5'
option 'failover_to' 'balancer'
option 'dns' 'auto'
config 'mwanfw'
option 'wanrule' 'balancer'
some guy at local forum told me that restart multiwan(/etc/init.d/multiwan restart) can solve this problem , I tryed it seem like what he said.