Computer Networks#

Lecture#

Panopto logo Computer Networks

Key Concepts#

LAN diagram Historical ethernet diagram Packet switching diagram Packet Diagram

Internet Protocol (IP)

“The Internet protocol suite is the conceptual model and set of communications protocols used in the Internet and similar computer networks. It is commonly known as TCP/IP because the foundational protocols in the suite are the Transmission Control Protocol (TCP) and the Internet Protocol (IP). The Internet protocol suite provides end-to-end data communication specifying how data should be packetized, addressed, transmitted, routed, and received. This functionality is organized into four abstraction layers, which classify all related protocols according to the scope of networking involved. From lowest to highest, the layers are the link layer, containing communication methods for data that remains within a single network segment (link); the internet layer, providing internetworking between independent networks; the transport layer, handling host-to-host communication; and the application layer, providing process-to-process data exchange for applications” (Wikipedia)

Comprehension Check#

Clipboard icon Computer Networks Comprehension Check

Application#

Q1a: Let’s use the ping command for a network test. Open a terminal shell (Terminal or Git BASH). Type ping followed by an IP address. A few you could choose from:

  • OpenDNS: 208.67.222.222 and 208.67.220.220

  • Cloudflare: 1.1.1.1 and 1.0.0.1

  • Google: 8.8.8.8 and 8.8.4.4

Sample command for Google:

ping 8.8.8.8

Press Enter/Return.

Q1b: Describe what you’re seeing in the ping command output. What do these results indicate about the network status? A couple resources that can help with understanding these results:

Q2a: Let’s run a similar test using the traceroute or tracert command. Still in the terminal, type tracert followed by a domain name or IP address.

Domain name example:

tracert google.com

IP address example:

tracert 8.8.8.8

Press Enter/Return.

Alternate traceroute workflow for MacOS users: Shaw Support, "How to run a Traceroute (Mac OS)."

Q2b: Describe what you’re seeing in the traceroute/tracert program output. What do these results indicate about the network status? How are they similar or different from the ping output?

A couple resources that can help with understanding these results: