Re: [libvirt] Need second private network between guests's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]