ipconfig:- To check the current IP assigned to the PC. This will also get the subnet mask, and Default gateway. You can also retrieve additional information such as the DNS servers once you enter the command ipconfig /all
ping:- To check connectivity between devices. (Eg: Ping to your home router's IP to make sure you have reachability to your gateway)
ping <IP address>
tracert:- To check the path that the packet takes to reach a specific host. If you are having a connectivity issue you can use this command to check the point where the packet is getting dropped. This can be useful for further troubleshooting.
tracert <IP address>
route print:- To view the IPV4, IPV6 and the persistent routing table of the windows
ipconfig /renew:- Most of the times the network connectivity issue can be caused by any certain issue of the current IP or an expired IP. To get a new IP address from the DHCP use this command.
ipconfig /flushdns:- To clear the DNS cache.
nslookup:- This command is used to query the DNS to get the mapping between the domain name and IP address. You can make sure that the domain name to IP mapping is working as expected.
0 Comments