[libvirt] Need second private network between guests's
Mark McLoughlin
markmc at redhat.com
Tue Nov 10 08:13:34 UTC 2009
On Mon, 2009-11-09 at 23:22 -0500, Gerry Reno wrote:
> I've got a shared device 'br0' between my host and all my guests. The
> guests are now on the host network. What do I need to do in order to
> setup a second 'private' network between the guests? My host network is
> on 192.168 and I'd like the second private network on 172.19.
virsh net-define/net-start with:
<network>
<name>private</name>
<bridge name='prvbr0'/>
<ip address='172.19.0.1' netmask='255.255.255.0'>
<dhcp>
<range start='172.19.0.2' end='172.19.0.254' />
</dhcp>
</ip>
</network>
should do it
See http://libvirt.org/formatnetwork.html
Cheers,
Mark.
More information about the libvir-list
mailing list