DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
Experiment1
Student Name: Aman Thakur UID: 22BCS16401
Branch:CSE Section/Group: 901-A
Semester: 5 Date of Performance:-2-08-24
Subject Name: Computer Network Subject Code: 22CSH-312
1. Aim: Study of basic network command and Network
configuration commands.
2. Objective:
We should will be able to troubleshoot networks with various c commands.
3. Input/Apparatus Used:
• Processor – Any suitable Processor
• Main Memory - 128 MB RAM
• Hard Disk – minimum 20 GB IDE Hard Disk
• Removable Drives
4. PROCEDURE:
1. pathping
The pathping command provides detailed information about network
latency and packet loss along the route to a destination.
Procedure:
1. Open Command Prompt (search for cmd in the Start menu and press
Enter).
2. Type pathping [hostname or IP address] and press Enter.
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
o Example: pathping google.com.
2. ping
The ping command checks the connectivity between your computer and
another network device.
Procedure:
1. Open Command Prompt.
2. Type ping [hostname or IP address] and press Enter.
o Example: ping google.com.
3. ipconfig /all
The ipconfig /all command displays the full network configuration details
of your computer.
Procedure:
1. Open Command Prompt.
2. Type ipconfig /all and press Enter.
4. ipconfig /release
The ipconfig /release command releases the current DHCP lease.
Procedure:
1. Open Command Prompt.
2. Type ipconfig /release and press Enter.
5. ipconfig /renew
The ipconfig /renew command renews the DHCP lease.
Procedure:
1. Open Command Prompt.
2. Type ipconfig /renew and press Enter.
6. nbtstat -a
The nbtstat -a command displays the NetBIOS name table of a remote
computer.
Procedure:
1. Open Command Prompt.
2. Type nbtstat -a [hostname] and press Enter.
o Example: nbtstat -a computername.
7. tracert google.com
The tracert (Trace Route) command tracks the path packets take to a
network destination.
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
Procedure:
1. Open Command Prompt.
2. Type tracert google.com and press Enter.
8. arp -a
The arp -a command displays the ARP table.
Procedure:
1. Open Command Prompt.
2. Type arp -a and press Enter.
9. hostname
The hostname command displays the name of your computer as known on
the network.
Procedure:
1. Open Command Prompt.
2. Type hostname and press Enter.
4.OUTPUT:
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
DEPARTMENT OF
COMPUTER SCIENCE &
ENGINEERING
5. LEARNING OUTCOMES:
1. Network Connectivity Troubleshooting: Ability to diagnose
connectivity issues using ping, tracert, and pathping, and
understand where delays or failures occur.
2. Understanding Network Configuration: Knowledge of how to
view and interpret network settings with ipconfig, including IP
addresses, subnet masks, and gateways.
3. DNS Analysis: Skill to query DNS records and resolve domain
names with nslookup, helping to troubleshoot DNS-related
problems.
4. Monitoring Network Traffic: Competence in monitoring
network connections and traffic using netstat, and managing
network address mappings with arp.