Sub topic 8
Networking: ports, protocols, wireless, and SOHO setup
This chapter assumes you know what an IP address is and have used a home router. It covers the Networking domain. Weightings and question counts differ between exam versions, so check CompTIA's current exam objectives for exact figures.
What the domain tests
Expect questions on four areas: ports and protocols, wireless standards, network hardware, and configuring a small office/home office (SOHO) network. A port is a numbered channel that directs traffic to the right service on a device. A protocol is an agreed set of rules for exchanging data.
Ports to memorize
| Port | Protocol | Purpose |
|---|---|---|
| 20/21 | FTP | File transfer |
| 22 | SSH | Encrypted remote shell |
| 23 | Telnet | Unencrypted remote shell |
| 25 | SMTP | Sending email |
| 53 | DNS | Name resolution |
| 67/68 | DHCP | Automatic IP addressing |
| 80 | HTTP | Web traffic |
| 110 | POP3 | Retrieving email |
| 143 | IMAP | Retrieving email, kept on server |
| 443 | HTTPS | Encrypted web traffic |
| 445 | SMB | Windows file sharing |
| 3389 | RDP | Remote Desktop |
Questions often pair a port with a scenario, such as "a user needs encrypted remote access", where the answer is SSH on port 22. Telnet is the unencrypted distractor.
Wireless essentials
- 2.4 GHz reaches farther and passes through walls better. It is slower and more crowded. Channels 1, 6, and 11 do not overlap.
- 5 GHz is faster and less crowded, but has shorter range.
- 802.11n (Wi-Fi 4) uses 2.4 and 5 GHz. 802.11ac (Wi-Fi 5) uses 5 GHz. 802.11ax (Wi-Fi 6) improves performance in crowded areas.
- For security, choose WPA3 or WPA2 with AES. Avoid WEP and open networks.
SOHO setup
A SOHO router combines several roles: router, switch, wireless access point, DHCP server, and NAT (network address translation, which lets many private addresses share one public address).
Common setup tasks:
- Change the default administrator password.
- Update the router firmware.
- Change the SSID (network name) and enable WPA2 or WPA3.
- Disable WPS, which has known weaknesses.
- Confirm DHCP is on, or set static IP addresses for devices such as printers.
- Use port forwarding only for services that need inbound access.
Checking a configuration
On Windows, this command shows each adapter's address, gateway, DNS servers, and DHCP status:
ipconfig /allAn address starting with 169.254 means the device is using APIPA (automatic private IP addressing). It could not reach a DHCP server.
In a simulated configuration PBQ, you may be asked to set the SSID, pick the security mode, and change the default password on a mock router page. Treat these as a checklist and complete every setting.
Exercise
A user's laptop shows the IP address 169.254.18.7 and cannot reach the internet. Which service most likely failed, and which port does it use?
Show answer
DHCP failed to assign an address, so Windows fell back to APIPA. DHCP uses UDP ports 67 (server) and 68 (client).
Exercise
An office has many neighboring Wi-Fi networks and needs the fastest short-range speeds. Which band should you choose, and why?
Show answer
Use 5 GHz. It is faster and less congested than 2.4 GHz, though its range is shorter.