External virtual switch windows server 2019

Trade94 21 Reputation points
2022-11-20T22:38:04.65+00:00

Hello,
I have a dell server that i want to install for my company. I have the main server as a hyper-v and 2 VM, file server and WSUS. This server is going to be part of a domain wich is not connected to internet.
I have done the configuration so far, i have created an external SW and with another computer and a physical SW tried to ping all of them. Ping is working between my server and the other PC, but not with the 2 VM.
I have IPs in the dame class for everyone.
Do i have to assign an ip from the same class to the virtual sw?
Is the virtual sw ip the gateway for VM?
Any ideea?

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2022-11-20T22:56:58.457+00:00

    Do i have to assign an ip from the same class to the virtual sw?

    Assign addresses based on the network the external vSwitch is plugged into

    Is the virtual sw ip the gateway for VM?

    Not exactly. 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

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

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Trade94 21 Reputation points
    2022-11-20T23:00:37.07+00:00

    Hello,
    Do i need a router to work, or a physical sw is enough?


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.