{"id":14727,"date":"2013-06-04T23:00:57","date_gmt":"2013-06-04T22:00:57","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=14727"},"modified":"2013-06-04T23:00:57","modified_gmt":"2013-06-04T22:00:57","slug":"teched-2013-how-to-design-configure-networking-in-vmm-part-2","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=14727","title":{"rendered":"TechEd 2013: How To Design &#038; Configure Networking In VMM (Part 2)"},"content":{"rendered":"<p>Speaker: Greg Cusanza, Senior PM, MSFT (VMM) and Charlie Wen, PM (Windows).<\/p>\n<p>This is a follow up to <a href=\"https:\/\/aidanfinn.com\/?p=14694\" target=\"_blank\">part 1<\/a>.<\/p>\n<p>Objective of this session: bring WS2012 R2, System Center 2012 R2 and Windows Azure together using hybrid networking.<\/p>\n<p><strong><u>Hybrid Network<\/u><\/strong><\/p>\n<p>Tenant thinks they have their own network, but it\u2019s an abstracted network on hosting environment.&#160; Can link to Internet and extend clients\u2019 on-premise network into hosting network.&#160; There is routing between the client network and the tenant network.<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture027.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"picture027\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto\" border=\"0\" alt=\"picture027\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture027_thumb.jpg\" width=\"504\" height=\"285\" \/><\/a><\/p>\n<p>Can route between client site A, through client site B, to tenant network if Site A to tenant network link is down.<\/p>\n<p>There is in-box capability for the gateway in WS2012 R2.<\/p>\n<p><strong><u>Hybrid Networking in WS2012 and SysCtr 2012 SP1<\/u><\/strong><\/p>\n<ul>\n<li>WS 2012 R2 adds HNV, RRAS, and IPAM<\/li>\n<li>SC2012 SP1 \u2013 VM networks with single VPN.<\/li>\n<li>3rd party gateways: F5 (software solution out now), Huawei, IronNetworks<\/li>\n<li>Introduced Windows Azure Services for Windows Server (Katal, vNext to be Windows Azure Pack).&#160; Not a hybrid solution.<\/li>\n<\/ul>\n<p>F5 solution is Windows Server based at the moment.&#160; They are working on a hardware solution.<\/p>\n<p><strong><u>Benefits of Hybrid Networking<\/u><\/strong><\/p>\n<ul>\n<li>For hoster, internal IT, or enterprise customer.&#160; <\/li>\n<li>Must be cost effective<\/li>\n<li>Capex cost per tenant must be low.&#160; Multi-tenancy.<\/li>\n<li>Gateways must be highly available \u2013 using clustering in WS2012 R2 gateway<\/li>\n<li>Must support self-service<\/li>\n<li>Enterprises: must be able to extend on-premise network.&#160; Establish contract for average throughput for each connection.&#160; Easily provision and configure site-site connection on the hoster side<\/li>\n<\/ul>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture029.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"picture029\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto\" border=\"0\" alt=\"picture029\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture029_thumb.jpg\" width=\"504\" height=\"285\" \/><\/a><\/p>\n<p><strong><u>Network Fabrication Configuration<\/u><\/strong><\/p>\n<ul>\n<li>Enabling network virtualization: WS2012 R2 no longer requires NV filter enablement<\/li>\n<li>Configuring provider address space: must have static IP pool.&#160; Must enable network virtualisation on logical network for provider addresses.<\/li>\n<li>If mixing 2012 and 2012 R2 hosts, must have <a href=\"https:\/\/aidanfinn.com\/?p=14075\" target=\"_blank\">KB2779768<\/a> on 2012 hosts<\/li>\n<\/ul>\n<p><strong><u>Demo<\/u><\/strong><\/p>\n<p>Checked the Allow New VM Networks Created On This Logical &#8230;. in the settings of the tenant Logical Network \u2013 different tenant network than before \u2013 no VLAN stuff.<\/p>\n<p><strong><u>Enabling Hybrid Connectivity<\/u><\/strong><\/p>\n<ul>\n<li>you need a gateway<\/li>\n<li>3rd party gateways do exist<\/li>\n<li>WS2012 R2 gateway will do for many customers.&#160; 3rd party solutions will probably offer extra features.<\/li>\n<\/ul>\n<p>Charlie Wen (Mr. QoS in WS2012) comes on stage to talk about the WS gateway.<\/p>\n<p><strong><u>WS2012 Hybrid Connectivity<\/u><\/strong><\/p>\n<p>Limitations:<\/p>\n<ul>\n<li>1 VM per tenant<\/li>\n<li>Static routing required on each tenant site<\/li>\n<li>Manual provisioning<\/li>\n<li>Internet connectivity back to remote site \u2013 no NAT for direct connectivity to VM networks.<\/li>\n<\/ul>\n<p align=\"center\"><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture030.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"picture030\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"picture030\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture030_thumb.jpg\" width=\"504\" height=\"285\" \/><\/a><\/p>\n<p><strong><u>WS2012 R2<\/u><\/strong><\/p>\n<ul>\n<li>Multi-tenant solution that requires far fewer VMs as gateways<\/li>\n<li>Clustering for HA \u2013 this is an SLA business<\/li>\n<li>BGP routing for dyanmic routing<\/li>\n<li>Multitenant NAT for direct Internet connectivity<\/li>\n<\/ul>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture031.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"picture031\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto\" border=\"0\" alt=\"picture031\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture031_thumb.jpg\" width=\"504\" height=\"285\" \/><\/a><\/p>\n<p><strong><u>Demo<\/u><\/strong><\/p>\n<p>Shows NAT in action on the gateway.&#160; Client connects to VM in VM network using IE and public IP address.&#160; Does it twice and does 2 downloads (long and still running).&#160; Uses Get-NetCompartment to view tenant networks.&#160; Moves the gateway role from one WS2012 r2 cluster member to another and it\u2019s done in the blink of an eye.&#160; The downloads do not get interrupted because the proactive failover of the gateway resource happens so quickly.&#160; Good for maintenance.<\/p>\n<p><strong><u>Private Cloud with WS2012 R2<\/u><\/strong><\/p>\n<ul>\n<li>You could use HNV for lab, test networks, dev networks<\/li>\n<li>Most services still on the physical network, e.g. AD, DNS, etc.&#160; <\/li>\n<li>That means the labs are isolated.&#160; You can give connectivity with a forwarding gateway.<\/li>\n<li>You can extend into a 3rd party site by connecting the forwarding gateway to the edge router.<\/li>\n<\/ul>\n<p><strong><u>Multi-tenant networking stack<\/u><\/strong><\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture034.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"picture034\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto\" border=\"0\" alt=\"picture034\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture034_thumb.jpg\" width=\"504\" height=\"285\" \/><\/a><\/p>\n<p><strong><u>Multi-tenant Site-to-Site<\/u><\/strong><\/p>\n<p>On boarding: create new tenant with a compartment in the gateway&#160; Incoming packets go into a default compartment.&#160; Packet is inspected, and sent to the correct tenant compartment, and onwards to the VM network.<\/p>\n<p>Outbound packet, from the VM network, to the tenant compartment.&#160; There is a routing table there and then it goes out to the right client on-premise site over the VPN.<\/p>\n<p><strong><u>Multi-tenant NAT<\/u><\/strong><\/p>\n<p>Each tenant compartment needs a unique IP.<\/p>\n<p>Outbound packet into tenant compartment from VM network, then NATed before going out to the net.<\/p>\n<p>For inbound packet, it comes into the gateway.&#160; A NAT mapping sends it to the correct client compartment, and onwards to the VM network.<\/p>\n<p><strong><u>BGP Dynamic Route learning and Best Path Selection<\/u><\/strong><\/p>\n<p>BGP will select the best route.&#160; Say the Site 1 \u2013 hoster link goes down.&#160; BGP will auto re-route to hoster via site 2.<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture036.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"picture036\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto\" border=\"0\" alt=\"picture036\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture036_thumb.jpg\" width=\"504\" height=\"285\" \/><\/a><\/p>\n<p><strong><u>Guest Clustering for HA<\/u><\/strong><\/p>\n<ul>\n<li>A 1:1 redundant (active\/passive) cluster is created from the VMM service template when deploying the WS2012 R2 gateway<\/li>\n<li>Failure is detected immediately<\/li>\n<li>Site-site tunnels are reconnected on the new active node<\/li>\n<li>So quick that end-end TCP connections do not time out<\/li>\n<\/ul>\n<p>Back to Greg and SCVMM &#8230;<\/p>\n<p><strong><u>Provisioning from VMM<\/u><\/strong><\/p>\n<ol>\n<li>Build a host\/cluster \u2013 this host\/cluster is dedicated for the gateway VMs.&#160; DEDICATED.&#160; They are edge network, \u201cuntrusted\u201d hosts.&#160; VMM agent uses certificates.<\/li>\n<li>Deploy gateway VMs from the service template<\/li>\n<li>Add gateway to VMM<\/li>\n<li>Finalize the gateway configuration<\/li>\n<\/ol>\n<p>Post-preview functionality configured from SCVMM, ie not in the preview and will be in RTM:<\/p>\n<ul>\n<li>HA<\/li>\n<li>Forwarding gateway for private cloud<\/li>\n<\/ul>\n<p><strong><u>Demo<\/u><\/strong><\/p>\n<p>Has the service template and deploys it to the untrusted host.<\/p>\n<p><a href=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture037.jpg\"><img loading=\"lazy\" decoding=\"async\" title=\"picture037\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto\" border=\"0\" alt=\"picture037\" src=\"https:\/\/aidanfinn.com\/wp-content\/uploads\/2013\/06\/picture037_thumb.jpg\" width=\"504\" height=\"285\" \/><\/a><\/p>\n<p>Has one already baked, and shows the service in his cloud view.&#160; The host was marked as a HNV host: get-scvmmhost &lt;hostname&gt; \u2026 IsDedicatedToWnvGateway is set to true.&#160; Set-SCVMMHost \u2013IsDedicatedToWnvGateway $true &lt;hostname&gt;.<\/p>\n<p>Adds a Network Service in Fabric-Networking.&#160; Selects RunAs account.&#160; Sets a network service connection string.&#160; Reviews the certificates.&#160; Tests the provider before existing the wizard.&#160; And then selects a host group \u2013 e.g. dedicate the gateway to a rack of servers.&#160; Configures the front end and back end NICs: selects NICs and network sites for each of the two.&#160; Done.&#160; The g\/w is added \u2026 but it takes a minute or so to set up the compartments \u2026. watch out for that!<\/p>\n<p>Goes into VM Newtorks.&#160; Creates a new VM Network in the tenant logical network.&#160; Enables HNV.&#160; Sets the VM subnet.&#160; Connects the VPN tunnel, with BGP.&#160; Enables NAT.&#160; Selects an IP Pool for the NAT connection.&#160; Can add inbound access rules for specific ports, e.g. send inbound TCP 80 to 10.0.0.2 port 80.&#160; That configures the compartment in the g\/w.&#160; Adds an IP pool to the HNV gateway.&#160; <\/p>\n<p>Done!&#160; Now you can add VMs to the VM Network and they can talk through the gateway, e.g. talk to an external network.<\/p>\n<p>No configuration done in the gateway VMs or on the HNV hosts.<\/p>\n<p><strong><u>Enabling Tenant Self-Service<\/u><\/strong><\/p>\n<p>Using Windows Azure Services for Windows Server:<\/p>\n<ul>\n<li>Tenants creat their own networks<\/li>\n<li>Consistent experience with Windows Azure<\/li>\n<li>Configuration of topology and BGP<\/li>\n<li>Reporting and chargeback<\/li>\n<\/ul>\n<p>SPF provides REST API to enable hosters and private cloud providers to build their own portal if they want.<\/p>\n<p>The client configures a VM network and VPN tunnel on the hoster portal.&#160; That configures VMM and the gateway for the tenant.&#160; The tenant must then configure their own VPN endpoint to complete the tunnel.<\/p>\n<p><strong><u>Demo of tenant self-service<\/u><\/strong><\/p>\n<p>Logs into the portal as a tenant.&#160; Creates a new virtual network.&#160; Selects IPv4.&#160; Specifies DNS, and chooses to enable NAT and VPN.&#160; Enter his tenant VPN endpoint info and enables BGP.&#160; Adds an address space for the VM network.&#160; Names the site-site VPN, enters the pre-shared key, and the address space for BGP to do initial routing for dynamic discovery.<\/p>\n<p>Note: it is IBGP.&#160; Add the BGP peers and ASN info.&#160; Check the wizard and done.<\/p>\n<p>Outbound NAT is enabled.&#160; Inbound requires configuration.&#160; Hosters can supply VPN configuration scripts that the tenant can download from the portal.&#160; <\/p>\n<p>Creates a new NAT rule for a web server.&#160; Nice bit: can choose an already selected VM rather than entering an IP address.<\/p>\n<p>And that\u2019s that!<\/p>\n<div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:14ce5afc-35ae-41d5-8ad1-a09b818699d6\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/System+Center\" rel=\"tag\">System Center<\/a>,<a href=\"http:\/\/technorati.com\/tags\/VMM\" rel=\"tag\">VMM<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Networking\" rel=\"tag\">Networking<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Hyper-V\" rel=\"tag\">Hyper-V<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Virtualisation\" rel=\"tag\">Virtualisation<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Cloud\" rel=\"tag\">Cloud<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Speaker: Greg Cusanza, Senior PM, MSFT (VMM) and Charlie Wen, PM (Windows). This is a follow up to part 1. Objective of this session: bring WS2012 R2, System Center 2012 R2 and Windows Azure together using hybrid networking. Hybrid Network Tenant thinks they have their own network, but it\u2019s an abstracted network on hosting environment.&#160; &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=14727\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;TechEd 2013: How To Design &#038; Configure Networking In VMM (Part 2)&#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":[14],"tags":[172,181,80,193,195,196],"class_list":["post-14727","post","type-post","status-publish","format-standard","hentry","category-eventnotes","tag-cloud","tag-hyper-v","tag-networking","tag-system-center","tag-virtualisation","tag-vmm"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/14727","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=14727"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/14727\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14727"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}