How to add two different network IP to my Hyper-V in my Window Server 2022?

TechQ 236 Reputation points
2023-05-07T14:17:53.7866667+00:00

I am trying to test out 'Active directory Site and Service' where you work with Branch office.

For example, I want to add two different network to my Hyper-V VM window server. So my original IP is 10.0.0.1 and I want to add my 2nd IP 192.162.0.1 so that I can test out how they communicate with my VPN and other stuff

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,127 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,858 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,538 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.1K Reputation points MVP
    2023-05-07T14:45:01.5233333+00:00

    Just add two separate vSwitches one connected to each network (10.0.0.x, and 192.162.0.x)

    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

    https://blogs.technet.microsoft.com/jhoward/2008/06/17/hyper-v-what-are-the-uses-for-different-types-of-virtual-networks/

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

    0 comments No comments

0 additional answers

Sort by: Most helpful