The Internet Demystified- Core Concepts

Internet is a worldwide network of computer networks that connects millions of devices. The Internet provides services to applications, like delivering web pages (HTTP), emails (SMTP), or file transfers (FTP).

Components →

  • End Systems: Devices that run applications (e.g., your laptop running a browser or a server hosting a website).
  • Communication Links: Physical media like fiber optic cables, Wi-Fi, or Ethernet that carry data.
  • Packet Switches: Routers and switches that direct data traffic. Routers connect different networks; switches operate within a single network.
  • Protocols: Rules that govern data communication, like TCP, IP, and HTTP. They ensure devices can “talk” to each other. Internet protocols are defined by standards bodies like the IETF (Internet Engineering Task Force), which publishes RFCs (Request for Comments).

Network Edge

End Systems (Hosts) like laptops, smartphones or servers that run applications (e.g., browsers, email clients, web servers) make up the network edge.

2 Models of connectivity

  • Client-Server Model - ****Your browser (client) sends an HTTP request to a website’s server, which responds with the webpage data.
  • Peer-to-Peer(P2P) Model - **** File-sharing systems like BitTorrent, where users download and upload files to each other.

Access Networks

The networks that connect end systems. Types -

  • Residential: DSL (uses phone lines), cable (uses TV cables), or fiber-to-the-home (FTTH).
  • Wi-Fi: Wireless local area networks (LANs) connecting devices to a router, which in turn can be connected to a cable or Fiber Internet.
  • Mobile: Cellular networks (e.g., 4G, 5G) connecting smartphones to the Internet.

Network Core

The network core is the interconnected mesh of routers and switches that moves data packets between end systems across the Internet.

Packet Switching vs Circuit Switching

Packet Switching - Data is divided into packets, small chunks with source/destination addresses, onde they reach destination packets are reassembled.

Circuit Switching - Reserves a dedicated circuit for the entire communication, like traditional phone calls.

Routing and Forwarding

Forwarding - A router uses its forwarding table to send a packet to the next hop based on the packet’s destination IP address.

Routing - Algorithms (e.g., RIP, OSPF, BGP) compute the best paths and update forwarding tables to guide packets across the network.