Prajyot CN Practical 2
Prajyot CN Practical 2
Prajyot CN Practical 2
AIM:. Study the basic network command and Network configuration commands like
ping, variations of ipconfig, tracert, nslookup, netstat, arp, rarp, hostname, pathping
etc.
Objective: To understand the working of basic network command and network
configuration commands.
Software Requirement: Command prompt.
Theory:-
2.Ping: Verifies IP-level connectivity to another TCP/IP computer by sending Internet Control
Message Protocol (ICMP) Echo Request messages.
3.IPConfig/all: Displays the full TCP/IP configuration for all adapters. Without this
parameter, ipconfig displays only the IP address, subnet mask, and default gateway values for
each adapter.
ISHAN
18BCS2992
4.IPConfig/release: Sends a dhcp release message to the dhcp server to release the current
DHCP configuration and discard the IP address configuration for either all adapters (if an
adapter is not specified) or for a specific adapter if the Adapter parameter is included.
6.IPConfig/displaydns: Displays the contents of the DNS client resolver cache, which
includes both entries preloaded from the local Hosts file and any recently obtained resource
records for name queries resolved by the computer.
7.IPConfig/flushdns: Flushes and resets the contents of the DNS client resolver cache.
8.Tracert: Determines the path taken to a destination by sending Internet Control Message
Protocol (ICMP) Echo Request messages to the destination with incrementally increasing
Time to Live (TTL) field values.
ISHAN
18BCS2992
9.Netstat: Displays active TCP connections, ports on which the computer is listening,
Ethernet statistics, the IP routing table.
10.Nslookup: Nslookup (stands for “Name Server Lookup”) is a useful command for getting
information from DNS server.
ISHAN
18BCS2992
14.Systeminfo: Specifies the name or IP address of a remote computer (do not use
backslashes). The default is the local computer. Runs the command with the account
permissions specified by User or Domain\User.
15.getmac: Getmac is a Windows command used to display the Media Access Control
(MAC) addresses for each network adapter in the computer.
16.arp-a: The "arp" Command. arp displays and modifies entries in the Address Resolution
Protocol (ARP) cache, which contains one or more tables that are used to store IP addresses
and their resolved Ethernet or Token Ring physical addresses.
17.powerclg1: A command-line utility that you can use to trace the path that an
Internet Protocol (IP) packet takes to its destination.
18.Route: IP networks use routing tables to direct packets from one subnet to another. The
Windows Route utility allows you to view the device’s routing tables. To do so, simply type
Route Print.
19.FTPserver: FTP is file transfer protocol, this server is where files may be stored.
20.FType: The ftype command was introduced as a shell builtin to cmd.exe with the release
of Windows NT 4.0. It lists all Registry keys in HKEY CLASSES ROOT which contain the
shell\open\command subkey, and prints out the REG SZ contents of the (default) value within
these keys.
ISHAN
18BCS2992
ISHAN
18BCS2992