Docsity

Chapter_6_Computer_Networks_and_Internet_Protocols, Lecture notes of Computer Fundamentals

Toggle sidebar
bg1
CH AP TE R 06 • A PP LIE D COM PUT IN G
Computer Networks & Internet Protocols
Topic: Network Topologies, TCP/IP Model, Routing & Transport Protocols
1. Network Topologies & Hardware Roles
A computer network links independent computing nodes so they can exchange packets and share hardware resources. Most
modern local area networks (LANs) use a star topology where every end device connects to a central switch.
Switch: Operates inside a LAN and forwards frames strictly to the target device using hardware MAC addresses.
Router: Connects separate networks together and determines optimal paths using logical IP addresses.
DNS Resolver: Translates human-friendly domain names into numerical IPv4 or IPv6 addresses.
2. The Four-Layer TCP/IP Stack
Internet traffic relies on encapsulation , wrapping application payloads inside successive protocol headers before transmission.
Layer Core Responsibility Common Protocols
4. Application Provides network services directly to user software. HTTP/S, DNS, SMTP, SSH
3. Transport Manages host-to-host sessions, ports, and reliability. TCP, UDP
2. Internet Handles logical addressing and cross-network routing. IPv4, IPv6, ICMP
1. Link Transmits raw bits across physical cables or radio waves. Ethernet (802.3), Wi-Fi
3. TCP vs. UDP Transport Trade-offs
TCP (Transmission Control Protocol): Connection-oriented. Uses a three-way handshake ( SYN → SYN-ACK → ACK ),
numbers every byte, and retransmits dropped packets. Ideal for web pages and file downloads.
UDP (User Datagram Protocol): Connectionless. Sends datagrams without handshakes or delivery checks, minimizing
latency. Ideal for live video calls, gaming, and DNS lookups.
Quick Exam Memory Hook
MAC addresses stay fixed on the local physical link , whereas IP addresses change as packets hop across routers between
networks.
•
•
•
Client PC
LAN Switch
Gateway Router
WAN
•
•

Partial preview of the text

Download Chapter_6_Computer_Networks_and_Internet_Protocols and more Lecture notes Computer Fundamentals in PDF only on Docsity!

CH AP T ER 06 • AP PLIED COMPUTING

Computer Networks & Internet Protocols

Topic: Network Topologies, TCP/IP Model, Routing & Transport Protocols

1. Network Topologies & Hardware Roles

A computer network links independent computing nodes so they can exchange packets and share hardware resources. Most modern local area networks (LANs) use a star topology where every end device connects to a central switch.

Switch: Operates inside a LAN and forwards frames strictly to the target device using hardware MAC addresses. Router: Connects separate networks together and determines optimal paths using logical IP addresses. DNS Resolver: Translates human-friendly domain names into numerical IPv4 or IPv6 addresses.

2. The Four-Layer TCP/IP Stack

Internet traffic relies on encapsulation , wrapping application payloads inside successive protocol headers before transmission.

Layer Core Responsibility Common Protocols

  1. Application Provides network services directly to user software. HTTP/S, DNS, SMTP, SSH
  2. Transport Manages host-to-host sessions, ports, and reliability. TCP, UDP
  3. Internet Handles logical addressing and cross-network routing. IPv4, IPv6, ICMP
  4. Link Transmits raw bits across physical cables or radio waves. Ethernet (802.3), Wi-Fi

3. TCP vs. UDP Transport Trade-offs

TCP (Transmission Control Protocol): Connection-oriented. Uses a three-way handshake ( SYN → SYN-ACK → ACK ), numbers every byte, and retransmits dropped packets. Ideal for web pages and file downloads. UDP (User Datagram Protocol): Connectionless. Sends datagrams without handshakes or delivery checks, minimizing latency. Ideal for live video calls, gaming, and DNS lookups.

Quick Exam Memory Hook MAC addresses stay fixed on the local physical link , whereas IP addresses change as packets hop across routers between networks.

Client PC LAN Switch Gateway Router WAN