* loadbalance with 2 or more links
@ 2020-02-25 19:59 pauloric
2020-02-26 8:08 ` Laura Garcia
0 siblings, 1 reply; 2+ messages in thread
From: pauloric @ 2020-02-25 19:59 UTC (permalink / raw)
To: netfilter
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.
As I've been using iptables + mangle + iproute, what is easiest solution to use with 2 or more links ??
Best regards
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: loadbalance with 2 or more links
2020-02-25 19:59 loadbalance with 2 or more links pauloric
@ 2020-02-26 8:08 ` Laura Garcia
0 siblings, 0 replies; 2+ messages in thread
From: Laura Garcia @ 2020-02-26 8:08 UTC (permalink / raw)
To: pauloric; +Cc: netfilter
On Tue, Feb 25, 2020 at 9:03 PM <pauloric@contatogs.com.br> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-26 8:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-25 19:59 loadbalance with 2 or more links pauloric
2020-02-26 8:08 ` Laura Garcia
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.