Networking Basics and Protocols

Help Desk Ticket #1042: The 'Internal Only' Issue

Help Desk Ticket #1042

User: Sarah Jenkins, Marketing

Issue: Sarah can print to the office printer just fine, but she cannot access any external websites or check her email.

This common scenario is our starting point for understanding how Local Area Networks (LANs) and Wide Area Networks (WANs) interact.

Welcome to your first day on the help desk. We have a ticket from Sarah Jenkins. She reports that her local printer works, but the internet is unreachable. This immediately tells us that her local connection is functional, but the path to the outside world is blocked.

  • Local communication works (printing).
  • External communication fails (web/email).
  • Goal: Identify where the network connection is broken.

Network Types: LAN vs. WAN

Geographic Reach

To solve Sarah's problem, we categorize networks by their scope:

  • LAN (Local Area Network): Devices in a limited area (home/office).
  • WLAN (Wireless Local Area Network): A LAN using Wi-Fi.
  • WAN (Wide Area Network): Connects multiple LANs over large distances. The Internet is the ultimate WAN.

A Local Area Network, or LAN, connects devices in a small area, like Sarah's office. If she were using Wi-Fi, we'd call it a WLAN. However, to reach the internet, her data must travel to a Wide Area Network, or WAN. In troubleshooting, we always look at the boundary where the LAN meets the WAN.

  • LAN = Local (Office/Home).
  • WAN = Wide (The Internet).
  • Sarah's printer is on her LAN; her email is on the WAN.

IP Addressing: IPv4 vs. IPv6

The Digital Address

Every device needs a unique IP (Internet Protocol) address to communicate.

  • IPv4 (Internet Protocol version 4): 32-bit, decimal format (e.g., 192.168.1.50). Limited to 4.3 billion addresses.
  • IPv6 (Internet Protocol version 6): 128-bit, hexadecimal format. Provides a virtually infinite supply of addresses.

Every device needs an identity. IPv4 uses four sets of decimal numbers. But with only 4.3 billion addresses, we've essentially run out. That's why we have IPv6, which uses hexadecimal characters to provide trillions upon trillions of unique addresses.

  • IPv4: Decimal, 4 octets, 32-bit.
  • IPv6: Hexadecimal, 8 groups, 128-bit.
  • IPv6 was created to solve IPv4 exhaustion.

Common Protocols and Ports

The Rules of the Road

A Protocol is a set of rules. A Port is a virtual doorway (0-65535).

  • DNS (Domain Name System): Port 53
  • DHCP (Dynamic Host Configuration Protocol): Ports 67, 68
  • HTTP/HTTPS: Ports 80 / 443
  • SSH (Secure Shell): Port 22
  • RDP (Remote Desktop Protocol): Port 3389

Think of a protocol as a language and a port as a specific door at an address. DNS on Port 53 is the internet's phonebook. DHCP on Ports 67 and 68 gives devices their IP addresses automatically. For the web, we use HTTP on Port 80, or the secure HTTPS on Port 443.

  • DNS translates names to IPs.
  • DHCP assigns IP addresses automatically.
  • HTTPS (443) is the secure version of HTTP (80).

Protocol Matching Challenge

Match the Protocol to its default Port Number. This is a critical skill for the CompTIA A+ exam.

Let's test your memory. Drag the protocol names on the left to their correct port numbers on the right. Excellent! You've correctly identified that port. Well done. You've mastered the essential ports for this module.

  • Memorizing common ports.
  • Distinguishing secure vs. insecure protocols.

Troubleshooting Sarah's PC

Investigation Time

Use the simulated command prompt to check Sarah's network configuration. Type ipconfig to see her current settings.

Let's look at Sarah's computer. Type 'ipconfig' in the terminal to see her IP configuration. Look at the IP address. It's 192.168.1.15. That's a valid local address. Her Default Gateway is 192.168.1.1. Now, try to 'ping 8.8.8.8' to see if she can reach the internet by IP. The name resolution failed. This confirms it: her DNS settings on Port 53 are the problem. The ping worked! This means she HAS internet access, but she can't resolve names. Try to 'ping google.com' now.

  • Using ipconfig to verify IP and Gateway.
  • Identifying APIPA addresses (169.254.x.x).
  • Verifying DNS functionality.

Lesson Summary & Exam Objectives

Key Takeaways

  • LANs are local; WANs are geographic/internet-scale.
  • IPv4 is decimal/32-bit; IPv6 is hex/128-bit.
  • DNS (Port 53) is critical for web browsing by name.
  • APIPA (169.254.x.x) means DHCP failed.

Great work today. We've solved Sarah's ticket by identifying a DNS issue and explored the core protocols you'll see on the A+ exam. Remember to associate port numbers with their protocols and always check the Default Gateway when internet access fails.

  • Differentiate LAN/WAN/WLAN.
  • Identify common ports (22, 53, 80, 443, 3389).
  • Troubleshoot by isolating local vs. external issues.