Dual homing a VM

mwixon

New Member
Apr 28, 2009
27
0
1
Hi -

I was wondering if it is possible to create a dual homed VM? I was able to create a second bridge in proxmox - br1. BR0 has eth0 and BR1 has eth1

I also can see how you can add multiple IPs to a VM and this works, by comma separating the IPs.

I guess the question is how do I take one of the VMs IPs and put it on BR1?

Thanks
-Mike
 
I have 2 physical networks, which are not physically connected. I'd like the VM to have a virtual interface on both networks.
 
Hi,

Setup br1 the same way you did setup br0, and you will achive this,
But.. with different ip-nets and networks, you can't use both connections at the same time, so only 1 will work as your in/out interface.

Marius
 
The network on br1 is simply a /24 with no router. It is a test network. But it sounds like what you are saying is that there is no way to set the mask to other than 255.255.255.255??
 
Hi again,

So br1 is the LAN interface, and br0 is the inet interface, that's another situation, you can set the netmask to the network you want on br1, and configure whatever ipnet you want on that interface,
i thought you were after an reduant solutions, with two different isp's on br0 and br1.

Marius
 
You are correct.

I guess I go back to my original question - is the system smart enough to assign the "test" network to br1? I didn't see a place to configure that.
 
For KVM VMs, you can do this using the web interface. Someone is already working to provide a solution for openvz too.