0% found this document useful (0 votes)
15 views

Lab 02

The lab focuses on teaching students essential network commands in both Windows and Linux to understand network configurations and troubleshooting techniques. Key commands include IPCONFIG, System Info, Netstat, ARP, and NSLOOKUP for Windows, with students expected to find and execute their Linux equivalents. The lab emphasizes the importance of network performance monitoring and the role of these commands in maintaining network infrastructure.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Lab 02

The lab focuses on teaching students essential network commands in both Windows and Linux to understand network configurations and troubleshooting techniques. Key commands include IPCONFIG, System Info, Netstat, ARP, and NSLOOKUP for Windows, with students expected to find and execute their Linux equivalents. The lab emphasizes the importance of network performance monitoring and the role of these commands in maintaining network infrastructure.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

LAB # 02

Lab Title:
Basic Network Commands on windows and Linux

Lab Objective:
Objective of this lab is to make students understand the use of network important commands
for generic and customized information about the network configuration.

Activity Outcomes:
The student will understand the advantages of network commands and configuration.

Introduction:
The network infrastructure is a very complex structure of cables, routers, access points, data
packets, and a many other small components that together make the entire network work
seamlessly. Any issue in any of these smaller components may lead to an overall collapse of
the network infrastructure. This may lead to disruption of WiFi, cellular and wired (ethernet)
infrastructure. This is the reason why it's very important to have an access to how the
network is performing and know troubleshooting techniques, namely networking
commands, which are used at the command prompt to get network information.
Networking commands are used at the command prompt to get network information like the
IP address of the system (remember that an IP address is the address of your device in a
network), MAC address, network route traversed by a packet, and the IP address of the
server in which a website or URL is hosted.
The IP address and the default gateway should be in the same network or subnet; otherwise
this host wouldn’t be able to communicate outside the network

Activity-1:

1. Network ipconfig command (Internet Protocol Configuration):


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.


2. System Info command:
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).
3. Netstat Command
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.
4. ARP (Address Resolution Protocol) command:
The ARP command is used to access the mapping structure of IP addresses to the MAC address.
This provides us with a better understanding of the transmission of packets in the network
channel.

5. NSLOOKUP Command
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.

LINUX COMMANDS

To use Linux Terminal online use following link:


https://www.tutorialspoint.com/linux_terminal_online.php
OR
https://bellard.org/jslinux/vm.html?cpu=riscv64&url=fedora33-riscv.cfg&mem=256

Activity-2(Students will do their self):


Find the equivalent of all above commands in linux and execute. Also paste the screen shots of
the outputs.

You might also like