Junior Network Engineer Interview Questions and Answers

Milad Bonakdar
Author
Prepare for entry-level networking interviews with practical questions on TCP/IP, subnetting, VLANs, DHCP, routing, switching, and troubleshooting.
Introduction
Junior network engineer interviews usually test whether you can explain the fundamentals clearly and troubleshoot in a structured way. Expect questions on OSI and TCP/IP, subnetting, VLANs, DHCP, DNS, routing, switching, basic security controls, and how you would isolate a connectivity problem.
Use each answer as a model, then practice saying it in your own words. A strong junior answer is not just a definition; it connects the concept to a real network problem, the commands you would check, and the risk you would avoid.
TCP/IP Fundamentals
1. Explain the OSI model and TCP/IP model.
Answer:
OSI Model (7 Layers):
- Physical - Cables, signals
- Data Link - MAC addresses, switches
- Network - IP addresses, routing
- Transport - TCP/UDP, ports
- Session - Connections
- Presentation - Encryption, formatting
- Application - HTTP, FTP, DNS
TCP/IP Model (4 Layers):
- Network Access - Physical + Data Link
- Internet - IP
- Transport - TCP/UDP
- Application - Application + Presentation + Session
In an interview, explain that OSI is often used as a troubleshooting framework, while TCP/IP maps more closely to how real networks and protocols are implemented. For example, if a user says "the internet is down," you can move from Layer 1 checks like cable/link status to Layer 3 IP/gateway checks and then Layer 7 DNS or application checks.
Rarity: Very Common
Difficulty: Easy
2. What's the difference between TCP and UDP?
Answer:
TCP is better when correctness matters, such as web sessions, file transfers, SSH, and email. UDP is better when low latency matters and the application can tolerate or handle loss, such as DNS lookups, voice, video, gaming, and some streaming protocols.
TCP Three-Way Handshake:
Rarity: Very Common
Difficulty: Easy
IP Addressing
3. Explain subnetting and calculate subnet masks.
Answer: Subnetting divides a network into smaller subnetworks.
Example: 192.168.1.0/24
- Network: 192.168.1.0
- Subnet Mask: 255.255.255.0
- Usable IPs: 192.168.1.1 - 192.168.1.254
- Broadcast: 192.168.1.255
Subnetting Example:
CIDR Notation:
- /24 = 255.255.255.0 (256 addresses)
- /25 = 255.255.255.128 (128 addresses)
- /26 = 255.255.255.192 (64 addresses)
- /27 = 255.255.255.224 (32 addresses)
Interview shortcut: each borrowed bit doubles the number of subnets and halves the size of each subnet. For a /26, there are 64 addresses per subnet, and two are normally reserved for the network and broadcast addresses.
Rarity: Very Common
Difficulty: Medium
4. Explain NAT and its types.
Answer: NAT (Network Address Translation) translates private IP addresses to public IP addresses.
Why Use NAT:
- Conserve public IP addresses
- Reduce direct exposure of internal private addresses
- Flexibility in network design
NAT Types:
1. Static NAT:
- One-to-one mapping
- Private IP ↔ Public IP
- Used for servers
2. Dynamic NAT:
- Pool of public IPs
- First-come, first-served
- Temporary mapping
3. PAT (Port Address Translation):
- Many-to-one mapping
- Uses port numbers
- Most common (home routers)
Static NAT Configuration (Cisco):
Dynamic NAT Configuration:
PAT Configuration (Overload):
NAT Translation Example:
Troubleshooting NAT:
Limitations:
- Breaks end-to-end connectivity
- Complicates some protocols (FTP, SIP)
- Not suitable for servers (use static NAT)
- IPv6 eliminates need for NAT
Rarity: Very Common
Difficulty: Easy-Medium
Switching
5. What is a VLAN and why use it?
Answer: VLAN (Virtual LAN) logically segments a network.
Benefits:
- Segmentation (separate users, servers, voice, guest, or management traffic)
- Performance (reduce broadcast domains)
- Flexibility (group by function, not location)
- Policy control (apply different firewall, ACL, or quality-of-service rules)
An access port belongs to one VLAN and is usually used for an endpoint. A trunk carries multiple VLANs between switches, routers, or hypervisors by tagging frames. If a user cannot reach expected resources, verify the access VLAN, trunk allowed VLANs, native VLAN, and whether inter-VLAN routing exists.
VLAN Configuration (Cisco):
Rarity: Very Common
Difficulty: Medium
6. What is Spanning Tree Protocol and why is it needed?
Answer: STP (Spanning Tree Protocol) prevents Layer 2 loops in switched networks.
Problem Without STP:
- Broadcast storms
- MAC table instability
- Multiple frame copies
- Network meltdown
How STP Works:
STP Port States:
- Blocking: Doesn't forward frames, prevents loops
- Listening: Preparing to forward, listening for BPDUs
- Learning: Learning MAC addresses
- Forwarding: Normal operation
- Disabled: Administratively down
Port Roles:
- Root Port: Best path to root bridge
- Designated Port: Forwarding port on segment
- Blocked Port: Prevents loops
STP Selection Process:
STP Configuration (Cisco):
STP Variants:
RSTP (Rapid Spanning Tree):
RSTP Port States (Simplified):
- Discarding: Combines Blocking, Listening, Disabled
- Learning: Learning MAC addresses
- Forwarding: Normal operation
Troubleshooting STP:
Common Issues:
-
Topology Changes:
- Frequent changes cause instability
- Use PortFast on access ports
-
Root Bridge Placement:
- Should be central, high-capacity switch
- Set priority manually
-
Loops:
- Enable BPDU Guard on access ports
- Monitor for unexpected topology changes
Rarity: Common
Difficulty: Medium
Routing
7. What's the difference between static and dynamic routing?
Answer:
Static Routing:
- Manually configured
- No overhead
- Doesn't adapt to changes
- Good for small, stable networks
Dynamic Routing:
- Automatically learns routes
- Adapts to topology changes
- More overhead
- Good for large, complex networks
Static Route Example:
Dynamic Routing Protocols:
- RIP: Simple, distance-vector
- OSPF: Link-state, fast convergence
- EIGRP: Cisco proprietary, hybrid
- BGP: Internet routing
Rarity: Very Common
Difficulty: Easy-Medium
8. How do you configure Access Control Lists (ACLs)?
Answer: ACLs filter network traffic based on defined rules.
ACL Types:
1. Standard ACL (1-99, 1300-1999):
- Filters based on source IP only
- Applied close to destination
2. Extended ACL (100-199, 2000-2699):
- Filters based on source/dest IP, protocol, port
- Applied close to source
Standard ACL Example:
Extended ACL Example:
Named ACL (Recommended):
Wildcard Masks:
Common ACL Scenarios:
1. Block specific host:
2. Allow only SSH and HTTPS:
3. Prevent spoofing:
ACL Best Practices:
-
Order Matters:
- Processed top to bottom
- Most specific rules first
- Implicit deny at end
-
Placement:
- Standard ACL: Close to destination
- Extended ACL: Close to source
-
Documentation:
- Use named ACLs
- Add remarks
Editing ACLs:
Troubleshooting:
Rarity: Common
Difficulty: Medium
Network Services
9. How does DHCP work?
Answer: DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses.
DORA Process:
- Discover: Client broadcasts request
- Offer: Server offers IP address
- Request: Client requests offered IP
- Acknowledge: Server confirms assignment
DHCP Configuration (Cisco):
Rarity: Very Common
Difficulty: Easy-Medium
Troubleshooting
10. How do you troubleshoot network connectivity issues?
Answer: Use a top-down or bottom-up method, but be consistent and say what each step proves. A clear junior-level answer is:
1. Scope the issue: Ask who is affected, what changed, whether wired and wireless users are both affected, and whether the problem is one app, one subnet, one site, or all traffic.
2. Verify Physical and Data Link Layers:
On switches, also check whether the port is up, in the expected VLAN, blocked by STP, or shut down by port security.
3. Test Connectivity:
If pinging an external IP works but a domain name fails, the likely issue is DNS. If the gateway fails, check local IP configuration, VLAN assignment, DHCP, and switch/router interfaces.
4. Check IP Configuration:
5. Test DNS:
6. Check Routing:
7. Check Firewall or Port Access:
Finish by explaining the fix, verifying service is restored, and documenting the cause so the same issue is easier to prevent next time.
Rarity: Very Common
Difficulty: Medium
Conclusion
For a junior network engineer interview, focus less on memorizing every command and more on showing a calm troubleshooting process. You should be able to explain:
- TCP/IP: OSI model, protocols, addressing
- IP Addressing: Subnetting, CIDR, IPv4/IPv6
- NAT: Types, configuration, use cases
- Switching: VLANs, trunking, MAC addresses
- STP: Loop prevention, port states, RSTP
- Routing: Static vs dynamic, routing tables
- ACLs: Standard vs extended, wildcard masks
- Network Services: DHCP, DNS, NAT
- Troubleshooting: Scope, layer-by-layer checks, tools, verification
Practice with a lab or simulator, but also rehearse short verbal answers. Interviewers are usually looking for fundamentals, curiosity, and the ability to narrow a problem without guessing.


