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

    PfSense 2.0 and Hyper-V 2008R networking issue

    Scheduled Pinned Locked Moved Virtualization
    6 Posts 4 Posters 5.1k 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.
    • M
      mikhug
      last edited by

      Hi,

      I have installed a pfsense in our hyper-v enviroment. Its boots and the WAN interface works, but neither the opt or the lan interface works.

      I use the same (legacy) drivers on all three nics, I have machines working on the VLANS internally on the opt and on the LAN but they cannot ping the pfsense guest. I have tried all combos and double checked macs etc.

      What can I look for more?

      /MH

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

        Try doing an ifconfig <if>down and ifconfig <if>up on the LAN and OPT interfaces via the shell.

        for example:

        ifconfig de0 down
        ifconfig de0 up

        I have an issue where sometimes they don't seem to come up properly at boot up, it doesn't bother me much as the VMs rarely require re-booting.</if></if>

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

          Hi in this case the pfsense is the dhcp server and the leases falls out after some hours. I think its related to the ARP issues im seeing.

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

            Use the ShellCMD package to run the commands on bootup.

            I've got multiple Hyper-V installations across a few locations and this seems to do the trick.

            1 Reply Last reply Reply Quote 0
            • J
              jaredadams
              last edited by

              @peterclark4:

              Try doing an ifconfig <if>down and ifconfig <if>up on the LAN and OPT interfaces via the shell.

              for example:

              ifconfig de0 down
              ifconfig de0 up

              I have an issue where sometimes they don't seem to come up properly at boot up, it doesn't bother me much as the VMs rarely require re-booting.</if></if>

              +1 for this working.  Thanks.

              1 Reply Last reply Reply Quote 0
              • E
                Efonnes
                last edited by

                I have a workaround uploaded that may be useful.  It cycles the interfaces both at boot and every time they are reconfigured.  I think they were already brought down once in the original interface reconfigure code anyway, but this workaround brings the interface up before bringing it down, which I think helps when the link had gone down.
                Instructions here: https://github.com/efonne/pfsense/wiki

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