Installation guide

br0 Link encap:Ethernet HWaddr 00:00:5A:11:70:48
inet addr:10.22.1.5 Bcast:10.255.255.255
Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:249841 errors:0 dropped:0 overruns:0 frame:0
TX packets:281948 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:106327234 (101.4 MiB) TX bytes:21182634 (20.2 MiB)
So lu t io n
Ed it t h e exist in g b ridg e or creat e a n ew b ridg e wit h vi rsh
Use vi rsh to either edit the settings of an existing bridge or network, or to add the
bridge device to the host system configuration.
Ed it t h e exist in g b ridg e set tin gs u sin g vi rsh
Use vi rsh ed i t name_of_guest to change the <i nterface>
definition to use a bridge or network that already exists.
For example, change type= ' bri d g e' to type= ' netwo rk' , and
<so urce bri d g e= ' br0 ' /> to <so urce netwo rk= ' d efaul t' />.
Creat e a h o st b ridg e usin g vi rsh
For lib virt version 0.9.8 and later, a bridge device can be created with
the vi rsh i face-bri d g e command. This will create a bridge device
br0 with eth0 , the physical network interface which is set as part of a
bridge, attached:
virsh iface-bridge eth0 br0
Optional: If desired, remove this bridge and restore the original eth0
configuration with this command:
virsh iface-unbridge br0
Creat e a h o st b ridg e man u ally
For older versions of lib virt , it is possible to manually create a bridge device on
the host. Refer to Section 11.3, “ Bridged networking with libvirt” for instructions.
B.12. Guest is unable t o st art wit h error: warni ng : co ul d no t o pen
/d ev/net/tun
Symp t o m
The guest virtual machine does not start after configuring a type= ' ethernet' (also
known as 'generic ethernet') interface in the host system. An error appears either in
l i bvi rtd .l o g , /var/l o g /l i bvi rt/q emu/name_of_guest. l o g , or in both, similar
to the below message:
Common libvirt errors and t roublesh oot ing
14 3