Practical # 6 AIM:-: List and Practice Various "Net" Commands On DOS
Practical # 6 AIM:-: List and Practice Various "Net" Commands On DOS
PRACTICAL # 6
INTRODUCTION
Networking commands are used at the command prompt to get network information like the IP
address of the system, MAC address, network route traversed by a packet and the IP address of the
server in which a website or URL is hosted.
These utilities must be run at the prompt of the Cmd.exe command interpreter.
To open Command Prompt, click Start, click Run, type cmd, and then click OK. TCP/IP utilities
offer network connections to other computers, such as UNIX workstations.
2. Ip Config- The command IP config will display basic details about the device’s IP address configuration.
To run the basic command, at the prompt type: ipconfig
3. Hostname- To communicate with each and other, the computer needs a unique address. A hostname
can be alphabetic or alphanumeric and contain specific symbols used specifically to define a specific
node or device in the network.
To run the basic command, at the prompt type: hostname
4. Netstat- Displays active TCP connections, ports on which the computer is listening, Ethernet statistics,
the IP routing table, IPv4 statistics (for the IP, ICMP, TCP, and UDP protocols), and IPv6 statistics (for
the IPv6, ICMPv6, TCP over IPv6, and UDP over IPv6 protocols).
To run the basic command, at the prompt type: netstat
6. Nslookup- The Nslookup, which stands for name server lookup command, is a network utility
command used to obtain information about internet servers. It provides name server information
for the DNS (Domain Name System), i.e. the default DNS server’s name and IP Address.
To run the basic command, at the prompt type: nslookup
8. ARP- ARP stands for Address Resolution Protocol. 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.
To run the basic command, at the prompt type: arp /a
9. SystemInfo- Displays detailed configuration information about a computer and its operating
system, including operating system configuration, security information, product ID, and hardware
properties (such as RAM, disk space, and network cards).
To run the basic command, at the prompt type: systeminfo
10. PathPing- PathPing combines the ping command with the tracert command, providing information
about network latency and network loss at intermediate hops between a source and destination.
To run the basic command, at the prompt type: pathping [host]
CONCLUSION:-