Mailinglist Archive: opensuse-virtual (15 mails)

< Previous Next >
Re: [opensuse-virtual] Xen on 11.1 and network configuration
  • From: Jim Fehlig <jfehlig@xxxxxxxxxx>
  • Date: Tue, 22 Sep 2009 10:36:17 -0600
  • Message-id: <4AB8FD01.9030502@xxxxxxxxxx>
Ciro Iriarte wrote:
I've setup 3 bridges

br0 --> should be "host only/virtual network", no interfaces attached.

This would be your "interdomU network". - a bridge with no IP address
and no dom0 interface attached.

br1 --> bridged with wlan
br2 --> bridged with eth0

In virt-manager, "Virtual network" still doesn't have any selectable
entry and "Shared physical device" only allows me to select br2 (eth0
is active).

How can I achieve the "interdomU network"?, maybe doing a bridge to loopback?

Just specify br0 in domU config, e.g.

vif=[ 'mac=00:16:3e:xx:yy:zz,bridge=br0', ]

Any vms connected to br0 will be able to communicate with each other,
but not the host. This assumes static IP addrs in the vms.

If you want DHCP, you will need to start dnsmasq process for the virtual
network (bridge). I have one running for an isolated network now:

xen33:~ # ps aux | grep dnsmasq
dnsmasq 5843 0.0 0.0 4384 812 ? S 10:18 0:00
/usr/sbin/dnsmasq --keep-in-foreground --strict-order --bind-interfaces
--pid-file --conf-file --listen-address
--except-interface lo
--dhcp-leasefile=/var/lib/libvirt/dhcp-private.leases --dhcp-range,

In this case, the bridge has a IP addr as well ( - so
domUs and dom0 can talk to each other, but domUs can't reach other
machines on the LAN. BTW, I created this network via libvirt using the
following XML

xen33:~ # cat /tmp/virbr2.xml
<bridge name="virbr2" />
<ip address="" netmask="">
<range start="" end="" />

xen33:~ # virsh net-create /tmp/virbr0.xml
xen33:~ # virsh net-list
Name State Autostart
br0 active yes
private active no

See for description of network XML
format. I'm not aware of any bugs in libvirt networking APIs in 11.1.
virt-manager uses these APIs, but you may be hitting some bugs in
virt-man itself - which can be circumvented by using libvirt's virsh
command directly.


To unsubscribe, e-mail: opensuse-virtual+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-virtual+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups