Categories: How-To

pfsense KVM virtio

pfsense KVM virtio

 

In this howto i will explain you the short steps to get working pfsense KVM virtio drivers for example on Openstack or Proxmox with newest pfsense releases.

 

 

First you need to change your drive device path name since after reboot with the new driver it will change. So the lines in /etc/fstab should look like this now:

/dev/vtbd0s1a / ufs rw 1 1
/dev/vtbd0s1b none swap sw 0 0

after that add this driver values to your /boot/loader.conf:

virtio_load="YES"
virtio_pci_load="YES"
if_vtnet_load="YES"
virtio_balloon_load="YES"
virtio_blk_load="YES"

at least depending on your pfsense (check with: uname -a) kernel release you have to download the matching precompiled virtio binaries from following url: virtio binary packages

in my case i used virtio-kmod-8-0.239473.tbz for pfsense 2.1 beta so fetch http://people.freebsd.org/~kuriyama/virtio/8.3/virtio-kmod-8-0.239473.tbz and tar xvzf virtio-kmod-8-0.239473.tbz

Move to the extracted path boot/modules and cp * /boot/kernel
Finally check if the version you’ve downloaded matching your kernel version and if its running properly by kldload virtio. If the driver loads properly, shutdown your system, change your kvm disk and nic vm settings to virtio, start the vm again and reconfigure your network nics via shell gui (should now vtnet0/vtnet1..) and you’re done.

Jules

Jules is the owner and author of ISPIRE.ME. He's a Linux System Engineer, Tech fanatic and an Open Source fan.

View Comments

Share
Published by
Jules

Recent Posts

HTTP/2 SSL Offloading with Hitch and Varnish

HTTP/2 SSL Offloading with Hitch and Varnish Since Chrome browsers showing you insecure warning on…

7 years ago

File changed as we read it GlusterFS issue

File changed as we read it GlusterFS issue Recently i had trouble running Backups of…

8 years ago

Running multiple instances of varnish using systemd

Running multiple instances of varnish using systemd If you have not yet found a complete…

8 years ago

HTTP/2 SSL Offloading with Haproxy and Nginx

HTTP/2 SSL Offloading with Haproxy and Nginx After HTTP/2 becoming more an more prominent regarding SSL…

8 years ago

Get Real IP with Haproxy Tomcat Jira Confluence using x-forwarded-for

Get Real IP with Haproxy Tomcat Jira Confluence using x-forwarded-for Everyone knows the Problem. Get…

8 years ago

Review TDS2 How to backtest using tick data with Metatrader 4

Review TDS2 How to backtest using tick data with Metatrader 4 in this Review TDS2…

8 years ago

This website uses cookies.