? Computer Network Interview Cheat Sheet
? Computer Network Interview Cheat Sheet
A computer network is a group of interconnected devices (computers, servers, routers, etc.) that
communicate and share resources (data, printers, internet access) either wired or wirelessly.
2. Types of Networks
Type Description
PAN Personal Area Network – for individual use (e.g., Bluetooth)
LAN Local Area Network – within a building or campus
MAN Metropolitan Area Network – spans a city
WAN Wide Area Network – spans countries (e.g., the Internet)
4. TCP/IP Model
Layer Protocols
Application HTTP, FTP, DNS, SMTP
Transport TCP, UDP
Internet IP, ICMP
Network Access Ethernet, Wi-Fi, ARP
5. IP Addressing
IPv4: 32-bit (e.g., 192.168.1.1)
IPv6: 128-bit (e.g., 2001:db8::ff00:42:8329)
6. MAC Address
7. TCP vs UDP
IP Address: 192.168.1.0/24
Subnet Mask: 255.255.255.0
Usable IPs: 254 (from .1 to .254)
Purpose: Segmenting networks for management/security.
Automatically assigns IP addresses and other network configuration details (like DNS) to
devices.
Allows multiple private IP devices to share one public IP for Internet access.
13. Firewalls
Topology Description
Bus One backbone cable, shared by all
Star All devices connected to a central hub
Ring Circular connection, data passes through each node
Mesh Each device connected to every other device
A secure encrypted tunnel over the internet used for private browsing or accessing restricted
networks.