Last updated by at .

  • What's new in Hyper-V 2016
  • Microsoft Azure

Category: Web

Hyper-V NAT Switch

Set up a Hyper-V Virtual Switch using a NAT Network

A couple of months ago I wrote a blog post about how you can create a new Hyper-V NAT Switch. Now this worked fine in some early Windows 10 builds, but Microsoft removed the parameter for the NAT Switch in some Windows 10 Insider builds. Today Sarah Cooley PM at the Microsoft Hyper-V team, documented how you can do this using newer Windows 10 builds.

Requirements:

  • Windows 10 and Windows Server 2016 build 14295 or later
  • Enabled Hyper-V role
  • PowerShell, since this setting is not available in the UI right now

Hyper-V NAT Switch

Create a new Hyper-V Virtual Switch

Configure the NAT Gateway IP Address

This configures the Virtual Network Adapter which was created while creating the Internal Virtual Hyper-V Switch.

Now you can configure the NAT rule

After that you have finally created your NAT network and you can now use that network to connect your virtual machines and use IP Address from 172.21.21.2-172.21.21.254.

Hyper-V Virtual Switch NAT Configuration

Create a new NAT forwarding

To forward specific ports from the Host to the guest VMs you can use the following commands.

This example creates a mapping between port 80 of the host to port 80 of a Virtual Machine with an IP address of 172.21.21.2.

[PowerShell]

Add-NetNatStaticMapping -NatName “VMSwitchNat” -Protocol TCP -ExternalIPAddress 0.0.0.0 -InternalIPAddress 172.21.21.2 -InternalPort 80 -ExternalPort 80

[PowerShell]

This example creates a mapping between port 82 of the Virtual Machine host to port 80 of a Virtual Machine with an IP address of 172.21.21.3.

[PowerShell]

Add-NetNatStaticMapping -NatName “VMSwitchNat” -Protocol TCP -ExternalIPAddress 0.0.0.0 -InternalIPAddress 172.16.0.3 -InternalPort 80 -ExternalPort 82

[PowerShell]

This also works with Windows and Hyper-V Containers.

 

 

 



MMS Midwest Management Summit

Speaking at the Midwest Management Summit 2016 – Interview

Last year at the  Midwest Management Summit 2015 (MMS 2015) I had the chance to speak the second time at this event. In 2016 I am proud to announce that I will speak at the Midwest Management Summit 2016. This is the thired time I will speak at MMS, and together with Miike Ressler from Veeam Software I will speak about what’s new in Hyper-V 2016 and Nano Server.

The Midwest Management Summit is a 3-day conference purposely capped to just 600 attendees so that nobody gets lost in the crowd. Speakers have time to meet and talk to you. No rushing people out of a session to get the next speaker going. Time to absorb what you see and talk it over with speakers and other attendees. A true learning experience. Real networking. Real-life issues discussed.

This week I had the honor to speak with Lee Berg about my upcoming sessions at MMS 2016, where I will talk about Hyper-V, Nano Server, Containers and a lot of other great stuff.

The Midwest Management Summit 2016 will be held from 17-19. May in the Mall of America.

MMS 2015

Nano Server - The Future of Windows Server

Nano Server is the future of Windows Server. With Nano Server Microsoft created the foundation for Windows Server for the next 20 year. In this session you will get an overview about Nano Server and see some great live demos how you can deploy, manage and operate Nano Server.

What's new in Windows Server 2016 Hyper-V

With the next version of Microsoft hypervisor Microsoft released some great new features for your Cloud infrastructure. Come to this session to get the details of all the new stuff that is in Hyper-V and learn about how you can play with it “hands-on.” This session includes also the latest updates from the Technical Previews.

Nano Server and Containers better together!

With Windows Server 2016 Microsoft build the future for Windows Server. With Nano Server and Containers Microsoft created the concept of a cloud ready operating system. In this session you will get an overview about Nano Server and Containers.

Here the intervie

 



Microsoft Network 5 Conference

Speaking at Microsoft NetWork 6 in Neum, Bosnia Herzegovina

Today I am proud to announce that I will speak at the Microsoft NetWork 6 conference in Bosnia. The Microsoft NetWork 6 conference will take place from April 18-20 in Neum, Bosnia. I will present two sessions:

Nano Server and Containers better together!

Have a look at the latest Cloud Technologies from Microsoft. Learn about the next Microsoft Cloud Platform Server called Nano Server and Windows Containers. Both solutions are built for the future and will fundamentally change how we do IT. Learn why we need Nano Server and Windows Containers and how we deploy, manage and operate them.

What’s new in Windows Server 2016 Hyper-V

With the next version of Microsoft hypervisor Microsoft released some great new features for your Cloud infrastructure. Come to this session to get the details of all the new stuff that is in Hyper-V and learn about how you can play with it “hands-on.” This session includes also the latest updates from the Technical Previews.

Check out the event page for more information:

Microsoft NetWork 6

Microsoft NetWork 6 Neum, Bosnia 18-20 April



VCNRW – Virtualization Community NRW

Speaking at VCNRW – Virtualization Community NRW in Cologne

Today I am proud to announce that I have the chance to present at the VCNRW – Virtualization Community NRW in Cologne Microsoft Office. The Virtualization Community NRW is a open community which focusses SBC, VDI, Citrix, Microsoft, VMware, XenApp, XenDesktop, Horizon View in NRW Germany. The event will take place at the 20th April in the Microsoft office Cologne.

In my session I will talk about some topics from Windows Server 2016 like Nano Server and Containers.

Check out the event page and join the fun, there will be a lot of community leaders and speakers to talk about the latest and greatest topics in the Virtualization community.

VCNRW

Check out the event page



Veeam Vanguard

Veeam Vanguard 2016

Today I had some great news in my inbox. I got awarded with my second Veeam Vanguard award in a row. I was one of the first Veeam Vanguards in 2015 and now I am proud to receive the Veeam Vanguard Award for 2016.

A Veeam Vanguard represents the Veeam brand to the highest level in many of the different technology communities in which Veeam engages. These individuals are chosen for their acumen, engagement and style in their activities on and offline.

Veeam Vanguard 2015



PowerShell SSH Session

Using SSH with PowerShell

Microsoft announced that they will support SSH using PowerShell in Windows 10. Until now Microsoft has a good solution for this, there is a third party solutions called Posh-SSH. To use SSH in PowerShell you first have to install the Posh-SSH PowerShell Module from the PowerShell Gallery. Make sure you are running Windows 10 or you have the Windows Management Framework 5 installed.

You can now find the Posh-SSH Module and install it:

PowerShell SSH Installation

You now have several PowerShell SSH cmdlets available:

PowerShell SSH cmdlets

Now you can create a new SSH Session using the following cmdlet (Password based authentication)

PowerShell SSH Session

You can now simply run commands against this session or use SCP to copy files.

PowerShell SSH Commands

 



Cloud ând Datacenter Conference Germany

Speaking at Cloud & Datacenter Conference Germany 2016

I am happy to announce that I am one of the speakers at the Cloud & Datacenter Conference Germany 2016. The Cloud & Datacenter Conference Germany will be held in Düsseldorf Germany 12.05.2016. The CDC Germany will be focusing on Microsoft Technology and will have 5 tracks full of great Microsoft Cloud and Datacenter content with speakers from all over the world.

In my session I will cover the latest about Windows Server and Hyper-V Containers, how they work, how you can manage them and much more…

Cloud & Datacenter Conference Germany

Get more information about the Cloud & Datacenter Conference Germany.

Speakers