Re: [CentOS] Dual WAN on EL8 desktop.

2021-03-14 Thread Gordon Messmer
On Mon, Feb 15, 2021 at 10:30 PM Thomas Stephen Lee 
wrote:

> What is ideal is the bandwidth of two connections and half bandwidth
> when one link is down.


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.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual WAN on EL8 desktop.

2021-03-12 Thread Lorenzo Quatrini
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.i...@gmail.com> ha scritto:

> On Wed, Feb 17, 2021 at 2:04 AM Kenneth Porter 
> wrote:
> >
> > --On Tuesday, February 16, 2021 12:00 PM +0530 Thomas Stephen Lee
> >  wrote:
> >
> > > The solution should be a software one without acquiring new hardware.
> > > What is ideal is the bandwidth of two connections and half bandwidth
> > > when one link is down.
> >
> > 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.
>
> ---
> Lee
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual WAN on EL8 desktop.

2021-03-12 Thread Thomas Stephen Lee
On Wed, Feb 17, 2021 at 2:04 AM Kenneth Porter  wrote:
>
> --On Tuesday, February 16, 2021 12:00 PM +0530 Thomas Stephen Lee
>  wrote:
>
> > The solution should be a software one without acquiring new hardware.
> > What is ideal is the bandwidth of two connections and half bandwidth
> > when one link is down.
>
> The search term you're looking for is "NIC bonding". Here's the first hit I
> get from Google:
>
> 
>

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.

---
Lee
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual WAN on EL8 desktop.

2021-02-16 Thread Kenneth Porter
--On Tuesday, February 16, 2021 12:00 PM +0530 Thomas Stephen Lee 
 wrote:



The solution should be a software one without acquiring new hardware.
What is ideal is the bandwidth of two connections and half bandwidth
when one link is down.


The search term you're looking for is "NIC bonding". Here's the first hit I 
get from Google:




___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual WAN on EL8 desktop.

2021-02-15 Thread Thomas Stephen Lee
On Mon, Feb 15, 2021 at 10:42 PM Richard
 wrote:
>
>
>
> > Date: Monday, February 15, 2021 11:57:17 +
> > From: Phil Perry 
> >
> > On 15/02/2021 11:30, Thomas Stephen Lee wrote:
> >> Hi,
> >>
> >> 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?
> >
> > 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?
> >
>
> 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. 
Some clarifications.
The solution should be a software one without acquiring new hardware.
What is ideal is the bandwidth of two connections and half bandwidth
when one link is down.

Some suggestions in other forums say use pfSense in a Virtual Machine,
but no pointers on how to get a Network card inside the Virtual
Machine to work as one on the host.

---
Lee
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual WAN on EL8 desktop.

2021-02-15 Thread Richard



> Date: Monday, February 15, 2021 11:57:17 +
> From: Phil Perry 
>
> On 15/02/2021 11:30, Thomas Stephen Lee wrote:
>> Hi,
>> 
>> 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?
> 
> 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?
> 

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.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual WAN on EL8 desktop.

2021-02-15 Thread Arnaud Gelly
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,
--




On Mon, 15 Feb 2021 at 12:57, Phil Perry  wrote:

> On 15/02/2021 11:30, Thomas Stephen Lee wrote:
> > Hi,
> >
> > 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
> >
>
> 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?
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual WAN on EL8 desktop.

2021-02-15 Thread Phil Perry

On 15/02/2021 11:30, Thomas Stephen Lee wrote:

Hi,

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



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?


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Dual WAN on EL8 desktop.

2021-02-15 Thread Thomas Stephen Lee
Hi,

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

---
Lee
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos