I have two internet connections from two ISPs. I also have a desktop with two Ethernet ports.
My question:
What is the best way to get the maximum out of two internet connections in EL 8 for my desktop?
Thanks
–
8 thoughts on - Dual WAN On EL8 Desktop.
Define maximum.
Are you looking for redundancy / fail-over in the event one connection fails or are you looking to combine throughput for maximum bandwidth?
Hello,
Need a VM somewhere in the clouds but very efficient and achieve redundancy and bandwidth aggregation : MultiPath TCP.
The client part could go only on your desktop but if you want all your devices taking advantages of this system, take a look at https://www.openmptcprouter.com/
Regards,
Unless that desktop is the only device you have that you want to be able to get the advantages of having connectivity from two ISPs, I’d get a dual-wan router and go from there. There are a range of options that support 2 or more wan connections and provide load-balancing, fall-over, etc. You’ll want to read the specs to find one that best meets your needs.
Hi,
Thanks all for the suggestions.
–The search term you’re looking for is “NIC bonding”. Here’s the first hit I
get from Google:
Although it may be tempting to use some sort of round-robin, it would be safer to have specific rules based on the destination, so for example you send all web traffic to one ISP and add exceptions to route specific traffic to the second ISP (e.g. streaming platforms), with each rule having a “backup route” to the other ISP.
Cheers, Lorenzo
Il giorno ven 12 mar 2021 alle ore 08:31 Thomas Stephen Lee <
lee.iitb@gmail.com> ha scritto:
That may not be *generally* possible. You can load-balance your network streams (connections), so that you’ll utilize the bandwidth of two physical links in sum, but each individual network stream is going to traverse just one physical link, and will never be faster than whichever link is selected for that stream when it is initiated.
8 thoughts on - Dual WAN On EL8 Desktop.
Define maximum.
Are you looking for redundancy / fail-over in the event one connection fails or are you looking to combine throughput for maximum bandwidth?
Hello,
Need a VM somewhere in the clouds but very efficient and achieve redundancy and bandwidth aggregation : MultiPath TCP.
The client part could go only on your desktop but if you want all your devices taking advantages of this system, take a look at https://www.openmptcprouter.com/
Regards,
Unless that desktop is the only device you have that you want to be able to get the advantages of having connectivity from two ISPs, I’d get a dual-wan router and go from there. There are a range of options that support 2 or more wan connections and provide load-balancing, fall-over, etc. You’ll want to read the specs to find one that best meets your needs.
Hi,
Thanks all for the suggestions.
–The search term you’re looking for is “NIC bonding”. Here’s the first hit I
get from Google:
<https://www.enterprisenetworkingplanet.com/linux_unix/article.php/3850636/Understanding-NIC-Bonding-with-Linux.htm>
Hi,
I tried
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-network-bonding_configuring-and-managing-networking#configuring-a-network-bond-using-nm-connection-editor_configuring-network-bonding
without success
I have a feeling that bonding is for interfaces on the same network, not two internet routers. Please correct me if I’m wrong.
–
I think you need policy routing:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-policy-based-routing-to-define-alternative-routes_configuring-and-managing-networking
https://doc.lagout.org/network/inetdoc/Policy_Routing_in_Linux_ENG.pdf
Although it may be tempting to use some sort of round-robin, it would be safer to have specific rules based on the destination, so for example you send all web traffic to one ISP and add exceptions to route specific traffic to the second ISP (e.g. streaming platforms), with each rule having a “backup route” to the other ISP.
Cheers, Lorenzo
Il giorno ven 12 mar 2021 alle ore 08:31 Thomas Stephen Lee < lee.iitb@gmail.com> ha scritto:
That may not be *generally* possible. You can load-balance your network streams (connections), so that you’ll utilize the bandwidth of two physical links in sum, but each individual network stream is going to traverse just one physical link, and will never be faster than whichever link is selected for that stream when it is initiated.