Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

DEPARTMENT OF

COMPUTER SCIENCE &


ENGINEERING
WORKSHEET - 1.2

Student Name: Kushagr Jain UID: 21BCS1877


Branch CSE Section/Group: 615/B
Semester 4th Date of Performance: 28/02/23
Subject Name: Computer Networks Subject Code: 21-CSH-256

Aim:-

Study the basic network command and Network configuration


commands like ping,variations of ipconfig, tracert, nslookup, netstat,
arp, rarp, hostname, pathping etc.

Objective :- Students will be able to troubleshoot networks

S/W Requirement :- Command Prompt

H/W Requirement :-
• Processor – Any suitable Processor e.g. Celeron
• Main Memory - 128 MB RAM
• Hard Disk – Minimum 20 GB IDE Hard Disk

• Removable Drives– 1.44 MB Floppy Disk Drive

• Keyboard and Mouse –52X IDE CD-ROM


Drive PS/2 HCL
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
Method:-
Go to command prompt and type the commands

Ping:- Open Command Prompt or PowerShell, then type a command like "ping
google.com" to test your connection. Run "ping" followed by an IP address to check
if that IP address is accessible to you. Run "ping" followed by a domain name
(website) to check if the website is available, and to find the page's IP address.

Ipconfig:- The equivalent for ipconfig on Linux is the ifconfig command. Ifconfig
will show you the basic network information of your adapters in Linux. The ifconfig
command doesn’t show the DNS servers that are used. To view the DNS servers on
Linux we need to open a configuration file.
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING

Tracert:- In computing, traceroute and tracert are computer network diagnostic


commands for displaying possible routes (paths) and measuring transit delays of
packets across an Internet Protocol (IP) network.
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING

Nslookup:- Nslookup is a netwoík administíation command-line


tool available foí many computeí opeíating systems. It is used foí queíying
the Domain Name System (DNS) to obtain domain name oí IP addíess
mapping infoímation.- Wiki ľhe main use of nslookup is foí tíoubleshooting
DNS íelated píoblems. Nslookup can be use in inteíactive and non-
inteíactive mode

Netstat:- In computing, netstat (netwoík statistics) is a command- line


netwoík utility that displays netwoík connections foí ľíansmission
Contíol Píotocol (both incoming and outgoing), íouting tables, and a
numbeí of netwoík inteíface (netwoík inteíface contíolleí oí softwaíe-
defined netwoík inteíface) and netwoík píotocol statistics.
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
Arp:- It bíoadcast a packet to all the devices of the souíce netwoík. ľhe
above píocess continues till the second last netwoík device in the path
íeaches the destination wheíe it gets validated and ARP, in tuín, íesponds
with the destination MAC addíess. ARP: ARP stands foí ( Addíess
Resolution Píotocol ).

Rarp:- ľhe RARP is on the Netwoík Access Layeí and is employed to send
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
data between two points in a veíy netwoík. Each netwoík paíticipant has
two unique addíesses:- IP addíess (a logical addíess) and MAC addíess
(the physical addíess). ľhe IP addíess gets assigned by softwaíe and afteí
that the MAC addíess is constíucted into the haídwaíe.

Hostname:- To access google.com's images section, you must specify


the images hostname in the URL. Likewise, the www hostname is always
required unless you're after a specific subdomain.

Pathping:- PathPing is a Windows utility allowing the user to reveal


the path between two hosts. Unlike other similar commands, with
PathPing, each node is pinged by the command. Pathping
resembles some other commands such as one called tracert that
displays the trajectory of data packets and measures delivery
delays through an IP network

RESULT:
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
Troubleshooting of networks and devices

You might also like