Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Network Questions!