SrVMwarer
Hot Shot
Hot Shot

VMs connected to Logical Switch can't ping gateway

Jump to solution

Hi Guru,

I have NSX-v in my Homelab I have Logical Switch connected to a DLR configured correctly, but when I try to ping from VM to it's gateway which is the DLR interface to the Logical Switch, It can't reach it.

Regards, İlyas
0 Kudos
1 Solution

Accepted Solutions
SrVMwarer
Hot Shot
Hot Shot

This should be a JOKE after spending hours reading in depth how it works and play with CLI

I figured out  that it was a SPOOFGUARD :smileygrin: :smileygrin: needs approval

Regards, İlyas

View solution in original post

0 Kudos
5 Replies
SrVMwarer
Hot Shot
Hot Shot

This should be a JOKE after spending hours reading in depth how it works and play with CLI

I figured out  that it was a SPOOFGUARD :smileygrin: :smileygrin: needs approval

Regards, İlyas

View solution in original post

0 Kudos
mhdganji
Enthusiast
Enthusiast

Hi,

It's a pretty straightforward thing. Just make sure the DLR interface is enabled, IP and subnets are set correctly on VM and DLR Interface and correct Network is selected for the VM.

If it continued to fail, please give a shot from DLR interface and VM network settings on ESXi and also from within the operating system.

Regards

0 Kudos
SrVMwarer
Hot Shot
Hot Shot

Now, Both VMs can't ping the Gateway but can't ping each others return time out

Regards, İlyas
0 Kudos

First test I would do:

Put the VMs in the same host and try ping each other. Maybe there is some issue with the overlay.

This can be helpfull to test the scenario: Test Logical Switch connectivity in NSX

From one ESXi:

ping ++netstack=vxlan -d -s %MTU YOU ARE USING% -I vmk# %VTEP IP%

Triple VCIX (CMA-NV-DCV) | vExpert | MCSE | CCNA
0 Kudos
SrVMwarer
Hot Shot
Hot Shot

Just restarted the NSX Controller and everything worked as expected

Regards, İlyas
0 Kudos