I have two physical hosts which run debian lenny with kvm. They have one nic which connects to the internet and another nic which is a cross-link to each other, for a faster private net. On this kvm hosts run different guest hosts. Each guest has one public ip and one private ip.

The guests should be movable (migration) between the kvm hosts and keep their private ip address. I want to have something like a private Isolated network but it should span multiple physical kvm hosts. How Can I archive this? Is this possible? VPN? Bridge? Point-to-Point? I have no clue!

  • I wanted to do live migration. For this to work the bridge ips should be the same. But it doesn't works with the same bridge ips (with different everything works fine) – yvess Jan 27 '10 at 20:20

I don't think you need to implement anything special here. You just need create your guests with two interfaces, and bridge them to the private and public interfaces of the hosts. So long as the interfaces on the hosts are named and mapped the same way, your guests should retain the same public and private IPs on the same networks when they are migrated.

  • Indeed it was that easy! – yvess Jan 27 '10 at 18:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.