Junior Network Engineer Interview Questions: Complete Guide

Milad Bonakdar
Author
Master essential networking fundamentals with comprehensive interview questions covering TCP/IP, routing, switching, VLANs, and core network concepts for junior network engineer roles.
Introduction
Network Engineers design, implement, and maintain computer networks that enable communication and data transfer. As a junior network engineer, you'll need foundational knowledge of TCP/IP, routing, switching, and network troubleshooting.
This guide covers essential interview questions for junior network engineers, focusing on core networking concepts.
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
Rarity: Very Common
Difficulty: Easy
2. What's the difference between TCP and UDP?
Answer:
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)
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
- Security (hide internal network)
- 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
4. What is a VLAN and why use it?
Answer: VLAN (Virtual LAN) logically segments a network.
Benefits:
- Security (isolate traffic)
- Performance (reduce broadcast domains)
- Flexibility (group by function, not location)
- Cost savings (fewer physical switches)
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: Systematic troubleshooting approach:
1. Verify Physical Layer:
2. Test Connectivity:
3. Check IP Configuration:
4. Test DNS:
5. Check Routing:
6. Check Firewall:
Rarity: Very Common
Difficulty: Medium
Conclusion
Preparing for a junior network engineer interview requires understanding networking fundamentals and hands-on practice. Focus on:
- 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: Systematic approach, tools
Practice with network simulators (Packet Tracer, GNS3) and real equipment. Good luck!



