{"id":9071,"date":"2008-06-11T16:25:00","date_gmt":"1999-11-29T20:00:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=9071"},"modified":"2008-06-11T16:25:00","modified_gmt":"1999-11-29T20:00:00","slug":"hyper-v-and-vlans","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=9071","title":{"rendered":"Hyper-V and VLAN&#8217;s"},"content":{"rendered":"<p>Following up on my recent posts on Hyper-V, I thought I&#8217;d write up a quick post on setting up multiple VLAN&#8217;s in Hyper-V.\u00a0 In my research I found these posts:<\/p>\n<ul>\n<li><a href=\"http:\/\/blogs.msdn.com\/virtual_pc_guy\/archive\/2008\/01\/08\/understanding-networking-with-hyper-v.aspx\" target=\"_blank\">Understanding Hyper-V Networking<\/a>\n<\/li>\n<li><a href=\"http:\/\/blogs.msdn.com\/virtual_pc_guy\/archive\/2008\/03\/10\/vlan-settings-and-hyper-v.aspx\" target=\"_blank\">Hyper-V VLAN Tagging<\/a><\/li>\n<\/ul>\n<p>They pretty much say everything that&#8217;s needed so you don&#8217;t need any whitepapers from me &#8211; I&#8217;m sure you&#8217;re glad to hear!\n<\/p>\n<p>The concept is that you create a trunk on any physical switch ports that are connected to your VM&#8217;s.\u00a0 You then publish the required VLAN&#8217;s to that trunk (forgive me &#8211; I&#8217;m not a Cisco guy; I just ask a local expert for what I want and he does a great job in doing it).\u00a0 You can then VLAN tag either your virtual network in Hyper-V (if everything on that network, i.e. on that physical NIC, should be in the VLAN) or you assign VLAN tags to the VM&#8217;s.\n<\/p>\n<p>This is quite secure.\u00a0 You&#8217;re pretty much doing what you do in VMware ESX.\u00a0 The machines with different VLAN tags cannot talk directly to each other without going through either a router or a firewall that connect the VLAN&#8217;s.\u00a0 The VM&#8217;s can co-exist on a VLAN with physical hosts.\n<\/p>\n<p>The thing you&#8217;ve got to watch out for is that the NIC associated with the virtual switch must support VLAN&#8217;s and accept packets with VLAN tags.\n<\/p>\n<p><em>Credit: <a href=\"http:\/\/blogs.msdn.com\/virtual_pc_guy\/\" target=\"_blank\">Virtual PC Guy.<\/a><\/em>\n<\/p>\n<p>BTW: I highly recommend that blog because it&#8217;s full of great information and sample VBS\/Powershell scripts.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following up on my recent posts on Hyper-V, I thought I&#8217;d write up a quick post on setting up multiple VLAN&#8217;s in Hyper-V.\u00a0 In my research I found these posts: Understanding Hyper-V Networking Hyper-V VLAN Tagging They pretty much say everything that&#8217;s needed so you don&#8217;t need any whitepapers from me &#8211; I&#8217;m sure you&#8217;re &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=9071\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Hyper-V and VLAN&#8217;s&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[20],"tags":[],"class_list":["post-9071","post","type-post","status-publish","format-standard","hentry","category-hyper-v"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9071"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9071\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}