In this blog post, we are going configure NAT to access one of internal VMs. Let’s start.
The Setup
Create a New Segment
Navigate to Switching > Switches > Add
Create a Tier 1 Router
Navigate to Routing > Router > Add Tier 1 Router
Configure the Route Advertisement to allow NAT Routes
Add a port to the Tier 1 Router
Navigate to Routing > Router > T-NAT-Tier1 > Configuration > Router Ports > Add
Add SNAT Rule
Navigate to Routing > Router > T-NAT-Tier1 > Services NAT > ADD
The source NAT IP 172.16.50.101 will be translated to IP 80.80.80.1. Click Save.
Add DNAT Rule
Navigate to Routing > Router > T-NAT-Tier1 > Services NAT > ADD
The destination NAT IP 80.80.80.1 will be translated to IP 172.16.50.101 Click Save
NAT Rules below
Configure Route Redistribution in the Tier 0 Router
Navigate to Routing > Router > Logical -Router-Tier0 > Routing > Route redistribution > Edit
Click Save.
Testing
Ensure that the VM we are tesing with is connected to the correct segment and that it’s TCP/IP stack is configured with the right IP.
Let’s try a ping test. The VM is responding!
I hope this post was helpful. Thank you for reading.
How useful was this post?
Click on a star to rate it!
Average rating / 5. Vote count:
My name is Amine El Badaoui and I currently live in Aylesbury, a small town in the south east of England
I have been working in the IT industry for few years now and specialise in VMware virtualisation, data centre infrastructure and cloud technologies. Over the years I have obtained numerous industry certifications from Microsoft, Netapp and VMware.I currently work as a VMware Product Engineer @ https://www.rackspace.com/
This blog represents my random technical notes and thoughts. The thoughts expressed here do not reflect my current employer in anyway.