<br><div class="gmail_extra"><br><br><div class="gmail_quote">2012/10/31 Chandana De Silva <span dir="ltr"><<a href="mailto:chandana@desilva.id.au" target="_blank">chandana@desilva.id.au</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

You _can_ do NAT.<br>
<br>
Set up a  different libvirt network on each machine, like this;<br>
10.128.80.65 will have a libvirt network <a href="http://192.168.65.0/24" target="_blank">192.168.65.0/24</a><br>
10.128.80.66 will have a libvirt network <a href="http://192.168.66.0/24" target="_blank">192.168.66.0/24</a><br>
<br>
Set up each of these networks as routed networks.<br>
<br>
Now set up routing/iptables rules on each host to send traffic to each other, and NAT into the internal routed network<br>
<br>
On 31/10/12 01:46, <a href="mailto:libvirt-users-request@redhat.com" target="_blank">libvirt-users-request@redhat.<u></u>com</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Message: 1<br>
Date: Tue, 30 Oct 2012 07:10:55 +0000<br>
From: ??<<a href="mailto:zhang_zhang@live.com" target="_blank">zhang_zhang@live.com</a>><br>
To:<<a href="mailto:libvirt-users@redhat.com" target="_blank">libvirt-users@redhat.com</a>><br>
Subject: [libvirt-users] Can VMs on different machines communicate<br>
        with each other without IP?<br>
Message-ID:<BLU172-<u></u>W4666B32A6C9C8E75734C67FC620@<u></u>phx.gbl><br>
Content-Type: text/plain; charset="gb2312"<br>
<br>
<br>
Dear all,<br>
      I confront a somehow strange situation:<br>
      I have two machines configured with ip 10.128.80.65 and 10.128.80.66 respectively. Each has several VMs running on it. The problem is that I have no more ip ( such as 10.128.80.67...) to allocate to VMs, but VMs need to communicate with each other even when they are on different machines.<br>


      Two network options exist: NAT and bridge.<br>
      1) NAT<br>
          But VMs on different machine cannot communicate with each other.<br>
      2)bridge<br>
          But there is no more ip for vm to be bridged to host machine.<br>
      Is there any other way to work around this problem?<br>
<br>
<br>
many thanks!<br>
</blockquote>
<br></blockquote><div>you can custom your iptable rules to solve it,i've noticed that you've got a method which from my blog,good luck! </div></div></div>