Hi,
As per your connections , you need to di VLAN Trunking on both the VLAN's.
As VLAN10 is your native vlan where you have installed Esxi, so after vlan trunking both the VLAN can communicate to each other.
VLAN trunking needed to be done at network level.
Regards,
Bhards4