All of lore.kernel.org
 help / color / mirror / Atom feed
* Flowtable in a load balancer
@ 2020-12-07 15:18 Eliezer Croitor
  0 siblings, 0 replies; only message in thread
From: Eliezer Croitor @ 2020-12-07 15:18 UTC (permalink / raw)
  To: netfilter

I am trying to understand where can I use flowtable on a load  balancer.
Also if and how it will work with PBR.

I have created a nftables load balancer lab at:
.	https://github.com/elico/mwan-nft-lb-example
.	https://github.com/elico/mwan-nft-lb-example/blob/main/run-lab.sh

I know that flow tables cannot work with PBR but not sure on what degree.
Also maybe something is needed possible..

I will try to describe the lab:
1 client 
  ether0: 192.168.125.100/24 gw 192.168.125.254
1 Lan GW 
  ether0: 192.168.125.254/24
  ether5-15: 192.168.205-215.254/24 (10 ~ wan interfaces with ip addresses)
15 WAN Routers
  ether0:  192.168.101.5-15/24( a single ip per WAN Router) (SNAT ie
MASQUERADE)
  ether1:  192.168.205-215.254/24( a single ip per WAN Router)

1 Edge_R_Web_service
   ether0:  192.168.89.99/24 (SNAT ie MASQUERADE) GW 192.168.89.254
(MASQUEARDE to the Real WORLD)
  ether1: 192.168.101.254/24


This lab tests the LB of the LAN GW towards the WAN Routers and verifies the
result via a HTTP request.
The client sends a http request towards 192.168.101.254 and then receives
the ip address of the WAN Router at the 192.168.101.0/24 net.

If it's possible to use flowtable on any of the Routers on this network I
would like to make sure I understood right.

Thanks,
Eliezer

----
Eliezer Croitoru
Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd@gmail.com


----
Eliezer Croitoru
Tech Support
Mobile: +972-5-28704261
Email: ngtech1ltd@gmail.com



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-07 15:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-07 15:18 Flowtable in a load balancer Eliezer Croitor

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.