Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PF 2.2 KVM VirtIO Network Drivers Broken

    Scheduled Pinned Locked Moved Virtualization
    5 Posts 3 Posters 2.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      archedraft
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • A
          archedraft
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            Hm, if you figure out what you changed to fix it, definitely follow up and let us know.

            1 Reply Last reply Reply Quote 0
            • P
              pfoo
              last edited by

              The simpliest fix for this is to disable checksum offload (System > Advanced > Networking tab and reboot)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.