Windows 10: Hyper V Net Adapters are down after each pc reboot requiring me to delete the vSwitch and...

Discus and support Hyper V Net Adapters are down after each pc reboot requiring me to delete the vSwitch and... in Windows 10 Gaming to solve the problem; Hi,I have this PC that needs to connect to two different vlans. I created a vSwitch and then I created two network adapters. They work fine until I... Discussion in 'Windows 10 Gaming' started by stefangoga, May 16, 2024.

  1. Hyper V Net Adapters are down after each pc reboot requiring me to delete the vSwitch and...


    Hi,I have this PC that needs to connect to two different vlans. I created a vSwitch and then I created two network adapters. They work fine until I shutdown the PC. When I turn it back on, both adapters are down. ipconfig says media disconnect. When I check their status in hardware and connection properties, it says not operational. I tried disabling them and reenabling them to no end. The only solution that works is me deleting the vSwitch that I created and creating a new one, then recreating the two net adapters. I tried googling it / chat-gpt, but I couldn't find anything only about this i

    :)
     
    stefangoga, May 16, 2024
    #1
  2. da_667 Win User

    Hyper-V vswitches and linux AFPACKET bridging

    Hello!

    I seem to be having a problem with hyper-v client. I'm running windows 10 x64, and installed hyper-v on my system. So far, it's a great hypervisor, and the features are just fantastic. I really wish MS was advertise this as a feature, because it's pretty
    awesome.

    Anyhoo, here's my problem:

    I'm a malware analyst and I have the following network setup in hyper-v:

    1 vswitch bridged to my workstation's physical network card. We'll call this vswitch1

    3 private vswitches. We'll call these vswitch2, 3, and 4, respectively.

    I have a PFsense VM connected to vswitch 1, 2, and 3. PFSense works fine and routes/firewalls properly between all the networks.

    I have another VM, a debian 8 x64 linux VM. This VM is connected to vswitch 2 for management access, and connected to vswitch 3 and 4 to act as a bridge.

    Why am I doing this? I plan on having malware analysis vms on vswitch 4. the debian VM acts as "fail-close"/failsafe in that if the malware does things I don't expect, I can power down the VM and remove its network access while leaving the PFSense VM that
    is routing and firewalling for my other VM networks alone.

    I've done this before and I have gotten this to work on virtualbox, vmware workstation, vmware fusion, and vmware ESX with zero problems.

    I configure the interfaces that my IPS software will be sniffing on (in this case, assume I'm using the snort IPS):

    - I turn off any and all checksumming and/or checksum offloading for the interfaces

    - I put the interfaces into promiscuous mode

    - I activate snort and configure it to bridge between my two network interfaces (eth1 and eth2, respectively) using AFPACKET.

    I spin up a malware analysis VM and put it on vswitch 4 and... it can't reach anything at all. running TCPDUMP shows that broadcast traffic makes it to my IPS/failsafe VM, crosses the bridge, then my pfsense VM, connected to vswitch 3 never sees it. It doesn't
    respond to ARP, it doesn't respond to DHCP.

    So I gave my analysis vm a static IP address, a default route, its dns servers, and statically configured arp so that the VM would know the mac address of the PFSense VM (its default gateway) and... nothing worked still. It's almost as though vswitch 3 is
    dropping the traffic somehow.

    Now, when I do this in vmware ESX, I have to configure any vswitches that I'm bridging between to allow promiscuous mode for this to actually work. Knowing this, I did the following:

    On my PFsense VM, I configured the interface on vswitch 3 to be a port mirroring SOURCE

    On the IPS VM running debian, I configured the NIC connected to vswitch 3 to be a DESTINATION

    On my malware analysis vm on vswitch 4, I configured it to be a port mirroring SOURCE

    On the IPS VM running deibain, I configured the NIC connected to vswitch 4 to be a DESTINATION

    and still, it doesn't work, and I can't fathom why.

    So let's recap:

    - I'm trying to bridge to hyper-v vswitches together with a LINUX vm using AFPACKET bridging.

    - I'm not asking for linux or IDS/IPS technical support. I've done this a number of time on other baremetal and hosted hypervisors and got it to work.

    - Just so we're abundantly clear, I have checksum offloading turned off completely on the linux VM interfaces, and snort is operating with the "-k none" flag to NOT mess with network traffic checksums. Still no dice.

    - I've turned on promiscuous mode on the linux vm's network interfaces, activate the bridge, and can see broadcast messages (DHCP requests and ARP requests) go across the AFPACKET bridge, but then something is preventing the VM on the other side from getting
    the traffic. the fact that I can see the broadcast traffic on either side of the AFPACKET bridge leads me to believe that this isn't a linux problem, it's a problem with hyper-v, or the vswitch, or something.

    Help MS Community, you're my only hope.
     
    da_667, May 16, 2024
    #2
  3. kenw-afc Win User
    Hyper-V vSwitch "port" speed

    I have a Server 2019 Hyper-V server and have a SET team of 6 10G NICs bound to an external vSwitch. I have created a vNIC on the management OS which creates a virtual NIC in the OS. It is my understanding that this is just like a "port" on a network
    switch. My question is what speed is this port? I am going to use this vNIC for my VM traffic. I know that the VM traffic with be load balanced across the SET team but I would like to know if this single "port"/vNIC will be limited in bandwidth to 10G?
     
    kenw-afc, May 16, 2024
    #3
  4. JimWynne Win User

    Hyper V Net Adapters are down after each pc reboot requiring me to delete the vSwitch and...

    Hyper-V

    Only Pro or Enterprise versions can run Hyper-V, in addition to the other requirements listed at the link I provided earlier.
     
    JimWynne, May 16, 2024
    #4
Thema:

Hyper V Net Adapters are down after each pc reboot requiring me to delete the vSwitch and...

Loading...
  1. Hyper V Net Adapters are down after each pc reboot requiring me to delete the vSwitch and... - Similar Threads - Hyper Net Adapters

  2. Hyper-V vSwitch and Physical Port Configuration

    in Windows 10 Gaming
    Hyper-V vSwitch and Physical Port Configuration: What is my physical port supposed to look like with a vSwitch configured? I think I may have touched this configuration. Also, if I want to change properties under the Configure and Advanced tab on the Realtek GbE will they work they take affect?...
  3. Hyper-V vSwitch and Physical Port Configuration

    in Windows 10 Software and Apps
    Hyper-V vSwitch and Physical Port Configuration: What is my physical port supposed to look like with a vSwitch configured? I think I may have touched this configuration. Also, if I want to change properties under the Configure and Advanced tab on the Realtek GbE will they work they take affect?...
  4. Hyper-V vSwitch for Windows server 2025 Datacenter Server is failing

    in Windows 10 Gaming
    Hyper-V vSwitch for Windows server 2025 Datacenter Server is failing: Hi Team,We have setup new windows server 2025 Datacenter, and it's configured with the Nic teaming 4 adapters 2 NIC teams.Also, we have configured the Hyper-V server in the physical server. When we try to configure the vSwitch from the Virtual switch manager we can't be able...
  5. Hyper V Net Adapters are down after each pc reboot requiring me to delete the vSwitch and...

    in Windows 10 Software and Apps
    Hyper V Net Adapters are down after each pc reboot requiring me to delete the vSwitch and...: Hi,I have this PC that needs to connect to two different vlans. I created a vSwitch and then I created two network adapters. They work fine until I shutdown the PC. When I turn it back on, both adapters are down. ipconfig says media disconnect. When I check their status in...
  6. Adapter settings in Hyper-V

    in Windows 10 Customization
    Adapter settings in Hyper-V: Hello in Hyper-V Manager Action Settings, I am trying to select those settings that I need to get my Windows XP virtual computer connected to the network. From what I have read online, I need to select the Legacy Network Adapter item and click the Add button to create a...
  7. Hyper-V Requirements

    in Windows 10 Customization
    Hyper-V Requirements: How to do I verify Hyper-V Requirements? I know the following: 1. Windows 10 Home > Need to upgrade to Windows 10 Pro 2. 64-bit processor is installed on the laptop 3. Not sure how to tell if processor is Second Level Address Translation SLAT 4. 4GB RAM installed 5....
  8. Hyper-V Network Adapter Bridge Mode?

    in Windows 10 Virtualization
    Hyper-V Network Adapter Bridge Mode?: I'm running successfully running Android BlueStacks in a Hyper-V machine and have network connectivity through the host adapter. However, one Android app I run does not fully function because it believes the device is not on the same subnet as the actual host machine. Someone...
  9. Why is there no reboot option in Hyper-V?

    in Windows 10 Virtualization
    Why is there no reboot option in Hyper-V?: All I see when I right click my servers is "reset" and there is no reboot option. Reset isn't the same, right? So how can I reboot as opposed to resetting? 72397
  10. Network adapters not appearing in Hyper-V

    in Windows 10 Virtualization
    Network adapters not appearing in Hyper-V: Hello. I'm hoping somebody knowledgeable can help me. I've looked online and I can't find an answer for this problem. I've just recently picked up windows 10 (It's been less than a week so I'm admittedly a noob with it) and I want to create a virtual machine. I've gone...