EXP NO:01
DATE:
Basic Network Commands
AIM:
PROCEDURE & OUTPUT:
1. PING:
The Ping command is one of the most widely used commands in the prompt tool, as it
allows the user to check the connectivity of our system to another host.This command sends four
experimental packets to the destination host to check whether it receives them successfully, if so,
then, we can communicate with the destination host. But in case the packets have not been
received, that means, no communication can be established with the destination host.
SYNTAX:
ping
OUTPUT:
2. IP CONFIG:
The IPCONFIG network command provides a comprehensive view of information
regarding the IP address configuration of the device we are currently working on.The IPConfig
command also provides us with some variation in the primary command that targets specific
system settings or data, which are:
IPConfig/all - Provides primary output with additional information about network adapters.
IPConfig/renew - Used to renew the system’s IP address.
IPConfig/release - Removes the system’s current IP address.
SYNTAX:
Ipconfig
OUTPUT:
3. NSLOOKUP:
The NSLOOKUP command is used to troubleshoot network connectivity issues in the
system. Using the nslookup command, we can access the information related to our system’s
DNS server, i.e., domain name and IP address.
SYNTAX:
nslookup
OUTPUT:
4. HOSTNAME:
The HOSTNAME command displays the hostname of the system. The hostname
command is much easier to use than going into the system settings to search for it.
SYNTAX:
hostname
OUTPUT:
5. TRACERT:
The TRACERT command is used to trace the route during the transmission of the data
packet over to the destination host and also provides us with the “hop” count during transmission.
SYNTAX:
tracert
OUTPUT:
6. NETSTAT:
The Netstat command as the name suggests displays an overview of all the network
connections in the device. The table shows detail about the connection protocol, address, and the
current state of the network.
SYNTAX:
netstat
OUTPUT:
RESULT: