{"id":65814,"date":"2024-09-17T18:13:58","date_gmt":"2024-09-17T17:13:58","guid":{"rendered":"https:\/\/ekiwi-blog.de\/65814\/hyper-v-set-up-local-network-between-host-and-guest\/"},"modified":"2024-09-17T18:13:58","modified_gmt":"2024-09-17T17:13:58","slug":"hyper-v-set-up-local-network-between-host-and-guest","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/65814\/hyper-v-set-up-local-network-between-host-and-guest\/","title":{"rendered":"Hyper-V: Set up local network between host and guest"},"content":{"rendered":"<p>Network connection between host and guest with Hyper-V.<\/p>\n<p><!--more--><\/p>\n<p>For data exchange and remote debugging: Network connection between host and guest. In the first step, we open the manager for virtual switches.<\/p>\n<p><a href=\"https:\/\/ekiwi-blog.de\/?attachment_id=65787\" rel=\"attachment wp-att-65787\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_1.png\" alt=\"\" width=\"363\" height=\"325\" class=\"aligncenter size-full wp-image-65787\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_1.png 363w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_1-300x269.png 300w\" sizes=\"auto, (max-width: 363px) 100vw, 363px\" \/><\/a><\/p>\n<p>Here we create a new switch and select &#8220;Internal network&#8221;.<\/p>\n<p><a href=\"https:\/\/ekiwi-blog.de\/?attachment_id=65791\" rel=\"attachment wp-att-65791\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_2.png\" alt=\"\" width=\"732\" height=\"693\" class=\"aligncenter size-full wp-image-65791\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_2.png 732w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_2-300x284.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/a><\/p>\n<p>We now select this switch in the virtual machine settings.<\/p>\n<p><a href=\"https:\/\/ekiwi-blog.de\/?attachment_id=65795\" rel=\"attachment wp-att-65795\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_3.png\" alt=\"\" width=\"673\" height=\"442\" class=\"aligncenter size-full wp-image-65795\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_3.png 673w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_3-300x197.png 300w\" sizes=\"auto, (max-width: 673px) 100vw, 673px\" \/><\/a><\/p>\n<p>We then find the new connection in the network connections.<\/p>\n<p><a href=\"https:\/\/ekiwi-blog.de\/?attachment_id=65799\" rel=\"attachment wp-att-65799\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_4.png\" alt=\"\" width=\"819\" height=\"377\" class=\"aligncenter size-full wp-image-65799\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_4.png 819w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_4-300x138.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_4-768x354.png 768w\" sizes=\"auto, (max-width: 819px) 100vw, 819px\" \/><\/a><\/p>\n<p>We assign an IP address for the host and repeat this for the guest. There should only be one network card here.<\/p>\n<p><a href=\"https:\/\/ekiwi-blog.de\/?attachment_id=65803\" rel=\"attachment wp-att-65803\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_5.png\" alt=\"\" width=\"400\" height=\"455\" class=\"aligncenter size-full wp-image-65803\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_5.png 400w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_5-264x300.png 264w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>Both computers should then be able to connect to each other. If things like the ping do not work, this must be activated in the firewall settings. Alternatively, the firewall can also be deactivated, whereby you must check which profile is currently active.<\/p>\n<p><a href=\"https:\/\/ekiwi-blog.de\/?attachment_id=65807\" rel=\"attachment wp-att-65807\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_6.png\" alt=\"\" width=\"1254\" height=\"484\" class=\"aligncenter size-full wp-image-65807\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_6.png 1254w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_6-300x116.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_6-1024x395.png 1024w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2024\/09\/hyper_6-768x296.png 768w\" sizes=\"auto, (max-width: 1254px) 100vw, 1254px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Network connection between host and guest with Hyper-V.<\/p>\n","protected":false},"author":1,"featured_media":8064,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[2072,1598,1559,1558],"class_list":["post-65814","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-hyper-v-en","tag-network","tag-tutorial-en","tag-windows-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/65814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=65814"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/65814\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/8064"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=65814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=65814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=65814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}