Monday, May 6, 2024

Simple tools for network troubleshooting

 Basic connectivity test commands

What it does

Windows command

Linux command

Test connectivity to an IP or hostname/web address. Uses Internet Control Message Protocol (ICMP)

ping

ping

 

Track path (routers) from one network to another. Can use IP/hostname/web address.

tracert

 

tracepath

 

Display the TCP/IP configuration of a device.

ipconfig, ipconfig/all

 

ip addr

 

Find the IP address of a hostname/web address. You can obtain a web address/hostname from an IP as well.

nslookup

 

nslookup

 

Show network latency and data loss. Combines the functionality of ping and tracert.

pathping

 

Provide live stats to an IP address. Combine functionalities of ping and traceroute.

 

mtr

 

Get the hostname of the local device.

hostname

 

hostname

 

Show the MAC address to an IP address mapping.

arp -a

 

Short cut keys

CTRL+ALT+DEL

Windows-Brings up a screen with options; change password, switch user, sign out, lock and task manager.

Linux-Brings prompt to log off.