FreeNAS 11 Bhyve networking Tutorial?

Status
Not open for further replies.

Ryan Dugdale

Cadet
Joined
May 12, 2017
Messages
4
Hi,
Does anyone know of a good tutorial for creating VM's in FreeNAS 11?
I'm not a strong Linux user and have issues with the networking side. VM runs fine and installed virtio driver but will not identify a network.
 

Brer

Explorer
Joined
Mar 2, 2017
Messages
63
Have you tried selecting your actual network card instead of VirtIO? Select you VM, click Devices at the bottom, select NIC and click the drop down where it says Adapter Type.

upload_2017-5-19_17-4-20.png


It should auto detect your hosts network and use DHCP from your router to assign or pickup and IP.
 

Ryan Dugdale

Cadet
Joined
May 12, 2017
Messages
4
Hi, Thanks for the reply.
That works but the CPU spikes to 100% and its hard to use, even locks up.
It works fine on Ubuntu but Windows server 2012R2 and Windows 10 have an issue.
I read to try the VirtIO driver to resolve this but have no clue how to work with it. CPU runs fine on VirtIO but without network access.
upload_2017-5-19_13-12-16.png
 

Ryan Dugdale

Cadet
Joined
May 12, 2017
Messages
4
Hi, Can anyone help with this or have any suggestions? I've been looking at it off and on over the past month but still can't seem to get a windows 10 or Windows 2012 server working.
 

Dennis Rawet

Dabbler
Joined
Nov 10, 2011
Messages
10
Hi Ryan.
I have the exact same problem.
The E1000 nic does work, but after some load on network the VM freezes and i cant turn it off, resulting in rebooting FN.

I have tryd VirtIO, installing stable drivers from Fedora, it install just fine, but then no network access.

I found some information that E1000 driver in Bhyve is unstable and everyone suggested VirtIO, but seems not to be working in FN 11.
 

cherup

Dabbler
Joined
Nov 21, 2015
Messages
20
Hi - same with me. I have installed Windows 10 with NIC E1000, but VM hangs after approx. 5 minutes. No mouse, no network - cannot stop VM and must reboot the server (mabye a console command would help here...).
 

Dennis Rawet

Dabbler
Joined
Nov 10, 2011
Messages
10
I got it working!
The problem is, i dont know what i did.. or kinda..

I think i installed latest drivers from fedora, but it didnt succed the driver upgrade, so i tryd uninstall drivers to reinstall them.. but it just froze when i tryd uninstall the drivers.. after a reboot it now works?

So if you guys try:
Download the latest drivers from: https://fedoraproject.org/wiki/Windows_Virtio_Drivers
The ISO should be called virtio-win-0.1.139.iso
Uninstall stable drivers, or update to driver from iso above.

Please let me know if it works for you guys, im going to stress test the VM now and see if its more stable..

One thing i found out is that i get "Driver Power State Failure" when rebooting.. ill see if i can fix that also..
Windows under Bhyve seems to be a pita..
 

Ryan Dugdale

Cadet
Joined
May 12, 2017
Messages
4
Dennis, you sir are a Hero! I didn't even think to use the latest version... I had tunnel vision by using the Stable version.

I have a little more working getting it to see my freenas shares but your info has got me over a month+ problem

Thanks again
 

Dennis Rawet

Dabbler
Joined
Nov 10, 2011
Messages
10
Dennis, you sir are a Hero! I didn't even think to use the latest version... I had tunnel vision by using the Stable version.

I have a little more working getting it to see my freenas shares but your info has got me over a month+ problem

Thanks again
No problem mate!

I am more than happy to help you, hopefully this information help more ppl! maybe ill try contact devs to add information in docs about the virtio driver..
 

cherup

Dabbler
Joined
Nov 21, 2015
Messages
20
Thanks a lot - using the 0.1.139 driver works also for me.
Would be good if such info will be passed to a dev - because I assume many people will fall into this
problem when installing windows 10...
 
Status
Not open for further replies.
Top