{"id":12582,"date":"2012-05-25T09:00:00","date_gmt":"2012-05-25T08:00:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=12582"},"modified":"2012-05-25T09:00:00","modified_gmt":"2012-05-25T08:00:00","slug":"windows-server-2012-hyper-v-the-hyper-v-extensible-switch","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=12582","title":{"rendered":"Windows Server 2012 Hyper-V &#038; The Hyper-V Extensible Switch"},"content":{"rendered":"<p>Before we looks at this new networking feature of W2012 Hyper-V, lets look at what we have been using in Windows Server 2008\/R2.&#160; Right now, if you create a VM, you give it one or more virtual network cards (vNICs).&#160; Each vNIC is connected to a virtual network (basically a virtual unmanaged switch) and each switch is connected to one physical NIC (pNIC) or NIC team in the host.&#160; Time for a visual:<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2012\/05\/image8.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2012\/05\/image_thumb8.png\" width=\"241\" height=\"244\" \/><\/a><\/p>\n<p>Think about a typical physical rack server for a moment.&#160; When you connect it to a switch the port is a property of the switch, right?&#160; You can configure properties for that switch port like QoS, VLANs, etc.&#160; But if you move that server to another location, you need to configure a new switch port.&#160; That\u2019s messy and time consuming.<\/p>\n<p>In the above example, there is a switch port.&#160; But Microsoft anticipated the VM mobility issue and port configuration.&#160; Instead of the port being a property of the virtual network, it\u2019s actually a property of the VM.&#160; Move the VM, you move the port, and you move the port settings.&#160; That\u2019s clever; configure the switch port once and now it\u2019s a matter of \u201cwhere do you want your workload to run today?\u201d with no configuration issues.<\/p>\n<p>OK, now let\u2019s do a few things:<\/p>\n<ul>\n<li>Stop calling it a virtual network and now call it a virtual switch.<\/li>\n<li>Now you have a manageable layer 2 network device.<\/li>\n<li>Introduce lots of new features for configuring ports and doing troubleshooting.<\/li>\n<li>Add certified 3rd-party extensibility.<\/li>\n<\/ul>\n<p>We have different kinds of Virtual Switch like we did before:<\/p>\n<ul>\n<li>External \u2013 connected to a pNIC or NIC team in the host to allow VM comms on the physical network.<\/li>\n<li>Internal \u2013 Allows VMs to talk to each other on the virtual switch and with the host parent partition.<\/li>\n<li>Private \u2013 An isolated network where VMs can talk to each other on the same virtual switch.<\/li>\n<\/ul>\n<p>Although I\u2019m focusing on the converged fabric side of things at the moment, the extensibility is significant.&#160; Companies like Cisco, NEC, Five9, and others have announced how they are adding functionality.&#160; NEC are adding their switch technology, Five9 are adding a virtual firewall, and Cisco have SR-IOV functionality and a Cisco Nexus 1000v that pretty much turns the Hyper-V Switch into a Cisco switch with all the manageability from their console.&#160; The subject of extensibility is a whole other set of posts.<\/p>\n<p>With a virtual switch I can do something as basic as this:<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2012\/05\/image9.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2012\/05\/image_thumb9.png\" width=\"242\" height=\"244\" \/><\/a><\/p>\n<p>It should look kind of familiar <img decoding=\"async\" style=\"border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none\" class=\"wlEmoticon wlEmoticon-smile\" alt=\"Smile\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2012\/05\/wlEmoticon-smile8.png\" \/>&#160; I\u2019ve already posted about NIC teaming in Windows Server 2012.&#160; Let\u2019s add a team!<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2012\/05\/image10.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2012\/05\/image_thumb10.png\" width=\"244\" height=\"242\" \/><\/a><\/p>\n<p>With the above configuration, the VMs are now connected to both the NICs in the host.&#160; If one NIC dies, the team fails over and the VMs talk through the other NIC.&#160; Depending on you load distribution setting, your VMs may even use the aggregation of the bandwidth, e.g. 2 * 10 GbE to get 20 Gbps of bandwidth.&#160; <\/p>\n<p>With NIC teaming, we have converged two NICs and used a single pipe for VM communications.&#160; We haven\u2019t converged any fabrics just yet.&#160; There\u2019s a lot more stuff with policies and connections that we can do with the Virtual Switch.&#160; There will be more posts on those topics soon, helping us get to the point where we can look at converging fabrics.<\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:cfa25ad6-435a-4a88-a52c-13670700f364\" class=\"wlWriterEditableSmartContent\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Networking\" rel=\"tag\">Networking<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Virtualisation\" rel=\"tag\">Virtualisation<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Hyper-V\" rel=\"tag\">Hyper-V<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Windows+Server+2012\" rel=\"tag\">Windows Server 2012<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Before we looks at this new networking feature of W2012 Hyper-V, lets look at what we have been using in Windows Server 2008\/R2.&#160; Right now, if you create a VM, you give it one or more virtual network cards (vNICs).&#160; Each vNIC is connected to a virtual network (basically a virtual unmanaged switch) and each &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=12582\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Windows Server 2012 Hyper-V &#038; The Hyper-V Extensible Switch&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","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":[181,80,195,118],"class_list":["post-12582","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-hyper-v","tag-networking","tag-virtualisation","tag-windows-server-2012"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/12582","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=12582"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/12582\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}