r/linuxadmin • • Mar 05 '26

Multi primary VRRP/CARP net loadbalance setup

Is someone using that setup, it's gose like this:

Balance on vip, so the traffic is split over all hosts and then redirected to pool of backend hosts? Not just Master/Standby mode with redirect...

5 Upvotes

16 comments sorted by

View all comments

Show parent comment

1

u/dodexahedron Mar 07 '26

Pretty much.

But at an even more basic level, and being vendor-agnostic, a VIP (virtual IP) is itself just something that FHRPs and load balancers/proxies both use, and is just a single IP that ultimately does not necessarily correspond to one specific endpoint.

A VIP is what a proxy exposes for clients to hit and then either forwards it off to a fixed pool of predetermined endpoints (reverse proxy) or serves as an aggregation point for forwarding traffic to elsewhere (normal/forward proxy). A VIP is also what VRRP, HSRP, GLBP, and other FHRPs use, though the term "VIP" is not necessarily used for all or even used consistently from vendor to vendor. Even what NAT does involves a VIP on at least one side of the translation.

A VIP is just an IP that one or both sides of the connection talk to that, to them, is the actual other side, when really it may or may not be.

0

u/pur3s0u1 Mar 07 '26 edited Mar 08 '26

lets call VIP the address of translation. In static routing is this point what need to be HA a starts to introdude LB to netwok translation. To that point all worked fine, but just LB isn't fine. If you split your traffic there, and the target addres is down. Then whole system is 50% busted :-D

This could work, but with static routing and software it's lot of work