VMware Networking Community
RobertKeysight
Contributor
Contributor
Jump to solution

NSXT Tier-1 wont route traffic

Hello,

I have created a setup with 2 segments, Segment1 with subnet 192.168.1.1/24 and Segment2 with subnet 192.168.2.1/24, to each segment I have connected 2 vms from 2 different servers, ping within the segment but on different servers works as example machine1 192.168.1.100 can reach machine2 192.168.1.101, also true for Segment2 machine3 192.168.2.100 can reach machine3 192.168.2.101, I have created a tier 1 gateway in order to send traffic from segment one to segment two. Lets say i want to ping from machine2(192.168.1.101) to machine4(192.168.2.101) and it does not work from my machines.

This is the configuration on my segments and Tier1:

Screenshot 2024-02-13 at 14.43.10.png

Screenshot 2024-02-13 at 14.43.22.png

Screenshot 2024-02-13 at 14.43.29.png

 Also when I do a traffic analysis between machine2 and machine4 everything looks good I get delivered and no errors.

I dont understand why traffic analysis shows as everything is alright but I cant ping from machine2 to machine4.

Has someone encountered this issue before? Or has any idea how to solve this?

0 Kudos
21 Replies
RobertKeysight
Contributor
Contributor
Jump to solution

can you help me configure it? for the second interface as well

0 Kudos
DanielKrieger
Enthusiast
Enthusiast
Jump to solution

You can use Netplan to set the default gateway and static routes on the right interface. 

Netplan uses YAML, so the indentations and format are therefore important!

https://linuxconfig.org/how-to-add-static-route-with-netplan-on-ubuntu-22-04-jammy-jellyfish-linux

 

 

 

 

----------------------------------------------------------------------
My Blog: https://evoila.com/blog/author/danielkrieger/
0 Kudos