Added a new ip to libvirt (proxy arp)

by bouleetbil 29. août 2011 12:48

I've configured vega/libvirt with a proxy arp :

http://www.frogdev.info/blogengine/post/kvmvirt-managerbridgefailoverdedibox.aspx

For add a new IP failover, just edit /usr/bin/brigde.sh for add the new IP

route add NEWIPFAILOVER dev fail0

In the virtual host :
Create a script /usr/bin/routevm.sh
route add IPGATEWAY dev eth0
route add default gw IPGATEWAY


Configure the network
/etc/sysconfig/network/default
[eth0]
options = IPFAILOVER netmask 255.255.255.0
post_up = /usr/bin/routevm.sh


And that's all :p
With my dedibox I can add 10 IP :p


Tags:

Frugalware | Linux

Commentaires