Questions tagged [virtual-ip]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
110 views

Achieve Keepalived VRRP in public cloud using Strongswan IPSec

I am trying to setup VRRP failover for PostgreSQL using Keepalived Active-Passive mode in one of the public clouds. The known limitation of this cloud is it does not work with VRRP out of the box (...
Ilya Cherevkov's user avatar
0 votes
1 answer
333 views

Howto get server host into strongswans virtual IP address subnet

I have configured a VPN server and VPN client with strongswan with the following ipsec.conf configuration settings Server ipsec.conf conn ikev2-vpn also=rw-base auto=add compress=no ...
Ole K's user avatar
  • 101
0 votes
0 answers
55 views

How to Add vip to vps?

I have a ubuntu vps and it is accissble by its ip. I want to add a vip to it which let clients connect to it by this vip from internet. I have a floating ip from other subnet and it is added to my vps ...
Ehsan Hosseini's user avatar
1 vote
1 answer
734 views

How do I force pacemaker to keep restarting SystemD resource if it fails (instead of putting it into 'stopped' state)?

My goal is to implement 2 nodes HTTP load-balancer, using virtual IP (VIP). For this task I picked pacemaker (virtual IP switching) and Caddy for HTTP load-balancer. Load-balancer choice is not a ...
Erikas's user avatar
  • 113
0 votes
1 answer
458 views

Virtual IP in pacemaker cluster not pinging

I have two Linux rhel8 servers with pacemaker/corosync/pcsd installed. I've used the ocf:heartbeat:IPaddr2 resource to create a virtual IP for the cluster. I have a similar setup on a few older ...
Karanpreet Singh's user avatar
0 votes
1 answer
5k views

How to configure Keepalived Virtual IP?

I've been researching about Keepalived Virtual IP to make ProxySQL/MaxScale highly available and came across the concept of Virtual IP. All the articles that I've read just mentions a random Virtual ...
Nandni's user avatar
  • 1
1 vote
1 answer
3k views

KeepAlived service running but does not executes the check haproxy script

I have configured a failover load balancer, so that it acts as a backup whenever my primary goes down. So I have setup Keepalived that switches the floating virtual IP address to the other machine ...
Himanshuman's user avatar
2 votes
2 answers
2k views

How to choose a valid VIP for kube-vip HA Cluster setup?

I am following this reference https://kube-vip.io/control-plane/ for HA cluster setup. I want to setup 3 master - 1 worker cluster for testing purpose. The documentation uses 192.168.0.75 as VIP, but ...
Keval Bhogayata's user avatar
0 votes
1 answer
78 views

How do Virtual IPs allow fast switching?

I am designing a simple fail over system with just a primary and standby server. The main one will be in our office, while the standby will be on the cloud. I was reading about virtual IPs and how ...
user1034912's user avatar
  • 1,364
1 vote
0 answers
952 views

How to shutdown keepalived without releasing the VIP

Usually it is a good thing that when keepalived shuts down, it releases the virtual IP address (VIP) via VRRP and removes the address from the local interface so that other instances can take it over. ...
aef's user avatar
  • 1,755
0 votes
1 answer
343 views

Virtual IP or Mac Binding IP for loadbalancer

I am configuring LoadBalancing for my website which is hosted on 2 webservers. I have MAC binded static IPs for both the servers. For LoadBalancer also can I have a MAC binded IP or a Virtual IP ...
user13727833's user avatar
-2 votes
2 answers
2k views

Can I get all the virtual IP addresses given the CNAME

Is there a way to find all the aliases of the host? $ nslookup x x is an alias for y y is an alias for z z has address 192.0.2.45 So if I have z, is there a way of using nslookup/host/dig commands ...
ak07_'s user avatar
  • 1
-2 votes
1 answer
99 views

Heartbeat node that was kicked out doesn't rejoin virtual IP service [closed]

We have a 2-node heartbeat cluster that servers a virtual IP. Previous due to an error, the network interface for node1 died and resulted in the cluster kicking node1 from the virtual IP party. Now ...
user121392's user avatar
0 votes
2 answers
3k views

Keepalived two master have virtual IP simultaneously

It's really strange on my BACKUP device always turn to MASTER several secs. I've already search both master have virtual IP simultaneously cases,and all of there solution I've tried, but still not ...
YCS's user avatar
  • 1
2 votes
0 answers
204 views

Not able to ping VM and/or mount NFS after changing IP via POSTROUTING

Imagine the following setup. I have a machine A which exports a network share and is reachable under, say 1.1.1.1. A second B machine with an IP, say 2.2.2.2, is mounting that share, everything's ...
xxx's user avatar
  • 21
2 votes
1 answer
4k views

Load balancing multiple NICs on single machine presenting a virtual IP

I've inherited a network setup, where the NFS/Samba linux RAID server ("Ubuntu 14.04.5 LTS") is serving everything over one NIC. As a result, the 1Gb network bandwidth is saturated. Unfortunately, ...
BurningKrome's user avatar
0 votes
1 answer
820 views

Ip and secondary ip sometimes doesn't repond to ping

In order to have a virtual ip, I sometimes add another IP for my interface enp2s0f0 using # ifconfig enp2s0f0:1 192.168.201.33 up I also send a gratitus arp in order to publish the new ip of the ...
hudac's user avatar
  • 136
1 vote
1 answer
694 views

Multiple floating IPs

I am configuring Squid with High Availability. I want the setup with below conditions Two squid proxy servers (siblings) with one IP address each Both the servers in active passive HA cluster with ...
Arun Krishnan's user avatar
6 votes
1 answer
2k views

2 node cluster (active-passive) with Windows Server 2016

I'd like to create a 2 node cluster with 2 servers with Windows Server 2016 standard. My cluster should be in active-passive configuration without shared storage (SAN, iSCSI, etc.) without active ...
Danilo7's user avatar
  • 101
0 votes
1 answer
273 views

Point a subdomain to a dedicated application server using NetScaler

Background on a question: we have a domain (www.example.com) that point to multiple servers with an SSL Wildcard *.example.com aka hitting a VIP (I am not an expert on VIP would love to learn more). ...
Moojjoo's user avatar
  • 87
1 vote
1 answer
5k views

Cannot reach keepalived VIP from other machines in the same network

I am working in bare metal environment trying to setup HA loadbalancing using keepalived. When I try to ping the VIP which I given in keepalived config file from other machines in the same network its ...
sureshelavazhathi's user avatar
0 votes
2 answers
2k views

High Availability HAProxy setup behind PfSense

I am building out a new high availability environment with 2 HAProxy load balancing servers and 2 NGINX web servers all on CentOS 7. I have everything setup and working with both load balancers but am ...
JoeyZero's user avatar
  • 101
0 votes
1 answer
184 views

Obtain Virtual IP - Azure App Service Environment

I am trying to setup IP Based SSL instead of SNI SSL on an azure Web App. The App Service Plan is Standard S1, but unfortunately I am getting the following error message: There are no IP addresses in ...
Ihab's user avatar
  • 101
0 votes
1 answer
488 views

can we implement IP load balancing by LVS direct routing without using VIP? is we can, How?

I am trying to implement IP Load Balancing using LVS Direct routing method. Now Ideally there is a virtual IP assigned to the Load Balancer server, but I have only 3 IP addresses. I am using 10.209....
IAmSurajBobade's user avatar
0 votes
0 answers
124 views

Connecting to local VIP: wrong outbound interface used

I have an issue where my outbound connections are using the wrong interface. I believe I have routing all configured properly. I have an active/standby database on two blades that use a Virtual IP. ...
Jamie's user avatar
  • 101
3 votes
1 answer
1k views

(Pacemaker) Nginx uses primary IP address instead of virtual IP to communicate with web servers

I have set up a two-node cluster (active/passive) with Corosync/Pacemaker and nginx as a reverse proxy. OS is RHEL7 and the machine has only one network interface at the moment. I configured two ...
Litame's user avatar
  • 43
1 vote
1 answer
2k views

how to make a Virtual ip on a 2 nodes cluster

i have a specific question, her's my situation : 1- 2 vms with drbd - pacemaker - corosync - NFs - here's my crm configuration : node san1 node san2 primitive drbd_res1 ocf:linbit:drbd \ params ...
chubby.skelton's user avatar
2 votes
0 answers
5k views

How to manage virtual ip addresses in RHEL 7

We currently have an alias assigned to our NIC for the purposes of managing a HA Proxy pair. # cat /etc/sysconfig/network-scripts/ifcfg-eth0:proxy DEVICE=eth0:proxy BOOTPROTO=none ONPARENT=no TYPE=...
Josh Smeaton's user avatar
  • 1,360
-1 votes
1 answer
115 views

Replacing host with another at runtime using same FQDN [closed]

I have host h1 running a few services. It registers with a central server and the server requires its FQDN and IP. I can specify any FQDN here. At run time, if h1 were to be replaced with another host ...
Sumit Nigam's user avatar
2 votes
2 answers
1k views

How to point multiple top domains to IP of another top domain?

Lets say I have top domain domain-X.com with DNS A record pointing it to IP 1.2.3.4 then I have domains, which I might not have control over, they belong to customers, which owns them and may ...
urza.cc's user avatar
  • 129
-1 votes
3 answers
494 views

How does HA / failover work?

Let's say we have ten servers, each one has a copy of stateless application. user enters address in a browser / client program. dns server returns a list of ip (however many people say that dns ...
piotrek's user avatar
  • 101
2 votes
1 answer
4k views

How to pass all traffic through virtual ip on linux

I have an Ethernet card on CentOS server. It has been configured: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 link/ether 40:f2:e9:9b:b7:bb brd ff:ff:ff:ff:...
LinhTran's user avatar
1 vote
1 answer
4k views

keepalived failover virtual ip parameters

I have two servers (A-master and B-backup) with one virtual ip. I need to assign the virtual ip to server B in case server A fails. For this I'm trying to configure keepalived. server A virtual ip ...
ivcode's user avatar
  • 1,072
1 vote
1 answer
5k views

Multimaster Keepalived Configuration (Virtual IP with Load Balancing)

Here are requirements: 1. High Availability 2. Load Balancing First configuration 1. Two linux servers have been configured with one static IP for each: 10.17.243.11, 10.17.243.12 2. Keepalived has ...
Rad's user avatar
  • 195
1 vote
0 answers
363 views

Binding ISC DHCPD to a virtual (heartbeat) interface

I had a DHCP server that acted as a relay endpoint and worked fine. let's say this is a solo machine with eth0 with an ip of 192.168.0.10 I needed to bring this server down and join it to a cluster, ...
William Hilsum's user avatar
-1 votes
1 answer
99 views

how to 2 ip virtual in public dan private with forward to different destination

Here my case, Server 1 public IP in 1 box (eth0) -> 203.x.x.55/28 and 57/28 gw 203.x.x.49 private IP (eth1) -> 10.10.8.1 Server 2 private IP in 1 box (eth0) -> 10.10.8.5/24 and 7/24 gw 10.10.8.1 ...
Pathic's user avatar
  • 121
2 votes
1 answer
4k views

Cannot get Web Sockets to work with virtual IP redirection

I can't get Web Sockets to work on my site when I access it via its virtual IP. If I use it's real (intranet) IP, everything works perfectly. If I use the virtual IP, I get this on Google Chrome ...
Luis Ferrao's user avatar
1 vote
1 answer
11k views

How to implement virtual IPs on AWS?

Is it possible to create floating IPs within Amazon? More specifically within the VPC? If so, how can I do this? Their documentation doesn't seem to point me in the right direction. The best I could ...
user avatar
0 votes
1 answer
555 views

Understanding networking in a web hosting environment

Background info (pardon my lack of the correct lingo here): I'm going to be running a pair of physical servers, each hosting some simple sites with Nginx. The servers are in a colo and I will have ...
orokusaki's user avatar
  • 2,863
0 votes
1 answer
90 views

can you give me feedback on an HA architecture using linux-ha and pacemaker?

I am trying to come up with an architecture for achieving HA on one of our services (in-house service, single tcp connection for all requests). Just started reading on linux-ha and pacemaker, and i'd ...
Shlomi's user avatar
  • 103
0 votes
1 answer
3k views

Issue with setting up Telnet Management on Open VPN Server

When I enable telnet on openVPN (windows) using this parameter management localhost 25333, I am not able to access the clients through their virtual IPs anymore. At the same time, when I disable this ...
theGeekster's user avatar
0 votes
1 answer
860 views

Remotely configure OpenVPN custom client certificates and static Virtual IP

On our current basic OpenVPN (on Windows) setup, we are using common client certificates for all clients. In order to introduce some kind of security, what are the possible measures I can make ? ...
theGeekster's user avatar
3 votes
1 answer
683 views

Virtual IP Failover when machine is overloaded

We have been using keepalived in combination with a virtual IP address for two years now. In the rare case that a machine crashes this works very well. But when there are issues on the box itself we ...
Marco's user avatar
  • 31
0 votes
3 answers
5k views

Unable to connect to failover cluster

I have a 2 node failover cluster running on Windows 2008 R2. The cluster is functioning and I can failover services between the two nodes. All was working fine last week but now nothing can connect ...
ts404's user avatar
  • 1
-1 votes
2 answers
213 views

Is a virtual IP assigned by a hosting provider?

I'm going to be setting up HA proxy with 2 physical servers, using heartbeatd. I'm going to have clients point domains to an IP address which can't change after doing so. My hosting provider has ...
orokusaki's user avatar
  • 2,863
6 votes
2 answers
5k views

UCARP: prevent the original master from taking over the VIP when it comes back after failure?

Keepalived can do this by combining the nopreempt option and the BACKUP state on the both nodes: Prevent VRRP Master from becoming Master once it has failed Prevent master to fall back to master ...
quanta's user avatar
  • 51.8k
-1 votes
1 answer
11k views

Pfsense Virtual IP NATing

Am setting up Pfsense 2.0 but am stuck when it comes to port forwarding/Natting. I've done it before but not using Virtual IPs. Say I have WAN on 11.11.11.1 and LAN on 192.168.5.5, I have added a ...
lukik's user avatar
  • 101
0 votes
1 answer
11k views

keepalived doesn't listen on virtual IP

I'm learning to use keepalived; for now within a single machine - just to make sure the forwarding works. I've started a mock webserver listening on 192.168.56.200:8080. It just replies with the ...
jkff's user avatar
  • 293
2 votes
1 answer
7k views

IP failover with 2 nodes on different subnet: cannot ping virtual IP from second node?

I'm going to setup redundant failover Redmine: another instance was installed on the second server without problem MySQL (running on the same machine with Redmine) was configured as master-master ...
quanta's user avatar
  • 51.8k
0 votes
2 answers
1k views

Virtual IP failover on windows 7

i would like to find out how to set up virtual IP failover on windows 7. There are many online guides on linux heartbeat and pacemaker but i need configuration guides on how to set up virtual IP ...
Wayne's user avatar
  • 23