Lab 2 - Network Diagnostics -DSU
Lab 2 - Network Diagnostics -DSU
Spring 2023
Objective
To study the Basic Diagnostic Utilities on command prompt and viewing their outputs.
Diagnostic Commands
1. Ipconfig
Ipconfig (short for "Internet Protocol Configuration") is a command-line utility in Microsoft
Windows operating systems that allows users to view and manage the configuration of network
interfaces on their computer.
It provides information about the current network configuration, including the IP address, subnet
mask, default gateway, DNS servers, and other network settings for each network adapter
installed on the computer. The utility can also be used to release and renew IP addresses, flush
the DNS cache, and perform other network-related tasks.
2. Hostname
In computer networks, a hostname is a label that is assigned to a device connected to a computer
network and that is used to identify the device in various forms of electronic communication,
such as the World Wide Web.
Hostnames may be simple names consisting of a single word or phrase, or they may be
structured. Each hostname usually has at least one numeric network address associated with it
for routing packets for performance and other reasons.
3. Tracert
The Traceroute command (tracert) is a utility designed for displaying the time it takes for a packet
of information to travel between a local computer and a destination IP address or domain.
It lets you know about the different routing information to reach any destination. It has different
parameters like maximum hops, host list etc.
4. ARP
The Address Resolution Protocol is a communication protocol used for discovering the link layer
address, such as a MAC address, associated with a given internet layer address, typically an IPv4
address. This mapping is a critical function in the Internet protocol suite.
It displays and modifies IP to physical address translation tables used by address resolution
protocol. It have different parameters.
5. Netstat
The netstat command is used to show network status. Traditionally, it is used more for problem
determination than for performance measurement.
However, the netstat command can be used to determine the amount of traffic on the network
to ascertain whether performance problems are due to network congestion. It displays the
active connections, protocols link status local and foreign address.
6. Ns lookup
NSLOOKUP is a command-line tool used to query the Domain Name System (DNS) to obtain
information about DNS records, such as IP addresses associated with domain names, mail
exchange servers for a domain, and more.
It can also be used to diagnose DNS-related issues and troubleshoot network problems. It let you
know about the default server and its ip address
7. Path Ping
PathPing is a Windows-based command-line tool used to diagnose network latency and packet
loss issues by tracing the route that packets take between the local computer and a remote
destination.
PathPing combines the functionality of the traceroute and ping utilities, and provides more
detailed information about the network path between the two endpoints. It sends packets to
each router in the path, and collects information about the round-trip time, packet loss, and hop
count for each router.
TASK 1:
Use the above-mentioned commands and attach the result in the form of screen shot in lab file,
and also give necessary explanation.
1. Ipconfig and its sub commands
2. Hostname
3. Ping and its sub commands
4. Tracert and its sub commands
5. Arp and its sub commands
6. Netstat and its sub commands
7. Nslookup and its sub commands