Hi zakarias
Welcome to the communities.
If I am not wrong your picture something like below .
two esxi inside workstation which is installed on one physical machine.
If so then check host services & network mode its nated or physical nic that may the cause.