Network engineer interview questions and answers

Network engineer interview questions start with the fundamentals (the OSI model, TCP and UDP, subnetting, VLANs) and move quickly to routing protocols, firewalls, VPNs and troubleshooting scenarios where traffic is not getting through. Many interviews include subnetting done in your head or on a whiteboard and a walk-through of a network you designed or ran. Senior roles add design trade-offs, automation and cloud networking.

By Published 7 min read

What network engineers are hired for

Network engineers design, build and run the paths that every other system relies on: campus and branch LANs, the data center fabric, WAN and internet links, wireless, firewalls and remote access. Day to day that means configuring switches and routers, rolling out changes in maintenance windows, chasing packet loss and latency, and working with security and server teams when "the network" gets blamed for an application problem. Titles range from network administrator, which leans toward operations, to network architect, which leans toward design.

Interviewers want to see that you understand what the protocols actually do, not just the commands. A candidate who can explain why spanning tree blocked a port, or why a BGP route was not preferred, is trusted with production. Vendor experience matters (Cisco, Juniper, Arista, Palo Alto, Fortinet and others), but most teams accept transfer between vendors if the concepts are solid.

What the process often includes

  1. ScreenVendors and platforms you have run, network size, certifications if listed, and whether you have been on call.
  2. Fundamentals roundLayers, protocols, subnetting and switching basics, asked quickly to find the edges of your knowledge.
  3. Scenario or design round"Users at a branch cannot reach an application" or "Design the network for a new office of 300 people."
  4. Lab or config reviewSome employers give a simulated lab or a config with a fault in it and ask you to find the problem.
  5. Team fitChange control, documentation, working with other teams and handling outages.

Fundamentals and subnetting

Fundamental questions and what a good answer covers
QuestionWhat it testsWhat a strong answer shows
Walk through what happens at each layer when a laptop loads a web page.Layered modelARP for the gateway, DNS lookup, TCP handshake, TLS, HTTP, with frames, packets and segments named at the right layers
How many usable hosts are in a /26, and what is its broadcast address for 192.168.10.64?Subnetting64 addresses, 62 usable hosts, broadcast 192.168.10.127, worked out without a calculator
TCP or UDP for voice traffic, and why?TransportUDP, because a late packet is useless and retransmission adds delay; mention jitter and QoS
What does ARP do, and what is gratuitous ARP?Layer 2 to 3Maps IP to MAC on a segment; gratuitous ARP announces an address, used in failover and to detect conflicts
Explain NAT and PAT.Address translationPrivate to public translation, many hosts sharing one address through port numbers, and what breaks with NAT
What is MTU, and how does a mismatch show up?Packet sizeSmall packets work while large transfers stall, often over tunnels; path MTU discovery and blocked ICMP
Fundamental questions and what a good answer covers. Scroll sideways on a small screen.

For subnetting, learn the block sizes (128, 64, 32, 16, 8, 4) and how they map to prefix lengths. Interviewers often ask you to split a /24 into subnets for departments of different sizes, which tests variable-length masking. Talk through the math aloud as you go.

Switching questions

  • What is a VLAN and how does a trunk carry several of them? A separate broadcast domain on shared switches; trunks carry tagged frames using 802.1Q, with one native VLAN untagged.
  • Why does spanning tree exist, and what goes wrong without it? Redundant Layer 2 links create loops, and frames circulate until the network melts down in a broadcast storm. Spanning tree blocks redundant paths.
  • How is the root bridge chosen, and why should you set it yourself? Lowest bridge ID wins. Leaving it to chance can put the root on an access switch and send traffic the long way.
  • What do PortFast and BPDU guard do? PortFast skips the listening and learning wait on edge ports; BPDU guard shuts a port that receives a BPDU, protecting against a rogue switch.
  • What is link aggregation, and what must match on both sides? Several links bundled as one, usually with LACP; speed, duplex, VLANs and mode must agree.
  • A user's port shows up but they get no address. Check the access VLAN, the DHCP relay on the gateway, port security and whether the port is in err-disabled state.

Routing questions

Routing questions
QuestionWhat it testsWhat a strong answer shows
How does a router choose between two routes to the same prefix?Route selectionLongest prefix match first, then administrative distance between protocols, then the protocol's metric
Why does OSPF use areas?Link-state designLimits how far topology changes flood and keeps databases smaller; all areas connect to area 0
An OSPF neighbor is stuck and never reaches full. What do you check?AdjacencyMatching area, timers, subnet and mask, authentication, MTU, and network type
What is BGP used for, and how do you influence the path traffic takes?Inter-domain routingRouting between autonomous systems; local preference for outbound choice, AS path prepending or MED to suggest inbound paths
What do HSRP or VRRP provide?Gateway redundancyA virtual gateway address shared by two routers so hosts keep working if one fails
Static routes or a dynamic protocol for a small branch?JudgmentStatic is simple for one uplink; dynamic routing helps once there is a backup link or many sites
Routing questions. Scroll sideways on a small screen.
interface GigabitEthernet0/1
 description Uplink to core
 switchport mode trunk
 switchport trunk allowed vlan 10,20,30
!
interface Vlan20
 ip address 10.20.0.1 255.255.255.0
 ip helper-address 10.0.5.10
!
router ospf 1
 network 10.20.0.0 0.0.0.255 area 0
A small Cisco IOS example interviewers might ask you to read

Asked to explain this, you would say the uplink carries three VLANs, the VLAN 20 interface is the gateway for that subnet and relays DHCP requests to a server at 10.0.5.10, and the subnet is advertised into OSPF area 0. A follow-up might be: what happens to VLAN 40 traffic on that trunk?

Security, firewalls and VPN questions

  • What is the difference between a stateful firewall and an ACL on a router? A stateful firewall tracks connections and allows return traffic automatically; a basic ACL checks each packet on its own.
  • How does a site-to-site IPsec VPN come up? Two phases: the peers authenticate and build a secure channel, then negotiate the tunnels that carry traffic. Mismatched settings in either phase stop it.
  • How would you segment a network for a company that takes card payments? Put the payment systems in their own zone with tight rules in and out, and log access. This also limits the scope of audits.
  • What would you do if you saw a sudden spike of traffic from one internal host? Identify the host and port, check whether it is expected (backups, updates), and involve security if it is not.
  • IDS or IPS: what is the difference? An intrusion detection system alerts on suspicious traffic; an intrusion prevention system sits inline and can drop it, so a bad signature can also block legitimate traffic.
  • You added a firewall rule and nothing changed. What do you check? Rule order (an earlier deny or allow may match first), the right zone or interface, object definitions, NAT changing the addresses the rule sees, and whether the change was committed.

Questions about designing security controls across cloud and applications are a different job; see the security engineer guide for that side.

Troubleshooting, wireless, automation and cloud

  • "Users say the network is slow." Walk me through your first fifteen minutes.
  • How do you use a packet capture to prove where a problem is? When would you use Wireshark or tcpdump?
  • Wireless users at one end of the floor keep dropping. What could cause that?
  • What have you automated with Python, Ansible or a vendor API, and how did you test it before touching production?
  • How does a cloud VPC differ from a data center network, and how would you connect the two?
  • A site has two internet links from different providers. How would you use both and fail over cleanly?
  • Tell me about a change that caused an outage. What did you learn about your change process?

Fictional example

Answering "Tell me about a hard network problem you solved"
After we moved our branch offices onto a new SD-WAN service, staff at two sites could browse the web but file transfers to head office stalled partway through. Small packets were fine, so I suspected MTU. I sent pings with the do-not-fragment bit set and stepped the size down until they passed, which showed the tunnel's overhead left less room than our default 1500 bytes. A firewall in the path was also dropping the ICMP messages that would have let the hosts adjust on their own. I set TCP MSS clamping on the branch edge, allowed the needed ICMP types, and transfers completed normally. I wrote the MTU check into our site turn-up checklist so later branches started clean.

How to prepare in two weeks

  • Days 1 to 3: twenty subnetting problems a day, timed, including splitting a block for departments of different sizes.
  • Days 4 to 6: in a simulator or virtual lab, build two VLANs, a trunk, inter-VLAN routing and a DHCP relay. Break each piece once.
  • Days 7 to 9: set up OSPF between three routers and BGP between two, then practice explaining route selection aloud.
  • Days 10 and 11: review firewalls, NAT and IPsec phases, and capture a TCP handshake in Wireshark.
  • Days 12 to 14: prepare a network you ran as a diagram you can draw in two minutes, plus two outage stories. Skim the systems administrator guide for the server-side questions you may also get.

Drawing a topology while explaining it is a skill worth practicing aloud. Natively, an AI interview assistant for Mac and Windows, transcribes your mock interviews on the computer you run it on, so you can spot where a routing explanation got muddled. During practice it can suggest answers, read a config or a subnetting problem from a screenshot, and draw on the résumé and job description you add if you have Pro or are on the free trial. The transcript and notes are there to review afterwards.

Questions people ask

What questions are asked in a network engineer interview?

Fundamentals such as the OSI model, TCP and UDP and subnetting; switching topics like VLANs, trunks and spanning tree; routing with static routes, OSPF and BGP; firewalls, NAT and VPNs; and troubleshooting scenarios.

Is subnetting tested in network engineer interviews?

Very often. Expect to work out hosts per subnet, network and broadcast addresses, and how to split a block for departments of different sizes, usually without a calculator.

How do I answer network troubleshooting questions?

Scope who is affected, then work up the layers: physical link, addressing and VLAN, gateway and routing, DNS, firewall rules and the application. Prove each layer with a test before moving on.

What do network engineer freshers need to know?

The OSI and TCP/IP models, IP addressing and subnetting, how switches and routers forward traffic, VLANs, DHCP and DNS, basic firewall concepts and the main troubleshooting commands.

Where to go next

Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.

Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.

Keep reading

Put it on your own machine.

A live-conversation assistant that runs locally. Your conversations stay on your machine.

macOS 12+ · Windows 10/11

© 2026 Natively AI Private Limited

Source-available under the Natively Personal Use Source License v1.0 · IP geolocation by DB-IP