PF 2.2 KVM VirtIO Network Drivers Broken
-
I just created a pfSense 2.2 KVM setup. I used the following network config to install pfSense:
<interface type="bridge"><mac address="52:54:00:45:d4:3g"><source bridge="br0"> <target dev="vnet0"></target></mac></interface> <interface type="bridge"><mac address="52:54:00:45:63:3g"><source bridge="in0"> <target dev="vnet1"></target></mac></interface>
pfSense installs fine and detects the virtIO network ports. I then run a speed test and the upload speed is just about 0 (0.04 Mpbs). It is impossible to watch a youtube video for example.
I then changed the model type to e1000 instead of virtio and this fixes the upload issue. I am assuming the network virtIO drivers need some work. Where should I report this so that the virtIO drivers can get worked on by the pfSense team?
-
what we have should be the same as what's in stock FreeBSD 10.1. Does stock 10.1 work in the same circumstance?
It sounds like possibly an issue with checksums similar to what people have seen with Xen and xn. If you disable hardware checksum offloading under System>Advanced, Misc, does that resolve the issue?
-
Well I am not sure what I changed but I switched my KVM config back from 'e1000' to 'virtio' and then ran a speed test without changing the hardware checksum and I am getting normal upload speed. I then turned off checksum offloading to see if that did anything but the speeds remained the same so I turned it back on. I must of have changed something from then to now but not sure what… I'll keep an eye on this.
-
Hm, if you figure out what you changed to fix it, definitely follow up and let us know.
-
The simpliest fix for this is to disable checksum offload (System > Advanced > Networking tab and reboot)