Site icon Digital Thought Disruption

Connecting a Virtual Machine to a NSX-T Logical Switch/Segment

Prerequisites

Steps:

Additional Information:

After attaching a VM to a logical switch, logical switch ports are added to the logical switch. You can view logical switch ports on the NSX Manager in Advanced Networking & Security > Networking >Switching > Ports.

In the NSX-T Data Center API, you can view NSX-T Data Center-attached VMs with the GEThttps://<nsx-mgr>/api/v1/fabric/virtual-machines API call

In the NSX-T Data Center Manager UI under Advanced Networking & Security > Networking >Switching > Ports, the VIF attachment ID matches the ExternalID found in the API call. Find the VIF attachment ID matching the VM’s externalId and make sure that the Admin and Operational status are Up/Up.

Summary:

If two VMs are attached to the same logical switch and have IP addresses configured in the same subnet, they should be able to ping each other.  From the example above Dev1 should be able to ping Dev4, vice versa. 

Exit mobile version