Hi I have setup ESXi's vkm0 for management on 192.168.20.20 but when I try to connect from 192.168.50.2 with vSphere client there is no response. However when I try to connect from 192.168.20.233 there is a response. Is there some kind of security feature to limit which network it will accept management connection from?
I believe you should make sure that your different subnets have the reachability to each other.
Did you tried to ping and telnet the ESXI host from 50.X subnet machine.
same subnet is reachable reason a visibility in same subnet . This should be a problem in your network configuration in you design.
Like already stated above, you should make sure that the network 192.168.50.x can reach (has a route) for network 192.168.20.x and that default gateway address is configured on ESXi and your managemtn station.
And if there is a firewall between this two network, you should open ports to allow the vSphere Client connect to your vSphere host: VMware KB: Required ports for ESXi 5.1.x
Sorry I need to clarify.
Question is why am I able to reach 192.168.20.233 but not ESXi at 192.168.20.20?
Hi thanks. It was indeed due to the routing table on ESXi. It works now after I have executed the following command.
esxcli network ip route ipv4 add --gateway 192.168.20.1 --network 192.168.50.0/24
Not sure if this is persistent across reboot but I have added it to the following file anyway.
For the record, I found the following resources helpful.
Unfortunately this must be done on the CLI because the vSphere client only let's you update the default route, and I'm not sure if anyone has this problem as well, my vSphere client can only display some of the text. So in this case it displayed the first octet of the default gateway's IP address under the host's Configuration tab -> DNS and Routing -> Properties -> Routing tab.