4.1 The Internet

Part 1

Packet

How do computers send data to each other?

Popcorn Hack 1

The Internet

  1. Bandwidth
  2. Computer Network
  3. Packet Switching
  4. Operating System

Part 2

OSI Model

TCP Model

Waist Model

Popcorn Hack 2

A request from the frontend to the backend is being made and the response returns JSON. What layer(s) did the data go through?

  1. Application
  2. Transport
  3. Internet
  4. Network Access
  5. All layers

What is an example of the OSI/TCP Model

Process

Network Access/Internet Layer

Application/Transport Layer

  1. The user sends a request to a server or page
  2. If the user wants to go to a website like amazon.com, it has its unique IP address but it isn’t readable by humans so a DNS(Domain Name Service), which stores the IP address inside of a database, sends it over the user
  3. During this process, the user sent a TCP request for the IP of amazon.com to the DNS server and the DNS server sent a TCP response in the form of packets for the IP of amazon.com
  4. Now, the user can send a request to the IP of the webpage like amazon.com
  5. The last step is for a router to send the user to the correct destination of the IP. In this case, amazon.com.

Popcorn Hack 3

How does a user get the IP for a web page when they enter the url?

  1. It goes through layers when the request is made to the webp
  2. The DNS sends it to the user in the form of a TCP response
  3. There is no need for the user to know the ip when going to the url
  4. The user automatically knows

Protocols used here are:

HTTP

TCP/IP

Homework

Bandwidth:

  1. In the context of computer networks, elaborate on the concept of bandwidth. Discuss how bandwidth influences the speed and efficiency of data transfer. Provide examples of scenarios where both high and low bandwidth can impact the performance of internet connected devices.

Computer Network:

  1. Explore computer networks by detailing the key components and their interplay. Discuss the significance of scalability, security, and reliability in designing computer networks. Provide real-world examples of how different types of computer networks, such as local area networks (LANs) and wide area networks (WANs), serve distinct purposes in various settings.

Packet Switching:

  1. Investigate packet switching and its role in modern communication systems. Compare and contrast packet switching with alternative methods, such as circuit switching, highlighting the advantages that packet switching brings to data transmission. Describe the journey of a data packet through a network.

Homework Answer

  1. Bandwidth in computer networks is the data transfer rate, influencing how fast information travels. High bandwidth means quicker data transmission, improving experiences like streaming or downloading large files. Conversely, low bandwidth leads to delays, buffering, and dropped connections. For instance, a high-bandwidth connection suits a household with multiple devices streaming, ensuring smooth performance, while low bandwidth hampers such activities, causing frustration with interruptions and slower data retrieval.

  2. Computer networks consist of key components like routers, switches, and servers, working together to facilitate communication. Scalability ensures networks can expand efficiently, adapting to growing demands. Security is crucial to safeguard data from unauthorized access or cyber threats, and reliability ensures consistent and uninterrupted connectivity.

In real-world examples, LANs are ideal for small-scale setups like offices, providing fast communication within a limited area. WANs, on the other hand, connect geographically dispersed locations, such as a company with offices worldwide, enabling seamless data exchange. The design must balance scalability, security, and reliability to meet the specific needs of each network type and its context.

  1. Packet switching, a key element in modern communication, breaks data into packets for efficient transmission. Unlike circuit switching, it doesn’t require a dedicated path, optimizing network resources. It allows for better scalability, as packets can take different routes to reach their destination, enhancing reliability. In contrast, circuit switching establishes a dedicated path for the entire communication, which can be less flexible and resource-efficient.

In packet switching, data packets travel independently through the network, each taking the most efficient route. They may be briefly stored and forwarded at different nodes, ensuring optimal use of network resources. This method enables simultaneous data transmission, reducing delays and enhancing overall efficiency in data communication.

##