Questions tagged [ipvs]

Questions pertaining to IPVS (IP Virtual Server) which implements layer-4 switching (load balancing) inside the Linux kernel.

IPVS (IP Virtual Server) implements transport-layer load balancing inside the Linux kernel, so called Layer-4 switching. IPVS running on a host acts as a load balancer before a cluster of real servers, it can direct requests for TCP/UDP based services to the real servers, and makes services of the real servers to appear as a virtual service on a single IP address.

Further reading

5 questions
5
votes
1 answer

How do packets flow through the kernel

When it comes to packet filtering/management I never actually know what is going on inside the kernel. There are so many different tools that act on the packets, either from userspace (modifying kernel-space subsystems) or directly on…
AFP_555
  • 251
  • 2
  • 11
1
vote
1 answer

Why my IPVS didn't change source IP when response packet returned

I have a k8s node named edge1, which have two pods, one is a client pod named net-tool-edge1 and one is service pod named nginx-edge1. There is also a service named nginx For some reason, this node didn't have kube-proxy, instead an agent will…
Jianbo Yan
  • 53
  • 6
1
vote
1 answer

Capturing lvsadm UDP traffic on the loopback interface

Problem I am unable to capture lvsadm traffic on the loopback interface. # tcpdump -i lo -n udp port 51444 -vv tcpdump: listening on lo, link-type EN10MB (Ethernet), capture size 262144 bytes ifconfig # ifconfig ens192:…
brakertech
  • 1,385
  • 2
  • 11
  • 12
0
votes
0 answers

VRRP+IPVS backup node cannot access its VIP: connect (113: No route to host)

I'm getting a tricky error while appending an IPVS configuration to our Loadbalancer: My Keepalived configuration is used to provide a pair of VRRP instances, and a set of real-servers which are listening on the same machine, bound to different…
yabuki_joe
  • 103
  • 6
0
votes
1 answer

L4 balancing using ipvs: drop RST packets - failover

I have a L4 ipvs load balancer with L7 envoy balancers setup. Let's say one of my L4 balancers goes down and thanks to consistent hashing the traffic which is now handled (thanks to BGP) by another L4 balancer is proxied to the same L7 node. This…
Diavel
  • 21
  • 1
  • 5