Re: loadbalance with 2 or more links

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 25, 2020 at 9:03 PM <pauloric@xxxxxxxxxxxxxxxx> wrote:
>
> Hi
>
> I have been working with iptables and now I'm  migrating to nftables ( BTW really nice job netfilter team 80)  ).
>
> I have been using http://fatihusta.com/2015/03/07/network/linux-wan-load-balancing/  since nexthop is not working for a long time.
>
> Studing nftables wiki I found 2 solutions:
>
>
> a) nftbl   https://github.com/zevenet/nftlb
>
> nftbl looks like very good, but very complex for a single load balance solution.
>
> or
>
> b) nftables + nat/loadbalance  https://wiki.nftables.org/wiki-nftables/index.php/Load_balancing
>
> 98% is ok using iptables-restore-translate as example.
>

Both uses the same techniques, mainly for load balance services but
probably you could use it for uplinks load balancing as well if you
isolate the network interfaces to each router and put the load
balancer as the default GW in your LAN.

>
> As I've been using  iptables + mangle + iproute, what is easiest solution to use with 2 or more links ??
>

We've been using iproute for load balancing uplinks, but it shouldn't
be difficult to add it in nftlb as well.

Cheers.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux