Assigning IP to hyper V

Local711owner 21 Reputation points
2021-08-09T23:16:32.797+00:00

Hit I have hyperv installed with suse linux on my windows 10 server how could I assign an ip for this vm, and how can I SSH to this VM from my windows 10 where hyper V is running, using putty.

And when I assign the IP will I be able to use the internet as that is the main issue

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

Accepted answer
  1. Anonymous
    2021-08-09T23:34:40.757+00:00

    As to assigning the ip address you do this within the guest operating system exactly the same as if it were installed on a physical machine. You can create an external vSwitch and connect the VM to it. If there were a DHCP server on that network then the guest could get an address assigned that way as well.

    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.

    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--

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most 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.