With NSX-T we can create logical switches to reproduce switching functionalities that are completely decoupled from the underlying hardware. VMs that are connected to the same logical switch use the same VNI to communicate with each other.
In this post, we will create a logical switch, connect a couple of VMs to it and test the connectivity between them.
Let’s first start by having a look at the configuration of our VNIs
NSX-T Manager > Profiles > Configuration
Now we are going to create a logical switch called web-ls
Notice that our logical switch status is up.
Now, let’s switch to our vCenter and attach web01 and web02 to the web-ls logical switch
We can confirm that the two VMs are attached to the same LS by navigating to the Tools > Port Connection section of the NSX manager
Now its time to test whether the 2 VMs are able to communicate with each other or not.
The VMs are able to communicate via the web-ls switch!
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.