All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eliezer Croitor" <ngtech1ltd@gmail.com>
To: netfilter@vger.kernel.org
Subject: Flowtable in a load balancer
Date: Mon, 7 Dec 2020 17:18:05 +0200	[thread overview]
Message-ID: <000901d6ccac$2b39fc70$81adf550$@gmail.com> (raw)

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



                 reply	other threads:[~2020-12-07 15:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000901d6ccac$2b39fc70$81adf550$@gmail.com' \
    --to=ngtech1ltd@gmail.com \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.