Всем привет! Хост система с ос ubuntu 12.04 64 используется в качестве маршрутизатора и имеет два интерфейса: eth1 смотрит в инет, а eth0 настроен мостом br1 и смотрит в локалку.
interface:
auto lo br1 eth1
iface lo inet loopback
iface br1 inet static
address 192.168.10.1
netmask 255.255.255.0
broadcast 192.168.10.255
bridge_ports eth0
bridge_stp off
bridge_waitport 5
iface eth0 inet manual
iface eth1 inet static
address xx.xx.xx.xx
netmask 255.255.255.0
broadcast xx.xx.xx.xx
domain.xml гостевой системы:
<domain type='kvm'>
<name>island</name>
<memory>2048000</memory>
<vcpu>1</vcpu>
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<boot dev='cdrom'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<clock sync='localtime'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<interface type='bridge'>
<mac address='6B:99:88:CB:93:6E'/>
<source bridge='br1'/>
<model type='virtio'/>
</interface>
<disk type='file' device='cdrom'>
<target dev='hda' bus='ide'/>
<source file='/home/VM_folder/ISO_VM/ubuntu.iso'/>
</disk>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<target dev='vda' bus='virtio'/>
<source file='/var/lib/zentyal/machines/island/disk_island.img'/>
</disk>
<input type='mouse' bus='ps2'/>
<video>
<model type='cirrus' vram='9216' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<graphics type='vnc' listen='0.0.0.0' port='5901' passwd='QvvUI5Ti' keymap='ru'/>
</devices>
</domain>
Устанавливаю ubuntu любую, ни в одной не работает сеть.
хотя устройство видит:
lspci
xxxxxxx
xxxxxxx
00.03.0 Ethernet Controller: Red Hat, Inc Virtio network devoce
xxxxxxx
ifconfig показывает только интерфейс lo
ifconfig -a его показывает как eth0
Прописал его в interface перезапустил сеть:
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
Reconfiguring network interfaces...
RTNETLINK answer: File exist
Failed to bring up eth0
В гостевых системах с windows все работает. Не знаю что делать
