Lab B – Computer and Network Discovery

QUESTION

Lab B – Computer and Network Discovery

Lab Goals

  • Use command line tools to discover information about your computer and network.

Lab Purpose

This lab will help to familiarize you with command line tools in Windows and Linux environments to gather information about your computer and network settings.

Lab Instructions

Follow these steps closely and take screenshots when prompted. You will need these screenshots for your lab report.

Prerequisites:

  • A Windows 10/11 system (physical or virtual machine).
  • A Linux machine, such as Ubuntu 22.04 or newer (physical or virtual).

Note:

  • The commands provided below are examples and may vary slightly depending on the specific version of the operating system.
  • Screenshot extensions in the examples described below are .png, but you can also use .jpg or .jpeg.

Part 1 – Windows Command Line Tools

  1. System Information
    1. Open the command prompt (CMD) or PowerShell on your Windows system.
    2. Enter the command: systeminfo
      1. What this does: This command displays detailed information about the computer’s hardware, operating system, and software configuration.
    3. Enter the command: echo “<Your First Name> <Your Last Name>”
    4. Capture Screenshot:
      1. Take a screenshot of the command prompt or PowerShell window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part1_Task1.extension (e.g., JohnDoe_LabB_Part1_Task1.png).
  2. Disk Space
    1. Enter the command: wmic logicaldisk get caption, freespace
      1. What this does: This command displays the available free space on each logical disk of your computer.
    2. Enter the command: echo “<Your First Name> <Your Last Name>”
    3. Capture Screenshot:
      1. Take a screenshot of the command prompt or PowerShell window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part1_Task2.extension (e.g., JohnDoe_LabB_Part1_Task2.png).
  3. Network Information
    1. Enter the command: ipconfig
      1. What this does: This command displays the IP configuration for all network interfaces on your Windows system.
    2. Enter the command: echo “<Your First Name> <Your Last Name>”
    3. Capture Screenshot:
      1. Take a screenshot of the command prompt or PowerShell window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part1_Task3.extension (e.g., JohnDoe_LabB_Part1_Task3.png).
  4. Network Connectivity
    1. Enter the command: ping google.com
      1. What this does: This command sends ICMP Echo Request packets to the specified destination (google.com) to test network connectivity.
    2. Enter the command: echo “<Your First Name> <Your Last Name>”
    3. Capture Screenshot:
      1. Take a screenshot of the command prompt or PowerShell window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part1_Task4.extension (e.g., JohnDoe_LabB_Part1_Task4.png).
  5. Tracing Network Routes
    1. Enter the command: tracert google.com
      1. What this does: This command traces the network route taken by packets from your computer to the specified destination (google.com).
    2. Enter the command: echo “<Your First Name> <Your Last Name>”
    3. Capture Screenshot:
      1. Take a screenshot of the command prompt or PowerShell window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part1_Task5.extension (e.g., JohnDoe_LabB_Part1_Task5.png).
  6. DNS Lookup
    1. Enter the command: nslookup www.google.com
      1. What this does: This command performs a DNS lookup for the specified hostname (www.google.com) and displays its associated IP address(es).
    2. Enter the command: echo “<Your First Name> <Your Last Name>”
    3. Capture Screenshot:
      1. Take a screenshot of the command prompt or PowerShell window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part1_Task6.extension (e.g., JohnDoe_LabB_Part1_Task6.png).

Part 2 – Linux Command Line Tools

  1. System Information
    1. Open the terminal on your Ubuntu Linux machine.
    2. Enter the command: uname -a
      1. What this does: This command displays detailed information about the Linux kernel version, architecture, and other system details.
    3. Enter the command: echo “<Your First Name> <Your Last Name>”
    4. Capture Screenshot:
      1. Take a screenshot of the terminal window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part2_Task1.extension (e.g., JohnDoe_LabB_Part2_Task1.png).
  2. CPU Information
    1. Enter the command: lscpu
      1. What this does: This command displays detailed information about the CPU architecture and configuration of your Linux system.
    2. Enter the command: echo “<Your First Name> <Your Last Name>”
    3. Capture Screenshot:
      1. Take a screenshot of the terminal window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part2_Task2.extension (e.g., JohnDoe_LabB_Part2_Task2.png).
  3. Disk Space
    1. Enter the command: df -h
      1. What this does: This command displays the disk usage and available free space on all mounted filesystems in a human-readable format.
    2. Enter the command: echo “<Your First Name> <Your Last Name>”
    3. Capture Screenshot:
      1. Take a screenshot of the terminal window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part2_Task3.extension (e.g., JohnDoe_LabB_Part2_Task3.png).
  4. Network Information
    1. Enter the command: ifconfig
      1. What this does: This command displays the IP configuration for all network interfaces on your Linux system.
    2. Enter the command: echo “<Your First Name> <Your Last Name>”
    3. Capture Screenshot:
      1. Take a screenshot of the terminal window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part2_Task4.extension (e.g., JohnDoe_LabB_Part2_Task4.png).
  5. Network Connectivity
    1. Enter the command: ping google.com
      1. What this does: This command sends ICMP Echo Request packets to the specified destination (google.com) to test network connectivity.
      2. You will notice that it keeps pinging, more than four times like it did on the Windows system. Hit Ctrl+C to stop the ping.
    2. Enter the command: echo “<Your First Name> <Your Last Name>”
    3. Capture Screenshot:
      1. Take a screenshot of the terminal window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part2_Task5.extension (e.g., JohnDoe_LabB_Part2_Task5.png).
  6. Tracing Network Routes
    1. Enter the command: traceroute google.com
      1. What this does: This command traces the network route taken by packets from your Linux machine to the specified destination (google.com).
    2. Enter the command: echo “<Your First Name> <Your Last Name>”
    3. Capture Screenshot:
      1. Take a screenshot of the terminal window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part2_Task6.extension (e.g., JohnDoe_LabB_Part2_Task6.png).
  7. DNS Lookup
    1. Enter the command: nslookup www.google.com
      1. What this does: This command performs a DNS lookup for the specified hostname (www.google.com) and displays its associated IP address(es).
    2. Enter the command: echo “<Your First Name> <Your Last Name>”
    3. Capture Screenshot:
      1. Take a screenshot of the terminal window showing the executed commands and the resulting outputs.
      2. Save the screenshot with the filename format: YourName_LabB_Part2_Task7.extension (e.g., JohnDoe_LabB_Part2_Task7.png).

Part 3 – Build and Submit Lab Report

  1. Create a lab report in your word processing application (Word, Google Docs, etc.).
    1. Your lab should be organized as follows:
      1. Title page or page heading with your name, course number, assignment name, professor’s name, and date.
      2. Create a section heading for Part 1 and Part 2.
      3. Insert your screenshots from parts 1 and 2 under the corresponding section header. You must put them in sequential order and you must label them above each screenshot. Labeling them means it should look like this:

Title Page

New Page

Part 1

Task 1

<Task 1 screenshot goes here>

Task 2

<Task 2 screenshot goes here>

and so on…

Part 2

Task 1

<Task 1 screenshot goes here>

Task 2

<Task 2 screenshot goes here>

and so on…

  1. Verify that you have inserted all screenshots and have the report formatted correctly.
  2. Submit the completed Word document to this area before the deadline. You may also save/convert it as a PDF before submitting it. This must be submitted as an attachment, not a link.

Lab Complete!

Get your college paper done by experts

Do my question How much will it cost?

Place an order in 3 easy steps. Takes less than 5 mins.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *