Week 2: Networking 101

Path: Security Fundamentals | Module: 2 of 4

The Language of the Internet

Computers are useful, but connected computers are revolutionary. Networking is the study of how data moves from Point A to Point B.

1. The OSI Model

A conceptual framework used to understand network interactions.

  1. Physical: Cables, electricity, wifi radio waves.
  2. Data Link: MAC addresses, switches.
  3. Network: IP addresses, routers. (Where the internet lives).
  4. Transport: TCP/UDP processes. Reliability.
  5. Session: Managing connections.
  6. Presentation: Encryption (SSL), formats (JPEG).
  7. Application: What the user sees (HTTP, SMTP).

2. IP Addressing & DNS

  • IPv4: Your digital address (e.g., 192.168.1.1). Unique on the network.
  • DNS (Domain Name System): Humans are bad at remembering numbers. DNS translates "google.com" into "142.250.190.46". It is the phonebook of the internet.

3. Ports & Protocols

If an IP address is the building number, the Port is the apartment number.

  • Port 80 (HTTP): Unencrypted web traffic.
  • Port 443 (HTTPS): Encrypted web traffic.
  • Port 22 (SSH): Secure remote login.
  • Port 53 (DNS): Domain name lookups.

🔬 Lab Exercise: Viewing the Matrix

Objective: See traffic moving across the wire.

  1. Install Wireshark (a network protocol analyzer).
  2. Open Wireshark and select your active network adapter (WiFi or Ethernet).
  3. Start capturing packets.
  4. Open a terminal/cmd and type ping google.com.
  5. Stop the capture and look for "ICMP" packets. That is your ping!