[libvirt] Need second private network between guests's

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. thx, -Gerry

I'm a new guy to the list and libvirt but I'm guessing you'll be looking at the config section of dnsmasq if you'd like dynamically assigned IP's from the VM's to be on the 172 network. ----------------------------------------------------------------- Adam Mooz Adam.Mooz@gmail.com AdamMooz@me.com http://www.AdamMooz.com On 2009-11-09, at 11:22 PM, 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. thx,
-Gerry
-- Libvir-list mailing list Libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Adam Mooz wrote:
I'm a new guy to the list and libvirt but I'm guessing you'll be looking at the config section of dnsmasq if you'd like dynamically assigned IP's from the VM's to be on the 172 network.
----------------------------------------------------------------- *Adam Mooz* /Adam.Mooz@gmail.com <mailto:Adam.Mooz@gmail.com> //AdamMooz@me.com <mailto:AdamMooz@me.com>// /http://www.AdamMooz.com
On 2009-11-09, at 11:22 PM, 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. thx,
-Gerry Hi there new guy. Ok, first rule of lists: no top posting. Too hard to follow threads of conversation that way.
I'm not worried about how the addresses will be assigned, either static or dynamic. I need the network stanzas that are necessary in the xml file in order to establish a second private network between the guests. -Gerry

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.
participants (3)
-
Adam Mooz
-
Gerry Reno
-
Mark McLoughlin