You can use the ping command to verify the connectivity between two network devices that are IP (Internet Protocol) based.
To ping another network device using a computer running Windows, complete the following:
If the ping is successful, you should receive replies from the address that you are trying to ping. If the ping is unsuccessful, you need to diagnose your network setup further.
To verify if your local network adapter is working, you can ping 127.0.0.1, which is a loopback address. The loopback address is a virtual network port for most operating systems.