About

I work at Microsoft as a Cloud Architect, helping our Service Provider partners use Microsoft Azure for their internal projects as well as building services for their customers.
You can currently find me in Frankfurt, or traveling around the world meeting customers and partners.
I love technology, gadgets, collecting and building LEGO, the sea, great Portuguese food and the greatest football team on earth, Benfica.

Latest Blog Post

17 Aug 2016 . tech . Configuring your Hyper-V virtual switch for Network Address Translation Comments

This is a reminder for future Ricardo, as it was the 2nd time I searched for the information. After this configuration, Virtual Machines connected to this virtual switch will be able to access the Internet (not only) connection of the host.

New-VMSwitch -SwitchName “SwitchName” -SwitchType Internal New-NetIPAddress -IPAddress <NAT Gateway IP> -PrefixLength <NAT Subnet Prefix Length> -InterfaceIndex <ifIndex> New-NetNat -Name nat -InternalIPInterfaceAddressPrefix <NAT Gateway IP Network>/<NAT Subnet Prefix Length>

Also, the following is a quick and dirty way to get the Hyper-V switch interface index required above.

(Get-NetAdapter -InterfaceDescription Hyper-V*).ifIndex

Hope this helps. Ricardo

View more posts

Contributions

Here you can find some of my written work and public/private presentations and conference appearances:

Whitepaper: Windows Server 2012 IaaS Product Line Architecture Fabric Architecture Guide
Teched Europe 2013: Lessons learned from implementing Windows Server 2012 and System Center 2012 SP1 for Hosters (Service Providers)
Microsoft Ignite 2015: Hyper-V Network Virtualization: 100+ Customer Service Provider Deployments
Microsoft Techready: Many sessions at Microsoft’s bi-annual internal readiness event, Techready (Microsoft credentials required)

Contact

You can reach me on GitHub, Twitter or LinkedIn. Or if good old email is preferred, say something.