Questions tagged [ipvs]

24 questions
4
votes
1 answer

Monitoring Linux Kernel Space Processing

I'm running two "services" that are served in linux kernel-space: Linux Netfilter Firewall ("iptables") Linux Virtual Server Loadbalancer ("IPVS", "LVS") Now I want to (performance-)monitor my "application" like any other software I am running.…
Michuelnik
  • 3,260
  • 3
  • 18
  • 24
2
votes
0 answers

Requests to ipvsadm server hang in state SYN_RECV, direct requests to real server OK

I have IPVS configured as: $ ipvsadm --save -A -t localhost: -s rr -a -t localhost: -r : -m -w 1 It seems to be running: $ ipvsadm IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags …
OJFord
  • 151
  • 1
  • 1
  • 5
2
votes
0 answers

Keepalived forwarding UDP traffic to one node via NAT

I am having issues with load balancing UDP Syslog to my Graylog cluster nodes. At first everything seemed to work normal but it seems that traffic is flowing for 99% to one of the two nodes. I have two Ubuntu servers (18.04) running Keepalived…
Robert
  • 121
  • 6
2
votes
1 answer

How do I list Docker VIP addresses?

I can list all container IP address inside a docker overlay network using: ~# docker network inspect I'm trying to do resolver troubleshooting in some Docker swarm stack. It seems that resolving is done to the wrong IP address, but I…
Tim
  • 123
  • 5
2
votes
2 answers

Publish Docker Swarm services on specific IP addresses

On Centos 7.4 I am setting up a swarm where I want to run multiple routers all reachable on port 80/443. The purpose is to host multiple environment (test/staging...) on a single swarm, all symmetrically. I am using Docker 17.12.0-ce and Traefik…
Seemone
  • 23
  • 1
  • 4
2
votes
1 answer

Setting up a LVS on CentOS

I have a 3 node(dedicated servers from a provider) CentOS 7.x cluster. I am trying to set up LVS using the link here. Each of my machines already has 3 extra alias IP addresses assigned to it. I want to set up the LVS on one of these machines. My…
user1965449
  • 123
  • 1
  • 5
2
votes
1 answer

Why VRRP require /32 netmask?

In a VRRP configuration I've been using /32 subnet mask but I've never know the reason behind. Sometimes I've using the same subnet mask as the primary interface, like /24, and in some cases it works and int others, until I set up /32, it…
rfmoz
  • 694
  • 9
  • 15
1
vote
0 answers

Keepalived_vrrp issue

Configuration debian version 9.7 architecture ppc64 Issue I am running keepalived and i am encountering an issue with IPVS, here are the logs : Feb 16 17:02:35 srv Keepalived_vrrp[10109]: IPVS: No such file or directory Feb 16 17:02:35 srv…
Alrick
  • 143
  • 6
1
vote
0 answers

Docker UDP 'response'

Simply put, I have 2 containers for a service in a swarm mode. Container receives udp packets and sends them back to multiple clients, which ip's and ports are stored in db. Load-balancing: packets from one IP go to same container. So, here is the…
Flame239
  • 11
  • 3
1
vote
1 answer

Load balancing Bind9 with Keepalived and LVS

How can I correctly configure LVS to masqerade/NAT packets from virtual ip to/from clients? Currently I have: UDP 10.47.1.80:domain rr -> 10.47.1.51:domain Masq 10 0 5 -> 10.47.1.52:domain Masq 10 0 …
Jon Skarpeteig
  • 941
  • 2
  • 14
  • 28
1
vote
1 answer

LVS + HA Proxy for L4 to L7 load balancing

Currently we are using HA proxy for our load balancing needs. We are planning to integrate LVS with HA proxy to create a load balancing solution that can take care of L4 to L7 load balancing and HA. The reasons behind going for LVS are Better L4…
Andy
  • 11
  • 2
1
vote
1 answer

Keepalived sync daemon

I've enabled lvs_sync_daemon_interface option however it looks like sync daemon is not working Active node: [MASTER:~]# ipvsadm -Lnc IPVS connection entries pro expire state source virtual destination TCP 00:37 SYN_RECV…
HTF
  • 3,050
  • 14
  • 49
  • 78
1
vote
0 answers

Why is access to Kubernetes lost if I turn on the IPVS mode?

The problem is that after enabling the IPVS mode in the kube-proxy, everything works fine for me. But as soon as I install Traefik, I immediately lose connection with Kubernetes. OS: CentOS 7.9 $ uname -rs Linux…
Maksim
  • 11
  • 1
1
vote
0 answers

Kubernetes : kube-dns service not accessible via ClusterIP

Following an upgrade to v1.19.7 with kubeadm, my pods are unable to request the kube-dns service via the service's ClusterIP. When using the kube-dns pod IP address instead, DNS resolution works. kube-dns pods are up and running: $ kubectl get pods…
sqw
  • 11
  • 3
1
vote
0 answers

Dual-way NAT forwarding using IPVS?

I want to replace iptables(8) with IPVS for a TCP reverse proxy which involved dual-way NAT. My current setup using iptables is functionally equivalent to a userspace forwarder (like socat(1)). It has the following setup: iptables -t nat -A…
iBug
  • 1,048
  • 2
  • 9
  • 21
1
2