{"id":3213,"date":"2020-06-11T12:40:10","date_gmt":"2020-06-11T07:10:10","guid":{"rendered":"https:\/\/www.24x7serversupport.com\/blog\/?p=3213"},"modified":"2020-06-11T12:40:17","modified_gmt":"2020-06-11T07:10:17","slug":"assign-public-ip-on-virtual-machines-from-hyper-v-windows-server","status":"publish","type":"post","link":"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/","title":{"rendered":"Assign public IP On virtual machines from Hyper-V Windows Server"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Create Virtual Switch on Main Server Hyper-V<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Get All IP Configurations on the main server by running <strong>IPconfig\/ALL\u00a0<\/strong>command.<\/li><li>In the Hyper-V Manager <strong>Create New Virtual Switch<\/strong>.<\/li><li>Set Connection Type to <strong>External<\/strong>.<\/li><li>Select the Adapter Associated with your server\u2019s IP.<\/li><li>Check <strong>Allow Management OS to share this network Adapter<\/strong>.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Add Virtual MAC address of the VM on Hyper-V<\/h2>\n\n\n\n<p>Now you can change the settings of the VM that hosted on your server by adding the MAC address of the Fail-Over IP, \u201c<strong>Please Note that the VM server status should be shutdown<\/strong>\u201c.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Select the VM Server that you want to edit.<\/li><li>Click VM Settings to edit Virtual Machine Properties.<\/li><li>Expand the network Adapter of the VM and click <strong>Advance Features<\/strong>.<\/li><li>Change the MAC address to \u201c<strong>Static<\/strong>\u201d and enter the fail-over virtual MAC address .<\/li><li>Press <strong>OK<\/strong> to apply the changes.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Configure the Network Adapter inside the VM \u201cWindows Server\u201d<\/h2>\n\n\n\n<p>Now we start configuring the VM network adapter to assign the IP and Gateway and DNS Server<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Start the VM and login as administrator.<\/li><li>From <strong>Control Panel<\/strong> > <strong>Network and Share Center<\/strong>.<\/li><li>Click on <strong>Eithernet<\/strong> Link connections.<\/li><li>Click the properties to view <strong>Eithernet properties<\/strong>.<\/li><li>Select <strong>Internet Protocol Version 4 (TCP\/IPv4)<\/strong>.<\/li><li>Click on Properties button to show IPv4 Properties as bellow.<\/li><li>Then From the IPv4 Properties select <strong>Use the following IP address<\/strong>.<\/li><li>Add the IP and subnet details.<\/li><li>Reboot the VM server to let the changes get affected<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Create Virtual Switch on Main Server Hyper-V Get All IP Configurations on the main server by running IPconfig\/ALL\u00a0command. In the Hyper-V Manager Create New Virtual Switch. Set Connection Type to External. Select the Adapter Associated with your server\u2019s IP. Check Allow Management OS to share this network Adapter. Add Virtual MAC address of the VM [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[1],"tags":[],"class_list":["post-3213","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Assign public IP On virtual machines from Hyper-V Windows Server | 24x7serversupport Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Assign public IP On virtual machines from Hyper-V Windows Server | 24x7serversupport Blog\" \/>\n<meta property=\"og:description\" content=\"Create Virtual Switch on Main Server Hyper-V Get All IP Configurations on the main server by running IPconfig\/ALL\u00a0command. In the Hyper-V Manager Create New Virtual Switch. Set Connection Type to External. Select the Adapter Associated with your server\u2019s IP. Check Allow Management OS to share this network Adapter. Add Virtual MAC address of the VM [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7serversupport Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-11T07:10:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-11T07:10:17+00:00\" \/>\n<meta name=\"author\" content=\"24x7support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:site\" content=\"@24x7serversuppo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"24x7support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/\",\"name\":\"Assign public IP On virtual machines from Hyper-V Windows Server | 24x7serversupport Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\"},\"datePublished\":\"2020-06-11T07:10:10+00:00\",\"dateModified\":\"2020-06-11T07:10:17+00:00\",\"author\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.24x7serversupport.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Assign public IP On virtual machines from Hyper-V Windows Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#website\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/\",\"name\":\"24x7serversupport Blog\",\"description\":\"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401\",\"name\":\"24x7support\",\"url\":\"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Assign public IP On virtual machines from Hyper-V Windows Server | 24x7serversupport Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/","og_locale":"en_US","og_type":"article","og_title":"Assign public IP On virtual machines from Hyper-V Windows Server | 24x7serversupport Blog","og_description":"Create Virtual Switch on Main Server Hyper-V Get All IP Configurations on the main server by running IPconfig\/ALL\u00a0command. In the Hyper-V Manager Create New Virtual Switch. Set Connection Type to External. Select the Adapter Associated with your server\u2019s IP. Check Allow Management OS to share this network Adapter. Add Virtual MAC address of the VM [&hellip;]","og_url":"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/","og_site_name":"24x7serversupport Blog","article_published_time":"2020-06-11T07:10:10+00:00","article_modified_time":"2020-06-11T07:10:17+00:00","author":"24x7support","twitter_card":"summary_large_image","twitter_creator":"@24x7serversuppo","twitter_site":"@24x7serversuppo","twitter_misc":{"Written by":"24x7support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/","url":"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/","name":"Assign public IP On virtual machines from Hyper-V Windows Server | 24x7serversupport Blog","isPartOf":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#website"},"datePublished":"2020-06-11T07:10:10+00:00","dateModified":"2020-06-11T07:10:17+00:00","author":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401"},"breadcrumb":{"@id":"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7serversupport.com\/blog\/assign-public-ip-on-virtual-machines-from-hyper-v-windows-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7serversupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Assign public IP On virtual machines from Hyper-V Windows Server"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7serversupport.com\/blog\/#website","url":"https:\/\/www.24x7serversupport.com\/blog\/","name":"24x7serversupport Blog","description":"Linux | CPanel | WHM | webhosting| Plesk | DirectAdmin | CentOs | Debian | Ubuntu Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7serversupport.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.24x7serversupport.com\/blog\/#\/schema\/person\/decfb5fad6bde6ac6822d4e965c6d401","name":"24x7support","url":"https:\/\/www.24x7serversupport.com\/blog\/author\/24x7support\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/comments?post=3213"}],"version-history":[{"count":1,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3213\/revisions"}],"predecessor-version":[{"id":3214,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/posts\/3213\/revisions\/3214"}],"wp:attachment":[{"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/media?parent=3213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/categories?post=3213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serversupport.com\/blog\/wp-json\/wp\/v2\/tags?post=3213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}