Let us consider whether it is possible to configure a load balancing scheme similar to LVS into the Vyos router
At least the following modes are supported:
- LVS-DR
- LVS-TUN
- LVS-NAT
Let us consider whether it is possible to configure a load balancing scheme similar to LVS into the Vyos router
At least the following modes are supported:
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | FEATURE REQUEST | jack9603301 | T3116 Support back-end L4 level load balancing | ||
Invalid | FEATURE REQUEST | None | T3209 Load balancing rules in firewall |
PR: https://github.com/vyos/vyos-1x/pull/708
Development is continuing, so this PR is a draft
This draft currently defines a basic CLI
@dmbaturin Hi, I would like to discuss with you the possibility of introducing load-balancing components based on direct-routing mode in VYOS. VYOS already has binary components that implement LVS
The preliminary idea is to use load-balancing inbound syntax for balancing load between multiple hosts inside the network (i.e. LVS) and load-balancing outbound for balancing connections between multiple WAN interfaces.
@c-po should review the PR draft.
@dmbaturin @c-po Hi, I have basically completed the T3116 draft implementation, test, I only inspect the ipvsadm rules, seems to work properly, the draft only for ipvsadm, to set up some rules, now, you and @c-po can achieve the preliminary examination of the draft (about smoke tests, I currently only normal execution of the command line configuration program testing, has not yet been configured efficacy)
Done
vyos@r4# set high-availability virtual-server serv1 forward-method Possible completions: direct Direct routing nat NAT (default) tunnel Tunneling