EXPERIMENT NO1
EXPERIMENT NO1
Roll No: 53
EXPERIMENT NO. 1
AIM : To Execute and analyze basic networking commands.
REQUIREMENT : Vmware – Ubuntu, Terminal – Bash shell.
LAB OBJECTIVE : To get familiar with basic network administration commands.
THEORY :
Key Functions:
Key Functions:
3. Traceroute : The traceroute command is used to trace the path that data
packets take from your system to a destination host over a network. It shows
each hop (router or device) along the route and the time it takes to reach each
one.
Key Functions:
Key Functions:
5. Ping : The ping command is used to test the connectivity between your
system and a remote host (e.g., server, router) by sending ICMP echo
requests and measuring the response time.
Key Functions:
Key Functions:
Key Functions:
8. Dig : The dig (Domain Information Groper) command is used to query DNS
(Domain Name System) servers for information about domain names, such as
IP addresses, MX records, and more.
Key Functions:
Query a domain: dig <hostname>
Get specific DNS record types: dig <hostname> <record_type> (e.g., A, MX,
TXT)
Key Functions:
10.Route : The route command is used to view and manipulate the IP routing
table on a system. It allows you to manage network routes, including adding,
deleting, or modifying routes.
Key Functions:
Key Functions:
12.Arp –a : The arp -a command displays the Address Resolution Protocol (ARP)
table, which maps IP addresses to MAC (Media Access Control) addresses
for devices on the local network.
Key Functions:
It lists all the IP-MAC address mappings that your system has learned on the local
network.
13.Hostname : The hostname command is used to display or set the name of the
current system (host) on a network.
Key Functions:
Display the current hostname: hostname
Set a new hostname: sudo hostname <new_hostname>
14.Curl or wget :
curl:
A tool for transferring data to/from a server using various protocols (HTTP,
FTP, etc.).
Key Use: Ideal for making API requests, sending data, and downloading files.
Example: curl -O <URL> (downloads a file).
wget:
A tool mainly for downloading files from the web, supporting recursive
downloads and background tasks.
Key Use: Simple file downloading and website mirroring.
Example: wget <URL> (downloads a file).
15.Mtr : The mtr (My Traceroute) command is a network diagnostic tool that
combines the functionality of ping and traceroute. It provides real-time
monitoring of the route and latency between your system and a remote
destination.
Key Functions:
Key Functions:
Key Functions:
RESULT :
LAB OUTCOME : Execute and evaluate administration commands and demonstrate
using different network scenario.
CONCLUSION : After successful completion of this experiment, we understand the
fundamental commands of computer networks is essential for managing,
troubleshooting, and optimizing network performance..