Lab 3
Lab 3
Basic network and configuration commands like ping, ipconfig, nslookup, and tracert are essential
tools used to diagnose and configure network connections. These commands help check connectivity,
display IP configurations, resolve DNS issues, and trace the path of packets across a network.
Some basic network command and network configuration commands are as follows:
C:\>ping: Tests connectivity between your computer and another device on the network by sending
packets and awaiting a response.
C:\>ipconfig: Displays the current TCP/IP configuration of the computer, such as IP address, subnet
mask, and default gateway.
C:\>ipconfig /all: Provides detailed information on the computer’s network configuration, including
DNS, DHCP, and Ethernet adapter details.
C:\>ipconfig /release: Releases the current IP address obtained from the DHCP server.
C:\>ipconfig /renew: Renews the IP address lease from the DHCP server.
C:\>ipconfig /flushdns: Clears the DNS resolver cache, useful when dealing with DNS issues.
C:\>arp -a: Shows the IP address and MAC address mappings on the network.
C:\>netdiag: Diagnoses network issues (needs to be installed from Windows support tools).
C:\>nslookup: Diagnoses DNS problems by querying DNS servers for domain name information.
C:\>pathping: A combination of ping and tracert, traces the path and measures packet loss.
C:\>tracert: Displays the path packets take to reach a destination, useful for troubleshooting network
routing issues.
1|Page