Internet and Networking Basics

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which of the following best describes the relationship between the internet and the World Wide Web?

  • The World Wide Web is a service that operates on the internet. (correct)
  • The internet is a service that operates on the World Wide Web.
  • The internet and the World Wide Web are both protocols within the TCP/IP stack.
  • The internet and the World Wide Web are the same thing.

What is the primary benefit of protocol layering in networking?

  • It only applies to the physical connections between devices.
  • It eliminates the need for different vendors to work together.
  • It increases the complexity of network communication.
  • It reduces complex networking tasks into smaller, manageable tasks. (correct)

Which layer of the TCP/IP model is responsible for establishing communication between two hosts?

  • Application Layer
  • Internet Layer
  • Link Layer
  • Transport Layer (correct)

At which layer of the TCP/IP model do routers primarily operate?

<p>Internet Layer (A)</p> Signup and view all the answers

What information is added to a packet at the Internet Layer during data transmission?

<p>Source and destination IP addresses (C)</p> Signup and view all the answers

What is the role of the Link Layer in the TCP/IP model?

<p>To manage network hardware and binary data transmission. (B)</p> Signup and view all the answers

Why are both MAC and IP addresses necessary for communication between different networks?

<p>MAC addresses are only used within a LAN, while IP addresses are used for routing between networks. (B)</p> Signup and view all the answers

What is the purpose of the Address Resolution Protocol (ARP)?

<p>To translate IP addresses into MAC addresses. (B)</p> Signup and view all the answers

What is the role of switches in a local area network (LAN)?

<p>To learn and store MAC addresses for connected devices. (A)</p> Signup and view all the answers

When data is transmitted from one network to another, what MAC address is initially used for the frame?

<p>The MAC address of the default gateway/router. (C)</p> Signup and view all the answers

What is the primary function of the Domain Name System (DNS)?

<p>To translate domain names into IP addresses. (C)</p> Signup and view all the answers

Which of the following is NOT a typical step in the DNS resolution process?

<p>The root server responds with the IP address of the requested domain (e.g., google.com). (A)</p> Signup and view all the answers

What happens to the MAC address during data transmission across multiple networks?

<p>The source and destination MAC addresses are overwritten at each hop on the journey. (A)</p> Signup and view all the answers

An email client uses which protocol at the Application Layer to send emails?

<p>SMTP (A)</p> Signup and view all the answers

In the context of data transmission, what is a 'socket'?

<p>A combination of an IP address and a port number. (D)</p> Signup and view all the answers

What is the role of sequence numbers in the Transport Layer?

<p>To reassemble packets in the correct order at the destination. (D)</p> Signup and view all the answers

Which of the following best describes the function of a web server?

<p>To host and serve web pages and resources to clients. (B)</p> Signup and view all the answers

What is the role of an Internet Service Provider (ISP) in home networking?

<p>To connect home networks to the internet backbone. (C)</p> Signup and view all the answers

In the context of computer networking, what is a 'protocol'?

<p>A set of rules that allows devices to communicate. (B)</p> Signup and view all the answers

Which of the following is primarily managed at the Link Layer?

<p>Managing network hardware and physical connections. (D)</p> Signup and view all the answers

What is the purpose of a 'header' in data transmission across the TCP/IP stack?

<p>To provide routing information at each layer. (A)</p> Signup and view all the answers

What is the main difference between TCP and UDP protocols, both used in the Transport Layer?

<p>TCP provides reliable, connection-oriented communication, while UDP is connectionless and faster but less reliable. (C)</p> Signup and view all the answers

Why is it important to split data into packets at the Transport Layer?

<p>To comply with network transmission size limits and improve efficiency. (A)</p> Signup and view all the answers

What is the recursive resolver's role in the DNS lookup process?

<p>To query different DNS servers to find the IP address associated with a domain name. (A)</p> Signup and view all the answers

Which of the following statements accurately reflects the difference between the four-layer and five-layer TCP/IP models?

<p>The five-layer model splits the Link layer of the four-layer model into Data Link and Physical layers. (B)</p> Signup and view all the answers

How does an IP address help in data delivery across networks?

<p>It helps routers determine the path to the destination network. (D)</p> Signup and view all the answers

What is the significance of port numbers in the Transport Layer?

<p>They enable multiple applications on a host to use the network simultaneously. (B)</p> Signup and view all the answers

How do switches reduce the need for broadcasting on a local area network (LAN)?

<p>By learning and storing MAC addresses of connected devices and forwarding traffic directly. (D)</p> Signup and view all the answers

What type of server does the resolver query initially in the DNS resolution process?

<p>Root Name Server (C)</p> Signup and view all the answers

How does using a MAC address to identify a device on the network compare to using an IP address?

<p>Using a MAC address identifies the device on the local network, likened to calling someone's name in a classroom, while the IP address is more like a general delivery address. (B)</p> Signup and view all the answers

Which layer of the TCP/IP stack is responsible for adding port numbers to track sessions?

<p>Transport Layer (A)</p> Signup and view all the answers

What is the role of headers and tails in data packets?

<p>They add control information for routing and error checking. (A)</p> Signup and view all the answers

When a web browser requests a URL, what is the first step in the process?

<p>The browser converts the URL into an IP address using DNS. (C)</p> Signup and view all the answers

If a device on a local network needs to send data to a device on a different network, what MAC address will be used as the destination MAC address in the initial frame?

<p>The MAC address of the router (default gateway). (A)</p> Signup and view all the answers

Which of the following protocols is used to transfer files between a client and a server?

<p>FTP (D)</p> Signup and view all the answers

Which layer is responsible for flow control and ensuring reliable data delivery?

<p>Transport Layer (A)</p> Signup and view all the answers

At which layer of the TCP/IP model is the message and header combined to form a 'segment'?

<p>Application Layer (A)</p> Signup and view all the answers

Flashcards

What is the Internet?

A wide area network (WAN) of interconnected networks, routers, cables, and satellites.

What is the World Wide Web?

An online service that operates on top of the internet.

What is Protocol Layering?

Breaks down networking tasks into smaller, manageable parts, with each layer providing a service to the layer above.

What is the Application Layer?

Network applications like web browsers and email which utilise protocols like HTTP, HTTPS and SMTP.

Signup and view all the flashcards

What is the Transport Layer?

Establishes communication between two hosts, setting communication settings like language and packet size. Includes protocols like TCP and UDP.

Signup and view all the flashcards

What is the Internet Layer?

Addresses packets and routes them across the network using IP.

Signup and view all the flashcards

What is the Link Layer?

Manages network hardware, connection port status, and device drivers to facilitate binary data transmission.

Signup and view all the flashcards

What is a Socket?

A combination of an IP address and port number, used to identify network applications.

Signup and view all the flashcards

What is a MAC address?

Used for communication on a local area network (LAN) and identifies a specific device.

Signup and view all the flashcards

What is an IP address?

Used for communication between different networks and provides the general location of a device.

Signup and view all the flashcards

What is ARP?

A protocol used to find the MAC address associated with a given IP address on a local network.

Signup and view all the flashcards

What is the World Wide Web?

Hypertext files (webpages) hosted on web servers.

Signup and view all the flashcards

What is a Web server?

Handles client requests for webpages or resources.

Signup and view all the flashcards

What is the Domain Name System (DNS)?

Maps domain names to IP addresses.

Signup and view all the flashcards

What is a DNS resolver server?

The first server queried in a DNS lookup process.

Signup and view all the flashcards

What is a DNS root name server?

The highest level in the DNS hierarchy.

Signup and view all the flashcards

What is a Top-Level Domain (TLD) server?

Handles domain name registrations for top-level domains.

Signup and view all the flashcards

Study Notes

Internet Basics

  • The internet is a wide area network (WAN) comprised of interconnected networks, routers, cables, and satellites.
  • The internet is distinct from the World Wide Web, which is a service that operates on the internet.
  • Home networks connect to an Internet Service Provider (ISP) through connections like telephone or fibre optic lines.
  • ISPs connect to domain name servers (DNS) and internet backbone routers.

The Complexity of Networking

  • Networking computers involves many complexities.
  • These complexities are managed using protocols to allow devices to communicated.

Protocol Layering

  • Protocol layering divides complex networking tasks into smaller, manageable tasks.
  • Each layer has a specific responsibility and provides a service to the layer above it.
  • Protocol layering reduces complex problems into subproblems.
  • This allows devices to be manufactured operating at particular layer.
  • This helps different vendors to work together and communicate.

TCP/IP Protocol Stack

  • TCP/IP is a crucial protocol stack with four layers that work together.
  • Data packets pass through these layers when sent and received.
  • The original TCP/IP model had four layers; an updated model has five, splitting the link layer into data link and physical layers.
  • The updated 5-layer model accounts for many physical connection options today.
  • The four-layer model is sufficient for understanding basic principles.

TCP/IP Layers

  • Application Layer: Deals with network applications like web browsers and email.
    • Includes protocols such as HTTP, HTTPS, FTP for web browsing, and SMTP for email.
  • Transport Layer: Establishes communication between two hosts.
    • Sets communication settings like language and packet size.
    • Includes TCP and UDP protocols.
  • Internet Layer: Addresses packets for transmission and routes them across the network.
    • Uses IP which is the Internet Protocol.
  • Link Layer: Manages network hardware, connection port status, and device drivers.
    • Facilitates binary data transmission through various mediums like copper, fibre, and Wi-Fi.

Data Transmission Example

  • An example message travels down the TCP/IP stack from the top and is repackaged at each stage before being sent.
  • Application Layer: Adds a header with protocols like HTTP, HTTPS, or FTP.
    • The message and header combine to form a segment.
  • Transport Layer: Uses TCP and protocols like UDP to establish and maintain connections.
    • Adds port numbers to track sessions to the header.
    • Splits data into packets and adds a sequence number, the total number of packets, and the port number.
  • Internet Layer: Adds the source and destination IP address to each packet, forming a socket (IP address + port).
    • Routers operate at this layer and use IP addresses to route packets.
  • Link Layer: Adds source and destination MAC addresses to each frame.
    • MAC addresses change at each router hop in a wide area network.

MAC vs. IP Addresses

  • Communication on a local area network (LAN) requires the link layer using MAC addresses.
  • Communication between different networks requires both the network layer (IP addresses) and the link layer.
  • Switches learn and store MAC addresses for connected LAN devices.
  • Routers cache some IP addresses.
  • MAC address identifies who you are, while IP address identifies where you are.
  • Using a MAC Address is like calling someones name in a classroom when you don't know who they are, and having them identify themselves when they respond.
  • IP addresses provide a general location for the device.

Data Delivery on Networks

  • On the same network, one host can send directly to another, or broadcast to find the destination MAC address.
  • The ARP (Address Resolution Protocol) facilitates this process.
  • Switches examine MAC addresses to learn which devices are connected to which addresses, reducing the need for broadcasting.
  • For different networks, data is transmitted via a router and the destination MAC address will be the address of the router.
  • When a frame reaches the router, the router works out where it needs to send the packet by looking at the destination IP and the header.
  • The source and destination MAC address are overwritten at each hop on the journey.
  • Packets are split up and wrapped with headers and tails, then delivered.
  • Final destination will strip off the headers and tails and the application receives the original message.

World Wide Web and DNS

  • The World Wide Web consists of hypertext files known as webpages which are hosted on web servers.
  • Web servers handles client requests for pages or resources.
  • A web page is sent to a web browser, which uses rules to render it correctly.
  • A user requests a URL in a browser.
  • The browser sends the domain name from the URL to the Domain Name System
  • The DNS maps the domain name back to an IP address
  • The IP address is then returned to back to the browser
  • A get request from the web page is sent to the web server using the IP address
  • The requested web page is returned to the client's web browser.

Domain Name System (DNS) Details

  • The browser sends the human-readable URL (e.g., www.google.com) to the DNS resolver server.
  • The resolver server queries a DNS root name server.
  • The root server responds with the address of the top-level domain (TLD) server (e.g., .com).
  • The resolver requests the IP address of the domain's name server (google.com) from the .com TLD server, and the .com TLD server responds with the IP address of the domain's name server
  • The recursive resolver sends a query to the domain's name server.
  • The IP address of google.com is returned to the resolver from its name server.
  • The DNS resolver responds to the web browser with the IP address of google.com.
  • The DNS involves different domain name servers.
  • These domain name servers work together to translate urls into their IP addresses

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

More Like This

Use Quizgecko on...
Browser
Browser