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

Link state and interface assignment in Hyper-V

Scheduled Pinned Locked Moved Virtualization
3 Posts 3 Posters 993 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.
  • J
    JadeKnight
    last edited by Mar 29, 2015, 7:13 PM

    Hi.

    I'm currently in the process of migrating from ESXi to Hyper-V. The new firewall instance is in place on the new hypervisor running Windows Server 2012 R2. I'm using latest build of Pfsense 2.2.1, which to my knowledge is supported on Hypver-V using the standard network adapters (synthetic adapter, not legacy).

    I do have some trouble with identification of the adapters during initial setup. The system is using five network adapters. All adapters are reported as up, despite the fact that they are not connected (only present). When I invoke auto detect, Pfsense is not able to recognize any changes in the connection, although I do connect the WAN interface when asked in setup.

    Anyone knows about the issue and a solution? How does this affect things in production if a connection is lost?

    Any help would be appreciated :)!

    1 Reply Last reply Reply Quote 0
    • M
      moo82
      last edited by Apr 1, 2015, 7:39 AM

      How I identify network interfaces:

      In Hyper-V's Virtual Network Manager, I make a net for each interface.

      LAN1 Intel blah blah #2
      LAN2 Intel blah blah #1
      ISP1 Intel blah blah #1
      ISP2 Intel blah blah #2

      I named these virtual networks after the cables I put into the corresponding ports. Easily verified in Windows.

      Then, in settings for the VM, I added 4 cards with the 4 aforementioned virtual networks, and MAC dynamic.
      Start the VM, enter settings again, and all the cards will now have MAC addresses.

      Network adapter LAN1 MAC ends with D2 0E
      Network adapter LAN2 MAC ends with D2 10
      Network adapter ISP1 MAC ends with D2 11
      Network adapter ISP2 MAC ends with D2 0F

      In pfsense, I don't auto detect, but instead choose the hn interface with MAC corresponding to those I noted above.

      So LAN becomes the interface with MAC D2 0E, WAN becomes the interface with D2 11, OPT1 becomes D2 10 and OPT2 becomes D2 0F. Then I rename OPT1 and OPT2.

      There might be a better, or other way, but this way works for me.

      1 Reply Last reply Reply Quote 0
      • J
        JasonJoel
        last edited by Apr 3, 2015, 12:55 AM

        That's exactly how I did it too.

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received