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.
Help Desk Ticket #1042
Ticket Details
User: Sarah Jenkins
Issue: "I can print to the office printer, but I can't open any websites or check email."
This scenario is a classic example of a connectivity gap between local and external resources.
Welcome to the help desk. We have a new ticket from Sarah Jenkins. She's frustrated because she can print her reports locally, but she's completely cut off from the internet. To solve this, we need to understand how networks are structured and how data finds its way out of the building.
- Local connectivity (printing) works.
- External connectivity (web/email) is failing.
- The goal is to isolate where the communication breaks.
Network Types: LAN vs. WAN
Networks are categorized by their geographic reach.
- LAN (Local Area Network): Small area like an office.
- WLAN (Wireless LAN): A LAN using Wi-Fi.
- WAN (Wide Area Network): Large area, often connecting multiple LANs. The Internet is the ultimate WAN.
First, let's look at the scope. Sarah's computer and printer are part of a Local Area Network, or LAN. Because they are in the same building, they communicate directly. However, the websites she wants to visit are on the Wide Area Network, or WAN—specifically, the Internet. Her problem likely lies at the router, which acts as the bridge between her LAN and the WAN.
- LAN = Local (Home/Office)
- WLAN = Wireless Local
- WAN = Wide/Global (Internet)
Understanding Network Types
Networks are categorized by their geographic size:
- LAN (Local Area Network): A limited area like a home or office.
- WLAN (Wireless Local Area Network): A LAN that uses Wi-Fi instead of cables.
- WAN (Wide Area Network): Large distances, like cities or the entire Internet.
To solve our user's problem, we need to distinguish between these network types. A **LAN**, or Local Area Network, connects devices in a small area, like the user's computer and that hallway printer. A **WLAN** is simply a **LAN** that uses wireless signals. Finally, a **WAN**, or Wide Area Network, covers huge distances. The Internet is the world's largest **WAN**.
- LAN = Local (Office/Home)
- WLAN = Wireless LAN
- WAN = Wide/Global (The Internet)
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.
IP Addressing: IPv4 and IPv6
Every device needs a unique IP (Internet Protocol) address to communicate.
- IPv4: 32-bit, decimal format (e.g., 192.168.1.50). Limited to 4.3 billion addresses.
- IPv6: 128-bit, hexadecimal format. Provides virtually infinite addresses.
To talk to other devices, Sarah's computer needs an IP, or Internet Protocol address. Most networks still use IPv4, which looks like four numbers separated by dots. But because we ran out of IPv4 addresses, we now use IPv6. These are much longer, using hexadecimal characters to ensure every device on Earth can have its own unique ID.
- IPv4 uses octets (4 numbers).
- IPv6 uses hex (letters and numbers).
- IPv6 was created to solve IPv4 exhaustion.
The Internet's Phonebook: DNS
DNS (Domain Name System) – Port 53: Translates human-friendly names (google.com) into IP addresses.
If DNS fails, Sarah can't reach websites by name, even if her connection is physically active.
When Sarah types 'google.com', her computer doesn't actually know where that is. It asks a DNS, or Domain Name System server, on Port 53. The DNS acts like a phonebook, giving the computer the specific IP address needed to connect. Without DNS, the internet feels 'broken' because we can't remember thousands of numeric addresses.
- DNS = Name to IP translation.
- Uses Port 53.
- Crucial for web browsing.
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).
Common Protocols and Ports
Protocols are the 'rules' for communication. Each uses a specific Port (a logical gateway) to route traffic.
| Protocol | Port |
|---|---|
| DNS | 53 |
| DHCP | 67/68 |
| HTTP/HTTPS | 80/443 |
| SSH | 22 |
| RDP | 3389 |
Think of ports as doors to a building. Each protocol has its own door. **DNS** on Port 53 translates names like google.com into IP addresses. **DHCP** on Ports 67 and 68 automatically hands out **IP addresses** to devices. For the web, we use **HTTP** on Port 80 and the secure **HTTPS** on Port 443. Finally, for remote access, remember **SSH** on Port 22 and **RDP** on Port 3389.
- DNS (53) translates names to IPs.
- DHCP (67/68) assigns IPs automatically.
- HTTPS (443) is secure web browsing.
- SSH (22) is secure remote terminal.
PBQ: Troubleshooting the Gateway
The user still can't reach the internet. Use the terminal to diagnose the issue. Try typing ipconfig or ping 8.8.8.8.
Let's solve the ticket. Since the user can print locally but can't browse, we need to check their configuration. Type 'ipconfig' into the terminal to see if they have a valid gateway address. The **IP address** looks good, but look at the **DNS** server. It's blank. This is why they can't browse by name! Try pinging a public IP like 8.8.8.8 to see if the **WAN** connection is actually alive. The ping worked! This confirms the **WAN** is fine, but the **DNS** service is failing. You've successfully diagnosed the issue.
- Using ipconfig to check the gateway.
- Testing DNS by pinging an IP vs. a name.
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.
Automating Setup: DHCP
DHCP (Dynamic Host Configuration Protocol) – Ports 67, 68: Automatically assigns IP addresses and configuration to devices.
If Sarah's computer can't find a DHCP server, it might assign itself an APIPA address (169.254.x.x).
When a device joins a network, it needs an IP address. Instead of typing it manually, we use DHCP, or Dynamic Host Configuration Protocol. The DHCP server hands out addresses on Ports 67 and 68. If this fails, Windows assigns an APIPA address starting with 169.254. If you see that number, you know the DHCP server is unreachable.
- DHCP automates network configuration.
- Uses Ports 67 and 68.
- APIPA (169.254.x.x) indicates DHCP failure.
Core Protocols and Ports
Memorize these common protocols and their default ports for the A+ exam:
- SSH (Secure Shell) – Port 22: Secure remote login.
- HTTP – Port 80: Unsecure web traffic.
- HTTPS – Port 443: Secure web traffic.
- FTP (File Transfer Protocol) – Ports 20, 21: File transfers.
- RDP (Remote Desktop Protocol) – Port 3389: Windows remote control.
Beyond DNS and DHCP, you must know these core protocols. Notice that secure protocols like SSH on Port 22 and HTTPS on Port 443 are preferred over unencrypted ones like HTTP. For remote support, you'll often use RDP on Port 3389 to take control of a user's screen.
- SSH = Secure Remote (22)
- HTTPS = Secure Web (443)
- RDP = Windows Remote (3389)
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.
Troubleshooting Sarah's Ticket
Let's use the ipconfig and ping commands to find the break in Sarah's connection.
1. Check the Default Gateway (the router).
2. Verify DNS resolution.
Let's sit at Sarah's desk and open the command prompt. Type 'ipconfig' to see her settings. Her IP is 192.168.1.50 and her gateway is 192.168.1.1. If we can ping the gateway but not 'google.com', we know the LAN is fine, but the WAN or DNS is the issue. Great idea. Pinging 8.8.8.8 works, which means she HAS internet access. But pinging 'google.com' fails. This confirms the DNS server on Port 53 is the culprit!
- Default Gateway is the exit to the WAN.
- Pinging 8.8.8.8 tests raw connectivity.
- Pinging google.com tests DNS.
Exam Objectives Summary
Lesson Recap
- LAN vs. WAN: Local vs. Global scope.
- IPv4 vs. IPv6: 32-bit decimal vs. 128-bit hex.
- Protocols: DNS (53), DHCP (67/68), HTTP (80), HTTPS (443), SSH (22), RDP (3389).
You've completed the Networking Basics lesson. Remember: if local resources work but external ones don't, check the **WAN** gateway and **DNS** settings. Keep these ports and IP formats memorized, as they are high-frequency topics on the CompTIA A+ exam. See you in the next lesson!
- Identify network scope (LAN/WAN).
- Distinguish IP versions.
- Recall common ports.
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.
Performance-Based Question: Identify the Outage
A user reports they cannot access the company's secure file server. Look at their network configuration and identify the most likely cause.
Here is a new scenario. A user's computer shows an IP address of 169.254.11.4. Based on what you've learned, what is the primary problem? Click on the component that has failed. Correct! An address starting with 169.254 is an APIPA address, meaning the computer could not reach the DHCP server to get a valid configuration. Not quite. That component seems fine. Look closely at that 169.254 IP address. What service provides IP addresses automatically?
- Analyzing IP configurations.
- Identifying APIPA addresses.
- Recognizing protocol mismatches.
Lesson Summary & Exam Prep
Exam Objectives Covered:
- 2.1: Compare and contrast protocols and ports.
- 2.6: Summarize services provided by networked hosts.
- 2.7: Explain common networking concepts (IP, LAN/WAN).
Excellent work. We've solved Sarah's ticket and covered the core networking objectives for the A+ exam. Remember: if a user can print but not browse, isolate the LAN from the WAN and check those DNS and DHCP settings. You're now ready to move on to configuring SOHO networks!
- LAN vs WAN defines geographic scope.
- IPv4 (32-bit) vs IPv6 (128-bit).
- Ports are virtual doorways (DNS: 53, HTTPS: 443).