Skip to contentSkip to conversation

BSD under KVM with 2 NIC'S

DISCUSSION Vadim Korschok 2 participants 2 messages Oct 29, 2008 KVM

lore
Share & tools
lore
#0 lore raw

Hi all,

i'm trying to install OpenBSD, FreeBSD under a Gentoo 2.6.26-r2 with KVM-77. The installation works quite well if i'm using one nic. If i try to boot the .iso with 2 nic's the machine freeze, and the cpu goes to 100%.

localhost # kvm -hda fw0-ext.img -boot d -cdrom openbsd-4.3-amd64.iso -m 512 -net nic,model=e1000 -net tap -net nic,model=e1000 -net tap -vnc :0

I have tested it with FreeBSD 7.0 x86_64, OpenBSD 4.2/4.3 x86_64, OpenBSD 4.3 i386 same result, freezing.

Host:

Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
MemTotal: 3985152 kB

localhost images # brctl show

bridge name     bridge id               STP enabled     interfaces
br0             8000.001fd024d4d3       no              eth0

tap0 tap1 tap2

Thanks in advance.

#1 lore raw
Quoted 4 lines · * Vadim Korschok ([email protected]) wrote:

i'm trying to install OpenBSD, FreeBSD under a Gentoo 2.6.26-r2 with KVM-77. The installation works quite well if i'm using one nic. If i try to boot the .iso with 2 nic's the machine freeze, and the cpu goes to 100%.

localhost # kvm -hda fw0-ext.img -boot d -cdrom openbsd-4.3-amd64.iso -m 512 -net nic,model=e1000 -net tap -net nic,model=e1000 -net tap -vnc :0

try vlan, like:

kvm -hda fw0-ext.img -boot d -cdrom openbsd-4.3-amd64.iso -m 512 -net nic,vlan=0,model=e1000 -net tap,vlan=0 -net nic,vlan=1,model=e1000 -net tap,vlan=1 -vnc :0

I think you've created a broadcast storm.

thanks,
-chris