Tuesday, July 17, 2012

FreeNAS KVM guest nic woes

I’m in process of testing FreeNAS on my KVM host. The problem I experienced was that FreeNAS was not picking up the Ethernet interface.

I even ran 'pciconf -vl', and lo and behold there was the nic.
I really couldn’t understand, for the below command sure works for FreeBSD 9.

This is the general  command I use for a FreeBSD guest:

virt-install --connect qemu:///system -n freebsdguestname -r 512 --vcpus=1 --disk path=/space/freebsdguest.img,size=12 -c /iso/freebsd.iso --vnc --noautoconsole --os-type unix --os-variant freebsd7 --accelerate --network=bridge:br0 --hvm;

So not to spend to much time trouble shooting, I added '--network=bridge:br0,model=rtl8139'


And it all worked.
HTH
Brent




1 comment:

  1. This will not allow FreeNAS to use the accelerated virtio though you can add the drivers later.

    ReplyDelete