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 anetworkeddevice.
  • 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.
  3. Open Chromium on your Raspberry Pi and browseat least fourwebsitesin 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.).
  4. Determine all active connections.
  5. Open the terminal and runexactlythis command, including spaces, capitalization, and punctuation:
  6. netstat -a |egrep"Proto|tcp|udp"
  7. 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.
  8. Note: You can get the same results by just typingnetstat -a
  9. But then you will likely need to scroll up through a lot of unwanted and cluttering results.Adding the pipe character (the| )and theegrepcommand filters the results to display only what we want.
  10. Recordthreeactive connections you notice.
  11. Connection 1
  12. Proto:
  13. Local Address:
  14. Foreign Address:
  15. State:
  16. Connection 1
  17. Proto:
  18. Local Address:
  19. Foreign Address:
  20. State:
  21. Connection 1
  22. Proto:
  23. Local Address:
  24. Foreign Address:
  25. State:
  26. Determine packet statistics
  27. While still in the terminal, runthis command:netstat-i
  28. Record the interface with the largest packet numbers:
  29. Iface:__________
  30. RX-OK:_______________
  31. TX-OK:__________________
  32. For the interface above, are there numbers other than 0 under RX-ERR, RX-DRP,
  33. TX-ERR or TX-DRP?
  34. 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

Step: 3

blur-text-image

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

Computer Networks

Authors: Andrew S. Tanenbaum, David J. Wetherall

5th edition

132126958, 978-0132126953

More Books

Students also viewed these Computer Network questions

Question

Why are broadcast messages important?

Answered: 1 week ago