Something like this in /etc/rc.local using ip full?
ip link add type bond name bond0
cat "balance-rr" > /sys/class/net/bond0/bonding/mode
ip link set eth0 master bond0
ip link set eth1 master bond0
# until we set up the bond your uci config will reference
# nonexistant bond0 device so now we have it, we'll restart here.
If the UCI config lists say bond0.1 and bond0.2 as the LAN and WAN devices will this work, and get set up by UCI fine after restarting network?
Going to need an x86 to handle a 10gig nic anyway, so if you do want a 10 gig router you can build it with an x86 and a 10gig pcie card. Bonding in my case is also for helping someone set up a dual nic on an x86
Hopefully it's not to far down the road. Apple is shipping current Mac Minis with 10GigE, so there should be some drive to the consumer market for that.
I can hear it now though, "How can I get my <insert decade old, 8/32, 400 MHz MIPS router here> to use 10GigE? I can't get the kernel modules to fit..." followed quickly by "its working but I only get 87 mbps."
Maybe someone can help me out, I'm not sure if this would work for me. I have two WAN interfaces named 'wan' and 'wan2'. One is through the standard ethernet port on my router for WAN connections, the other is a USB connection via easytether. WAN is the USB connection, metric of 10, WAN2 is ethernet, metric of 20. I would love to bond these two connections together so when WAN2 gets throttled, I can still add its bandwidth to WAN. I don't have broadband out where I am per se, WAN2 is connected to a 4G router with a 15gb per month max, after which it gets throttled to 600kpbs, which as we know isn't good for much of anything. However WAN (cell phone) via easytether doesn't track tether usage, so it just counts as cell internet which, while 'reprioritized' after 22gb per month, doesn't slow down nearly as dramatically. Also, network engineering is definitely not my strong suite so I prefer to ask before I just up and try something so as to avoid 10 hours of banging my head on a wall wondering why it won't work. Thanks!
@dlakelan Did you get it to work?
If i understand correctly, bonding will combine two nic's (1G+1G=2G) to have more bandwidth, but it should be set on both routers?!, bond 2 nic's on the first router and do the same on the second router?
Is it possible to combine two PPPOE connections via Mwan3 to faster internet?, cause it's possible to have more than one username and password.
One more question, is it possible to access my router remotely while ISP doesn't provide public ip, i think
vpn is the only way right now!
Isp's here never goes off, cause they have more than one upstream provider.
but i know some people here a buying two subscription or more then they combine them into one(to get more
download speed) using mikrotek routers, so i think the same can achievable using Mwan3.
You'll never get more than your single-line speed on a single download as it is dependent on the upstream routing which is out of your control.
However, if you split your concurrent requests across two lines, your total download speed can be up to 2x higher. In practice I'd guess it to be more "sometimes up to 1.5x or so", as it's very difficult nearly impossible for any piece of routing software to know how much bandwidth a given connection will consume prior to routing the first packet and/as you can't change the IP of the connection mid-stream, without breaking the connection.
It's also possible to dedicate one connection for low latency communications and another for bulk communications if latency is that important (like you have a home office or something and need to make several phone calls at once and have them all be rock solid)