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

COMPUTER NETWORK

LAB ASSIGNMENT NO-01

Commands:-
1. Arp command:-
The arp command displays and modifies the Internet-to-adapter address translation
tables used by the Address in Networks and communication management. The arp
command displays the current ARP entry for the host specified by the HostName variable.

2. Hostname:-
Description. The /usr/bin/hostname command displays the name of the current host
system. Only users with root user authority can set the host name.

3. Ipconfig:-
Displays all current TCP/IP network configuration values and refreshes Dynamic Host
Configuration Protocol (DHCP) and Domain Name System (DNS) settings. Used without
parameters, ipconfig displays Internet Protocol version 4 (IPv4) and IPv6 addresses, subnet
mask, and default gateway for all adapters.

4. Ipconfig/all:-
Displays all current TCP/IP network configuration values and refreshes Dynamic Host
Configuration Protocol (DHCP) and Domain Name System (DNS) settings. Used without
parameters, ipconfig displays Internet Protocol version 4 (IPv4) and IPv6 addresses, subnet
mask, and default gateway for all adapters.

5. Nslookup:-
The nslookup command queries internet domain name servers in two modes. Interactive
mode allows you to query name servers for information about various hosts and domains,
or to print a list of the hosts in a domain. In noninteractive mode, the names and
requested information are printed for a specified host or domain.

6. Ping:-
ping is the primary TCP/IP command used to troubleshoot connectivity, reachability, and
name resolution. Used without parameters, this command displays Help content. You can
also use this command to test both the computer name and the IP address of the
computer.

7. Tracert:-
Summary. This article describes TRACERT (Trace Route), a command-line utility that you
can use to trace the path that an Internet Protocol (IP) packet takes to its destination.

8. Ipconfig/renew:-
When you type "ipconfig /renew" into the command line, that command orders your
DHCP client to renegotiate an IP address lease with the DHCP server on your router.
9. Route:-
Description. The route command allows you to make manual entries into the network
routing tables. The route command distinguishes between routes to hosts and routes to
networks by interpreting the network address of the Destination variable, which can be
specified either by symbolic name or numeric address.

10. Ipconfig/release:-
In the Command Prompt, enter “ipconfig/release” then press [Enter] to release your
computer's current IP Address.

Thank you….

You might also like