Practical No: 2
Aim: To learn and implement basic commands of computer network link
PING, traceroute,netstat,arp,ipconfig
❖ ipconfig:ipconfig (Internet Protocol Configuration) is a command-line tool in
Windows used to view and manage network settings.
❖ Uses:
[Link] IP Address
Shows your computer's IPv4 and IPv6 addresses.
[Link] Subnet Mask and Default Gateway
Useful for troubleshooting local network issues.
[Link] or Release IP Address
Commands like ipconfig /release and ipconfig /renew help in resetting
network connections.
[Link] DNS Cache
ipconfig /flushdns clears stored DNS entries to fix DNS-related issues.
❖ PING:ping (Packet Internet Groper) is a network troubleshooting tool used to
check the connection between your device and another device (like a website or
server).
❖ Uses:
[Link] Network Connectivity
Verifies if a device or website is reachable.
[Link] Response Time
Shows how fast a packet travels to the destination and back (latency).
[Link] Network Issues
Helps find delays, disconnections, or unreachable devices.
❖ Traceroute:traceroute is a network diagnostic tool used in Linux, macOS,
and other UNIX systems (Windows equivalent: tracert).It shows the path data
packets take from your device to a destination.
❖ Uses:
[Link] the Route of Data Packets
Displays every router (hop) a packet goes through.
[Link] Network Problems
Helps find where the connection slows down or fails.
[Link] Internet Paths
Useful for IT and network engineers to check proper routing.
❖ Netstat:netstat (Network Statistics) is a command-line tool used to monitor
network connections and statistics on your [Link] is available in Windows,
Linux, and macOS.
❖ Uses:
[Link] Active Network Connections
Shows IP addresses and ports currently in use.
[Link] Listening Ports
Useful to see which services or apps are waiting for connections.
[Link] TCP/UDP Protocols
Displays statistics about TCP, UDP, ICMP traffic.
[Link] Malware or Unwanted Connections
Can help detect suspicious connections or backdoors.
❖ ARP:arp (Address Resolution Protocol) is a command-line tool used to view and
manage the ARP cache, which maps IP addresses to MAC addresses on a local
[Link] is available in Windows, Linux, and macOS.
❖ Uses:
[Link] ARP Table
Shows IP-to-MAC address mappings stored on your device.
[Link] Duplicate IPs
Helps find devices with conflicting IP addresses.
[Link] Local Network Issues
Useful when devices can’t communicate on the same LAN.