Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Network Statistics For this lab we will be using a network statistic application within the Raspberry Pi to look at active connections, current packet traffic,

Network Statistics

  • For this lab we will be using a network statistic application within the Raspberry Pi to look at active connections, current packet traffic, and other useful statistics for a networked device.
  • Follow the steps below and answer the questions along the way in a different font color.

  1. Make sure the cable without the red tape is plugged into your Pi. Log in as the pi user.
  2. Create network connections and network traffic.
    1. Open Chromium on your Raspberry Pi and browse at least four websites in separate tabs. Make sure to keep all websites open. Vary your browsing to ensure a wide range of network connections (social media, news, gaming, tech, etc.).
  3. Determine all active connections.
    1. Open the terminal and run exactly this command, including spaces, capitalization, and punctuation: netstat -a | egrep "Proto|tcp|udp" The first line of the output should start with Proto. This line contains the column headers. The rest of the lines are the TCP and UDP results.
      1. Note: You can get the same results by just typing netstat -a But then you will likely need to scroll up through a lot of unwanted and cluttering results. Adding the pipe character (the | ) and the egrep command filters the results to display only what we want.
  4. Record three active connections you notice.
    1. Connection 1
      1. Proto:
      2. Local Address:
      3. Foreign Address:
      4. State:
    2. Connection 1
      1. Proto:
      2. Local Address:
      3. Foreign Address:
      4. State:
    3. Connection 1
      1. Proto:
      2. Local Address:
      3. Foreign Address:
      4. State:
  5. Determine packet statistics
    1. While still in the terminal, run this command: netstat -i
    2. Record the interface with the largest packet numbers:
      1. Iface: __________
      2. RX-OK: _______________
      3. TX-OK: __________________
    3. For the interface above, are there numbers other than 0 under RX-ERR, RX-DRP, TX-ERR or TX-DRP?

What does it mean if there are numbers in these fields greater than 0?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

Students explore these related Databases questions