Networking basics

Networking basics #

Scope #

  • Networking as Inter-Process Communication (IPC)
  • Packets
  • Network interfaces
  • Addressing
  • Basics of the ip command
  • The nc tool
  • Capturing network traffic using tcpdump
  • Packet encapsulation
  • Network stack
  • Layered network models (OSI and TCP/IP)
  • MAC hardware addresses
  • Ethernet header
  • Operating principles of switches
  • IP header
  • Operating principles of a router
  • Address Resolution Protocol (ARP)
  • Routing table
  • IP packet fragmentation
  • TTL (Time To Live)
  • ICMP protocol

Reference #

  1. Lecture Slides
  2. Code samples
  3. Textbook: chapter 16 (Distributed Operating Systems): sec 16.3 (Network Structure), sec. 16.4 (Network Topology), sec. 16.5 (Communication Structure), sec. 16.6 (Communication Protocols), sec. 16.9 (An Example: Networking)
  4. Old Slides: Inet_1en.pdf
  5. Supplementary reading: W.R. Stevens, Unix Network Progamming, Vol. 1, 2nd Ed.
    Chapters: 1 (Introduction), 2 (The Transport Layer: TCP and UDP).