Troubleshooting network and port connectivity on VMware vSphere ESXi (Part 1)

esxi-host-file-entry

In this article We are talking about very very important command for Troubleshooting Network and Ports Connectivity in VMware vSphere Esxi

Ping/vmkping :-This the first command in our article and all of us know this command in physical and virtual network . this command use for check connectivity for the destination Host but in our article we will connect to Esxi Host via ssh and try to ping the destination Host ip and ping command = VMKPING command in ESXI

# ping destination-ip
# vmkping destination-ip
# vmkping 192.168.48.133
PING 192.168.48.133 (192.168.48.133): 56 data bytes
64 bytes from 192.168.48.133: icmp_seq=0 ttl=64 time=0.978 ms
64 bytes from 192.168.48.133: icmp_seq=1 ttl=64 time=1.009 ms
Telnet /nc -z :

The telnet command is not available in any versions of ESXi and, therefore, you must use netcat (nc) to confirm connectivity to a TCP port on a remote host. The syntax of the nc command is:

# nc -z <destination-ip> <destination-port>

When testing connectivity to TCP port 80, you will see an output :

# nc -z 192.168.48.133 80
Connection to 192.168.48.133 80 port [tcp/http] succeeded!

To be Continued >>>>>>>>>>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s