I am trying to bond two 3g USB modems. Installed the following packages: ifenslave, kmod-bonding, mii-tool, kmod-ipv6 in Attitude Adjustment 12.09-beta2 with kernel 3.3.8 on TP-Link TL-WR1043N/ND. Executing the commands in SSH returns errors. Also, inserting the commands in /etc/rc.local has not worked. I am a newbie and will really appreciate if someone can post a guide on how to aggregate two 3g interfaces. Thank you.
root@OpenWrt:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.226.97 0.0.0.0 UG 10 0 0 3g-wan1
0.0.0.0 10.0.226.100 0.0.0.0 UG 20 0 0 3g-wan2
10.0.226.97 0.0.0.0 255.255.255.255 UH 0 0 0 3g-wan1
10.0.226.100 0.0.0.0 255.255.255.255 UH 0 0 0 3g-wan2
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
/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.3.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 '2 3 4 5t'
config switch_vlan
option device 'rtl8366rb'
option vlan '2'
option ports '0 5t'
config switch_vlan
option device 'rtl8366rb'
option vlan '3'
option ports '1 5t'
config interface 'wan1'
option _orig_ifname 'eth0.2'
option _orig_bridge 'false'
option proto '3g'
option device '/dev/ttyUSB0'
option service 'evdo'
option username 'vwireless@ptcl.com'
option password 'ptcl'
option metric '10'
config interface 'wan2'
option _orig_ifname 'eth0.3'
option _orig_bridge 'false'
option proto '3g'
option device '/dev/ttyUSB4'
option service 'evdo'
option username 'vwireless@ptcl.com'
option password 'ptcl'
option metric '20'
(Last edited by owrt on 6 Nov 2012, 00:09)