[libvirt-users] libvirt-users Digest, Vol 34, Issue 35

Chandana De Silva chandana at desilva.id.au
Tue Oct 30 18:42:45 UTC 2012

You _can_ do NAT.

Set up a  different libvirt network on each machine, like this; will have a libvirt network will have a libvirt network

Set up each of these networks as routed networks.

Now set up routing/iptables rules on each host to send traffic to each 
other, and NAT into the internal routed network

On 31/10/12 01:46, libvirt-users-request at redhat.com wrote:
> Message: 1
> Date: Tue, 30 Oct 2012 07:10:55 +0000
> From: ??<zhang_zhang at live.com>
> To:<libvirt-users at redhat.com>
> Subject: [libvirt-users] Can VMs on different machines communicate
> 	with each other without IP?
> Message-ID:<BLU172-W4666B32A6C9C8E75734C67FC620 at phx.gbl>
> Content-Type: text/plain; charset="gb2312"
> Dear all,
>       I confront a somehow strange situation:
>       I have two machines configured with ip and respectively. Each has several VMs running on it. The problem is that I have no more ip ( such as to allocate to VMs, but VMs need to communicate with each other even when they are on different machines.
>       Two network options exist: NAT and bridge.
>       1) NAT
>           But VMs on different machine cannot communicate with each other.
>       2)bridge
>           But there is no more ip for vm to be bridged to host machine.
>       Is there any other way to work around this problem?
> many thanks!

More information about the libvirt-users mailing list