Ping and Switches to Know
Ping is used to see if a system is up and responding. In a Windows environment make sure that network discovery is turned on or you will not receive a response.
To enable network discovery:
Click the start button in Windows
Select on the left side the Setting icon
Select Network & Internet
Select Ethernet
On the right-hand side select Network and Sharing Center
Then select Private and enable Network Discovery
Switches commonly used with ping:
- -t unlimited pings until stopped
- -a to resolve a hostname to an IP address
- -n for the number of echo requests to send
- -4 force using IPv4
- -6 force using IPv6
No comments:
Post a Comment