S
S
Splite2015-12-03 01:13:23
linux
Splite, 2015-12-03 01:13:23

How to forward Failover IP in KVM?

Hello, this is my first time with virtualization. I have a Debian 8 server with KVM installed
The server has a Failover IP which is declared in /etc/network/interfaces like this

auto eth0:0
iface eth0:0 inet static
address MY.FAIL.OVER.IP
netmask 255.255.255.255
broadcast MY.FAIL.OVER.IP

How can I make the VM use this IP?
If possible, an example of a config from /etc/network/interfaces and which interface to specify in virt-
install I was afraid to experiment for this reason

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Maksimov, 2015-12-03
@ValorVl

Hang a bridge on eth0:0, give the bridge to the virtual machine, there already remove your ip.

V
Vlad Zhivotnev, 2015-12-03
@inkvizitor68sl

You can restore through rescue, it will take 5 minutes.
https://debian.pro/1345 - here I seem to have written everything I need about a bridged network. Don't forget to install bridge-utils

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question