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

    Hyper-V, Traffic Shaper not available (confirmed) with possible workaround

    Scheduled Pinned Locked Moved 2.2 Snapshot Feedback and Problems - RETIRED
    7 Posts 4 Posters 2.8k 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.
    • K
      Kofl
      last edited by

      Hi,

      we just installed pfSense-LiveCD-2.2-BETA-amd64-20141017-1127.iso on Hyper-V 20012 R2.

      All native network cards were recognized correctly and are working. But the Traffic Shaping wizard does not recognize the NICs.
      If I start the traffic_shaper_wizard_multi_all.xml wizard, I only get the message:

      You have less interfaces than number of connections!

      Does anyone else experience that issue?

      Thanks,
      Thomas

      1 Reply Last reply Reply Quote 0
      • F
        falumas
        last edited by

        I get the same message on my installation.

        I have two network cards one WAN and on LAN.

        1 Reply Last reply Reply Quote 0
        • K
          Kofl
          last edited by

          Thanks for confirmation, same for me: 1 WAN and 1 LAN interface
          WAN interface (wan, hn0)
          LAN interface (lan, hn1)

          Hopefully the devs are fixing it.

          1 Reply Last reply Reply Quote 0
          • M
            mattbunce
            last edited by

            This is because pfSense doesn't think Hyper-V's network interfaces (hn) able capable of using ALTQ (from what I've read, they are capable).

            • Use Diagnostics > Edit File to edit /etc/inc/interfaces.inc

            • Find the fucntion "is_altq_capable($int)" and add "hn" to the list of capable interfaces

            • Save the file and head back to Trafic Shaper and it should work

            I'm not saying that this is completely working, I don't know enough to be sure ALTQ is doing all it should on these interfaces, but I have set-up some basic Trafic Shaping using PRIQ and it seems to be working correctly - In that viewing the queues in pfTop you can see that under heavy traffic, some packets are queued as I'd expect them to be.

            M

            1 Reply Last reply Reply Quote 0
            • F
              falumas
              last edited by

              Maybe the pfSense old Hyper-V network driver version 3.2 aren't capable of ALTQ.

              So an upgrade to version 5 might solve many problems.

              In the old unofficial Hyper-V modified version of pfSense 2.0.1 the problem could be solved with some file editing, but I think that version had a newer version of the network driver. I don't have the old unofficial version any longer so I can't check.

              Anyhow it could be worth a try to do the trick in the link below and see if it works. I am not using the traffic shaper.

              https://forum.pfsense.org/index.php?topic=56565.msg322637#msg322637

              I see now that I kind of was a little bit late on this ball.

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

                I added hn to the list of ALTQ supported interfaces. Seems to work fine in Hyper-V 2012 for at least a basic test.

                1 Reply Last reply Reply Quote 0
                • K
                  Kofl
                  last edited by

                  Just did an installation with the 2.2 RC releaes. Now its working fine out of the box :D

                  https://blog.pfsense.org/?p=1506

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