Move IP Alias into openvz container?

  • Thread starter Thread starter thieso2
  • Start date Start date
T

thieso2

Guest
Hello,

i have a cluster of 4 servers at hetzner.

all have 2 public IPs and i also heve on "failover-IP" that I can route to one of my 4 servers. all 4 servers are also interconnected with a second nic and a private switch.

on each server I want to install a vm that will work as a "front-end" server. The frontend server should get the 2nd public IP of the machine.

Also all traffic that arrives for the failover IP shoudl go into the frontend-server VM on the host.

so this is how it should look like:

eth0 xx.xx.100.66 -> physical machine "host1"
eth0:0 xx.xx.100.125 -> frontenserver "front1" running on "host1"
eth0:1 xx.xx.16.23 -> failover-ip traffice should go to "front1"

i guess my question boils down to: how to i "transfer" an ip alias ito a VM?