Connect Hyper-V Server to Wireless Internet

jbooze 61 Reputation points
2023-02-20T15:28:47.8666667+00:00

Hello, I am having problems getting my test domain on the internet. I would like to get my Hyper-V Windows 2019 server on the internet while I am on my laptop, while I am using my Wi-Fi card. I have tried External and Nat virtual switches with no luck. Attached is the topology of what I am trying to do. I am to the point were I would just like to get the domain server on the internet and then attach the test machines, if possible. Thank you.

VSwitch WiFi.PNG

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2023-03-04T18:17:09.98+00:00

    The gateway is not accessible. Might try deleting / recreating the external vSwitch

    1 person found this answer helpful.

9 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-02-20T16:11:47.4933333+00:00

    The address of the hyper-v host does not matter. The external vSwitch is correct. You mentioned a domain controller? If so the domain controller should have a static assigned address and use its own static address listed for DNS and no others such as router or public DNS. Use the NAT router address for default gateway.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

  2. Thameur-BOURBITA 36,261 Reputation points Moderator
    2023-02-20T16:29:14.3466667+00:00

    Right now attached is the switch config I using. Should this work? Do I need to set the IP on the Hyper-V server?

    You have to set IP , DNS resolver on virtual machine not hyper-v host.

    Please don't forget to mark helpful answer as accepted

    1 person found this answer helpful.

  3. Anonymous
    2023-02-24T13:53:03.4266667+00:00

    One thing notice was that my External VSwitch is bound to my Wi-Fi adapter and there is not IP in the VSwtich When you create a new external vSwitch the internet protocols are removed from the adapter and the Hyper-V Extensible Switch protocol is added turning that physical port into a multi-port virtual switch. Connect your VMs to this vSwitch and use each VM's vEthernet to configure the addressing in the exact same manner as if it were a physical NIC. Do not edit the vSwitch properties.
    https://blogs.technet.microsoft.com/jhoward/2008/06/17/hyper-v-what-are-the-uses-for-different-types-of-virtual-networks/

    1 person found this answer helpful.

  4. Anonymous
    2023-02-28T18:16:13.6833333+00:00

    and still did not receive internet connectivity

    Please run;

    Dcdiag /v /c /d /e /s:%computername% >C:\dcdiag.log (run on PDC emulator) repadmin /showrepl >C:\repl.txt (run on any domain controller) ipconfig /all > C:\%computername%.txt (run on EVERY domain controller) ipconfig /all > C:\problemworkstation.txt (run on problem pc)

    Also check the domain controller System and Replication (DFS or FRS) event logs for errors since last boot. Post the Event Source and Event IDs of any found. (no evtx files)

    then put unzipped text files up on OneDrive and share a link.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.