Basic Networking Interview Questions with Answers

If you are preparing for your first network support, help desk, network administrator, or junior network engineer interview, start with the fundamentals. You should be able to explain how devices communicate, how IP addressing works, what common networking protocols do, and how to troubleshoot a connectivity problem. These 50 basic networking interview questions and answers cover those skills, along with network topologies, Ethernet cabling, security, and practical troubleshooting. The questions are representative practice material rather than questions attributed to specific employers. Use the answers to develop your understanding instead of memorizing them word for word.

Networking Fundamentals

1. What is a computer network, and why do we use networking?

A computer network is a collection of interconnected devices that exchange data using communication protocols. Networking allows users and applications to share files, printers, internet connections, storage, and other services. It also supports centralized administration, remote access, and communication between systems.

2. What is the difference between a LAN and a WAN?

A local area network (LAN) connects devices within a limited area, such as an office or building. A wide area network (WAN) connects networks across larger geographic areas, such as branch offices in different cities. A company may use a WAN to connect its branch LANs to a central data center.

3. What is a network interface card (NIC)?

A NIC, also called a network interface controller or network adapter, enables a device to communicate over a network. It may be integrated into a motherboard, installed separately, or implemented virtually. Ethernet and Wi-Fi adapters are common examples. An Ethernet or Wi-Fi interface uses a Media Access Control (MAC) address for link-layer communication.

4. What is an operating system?

An operating system (OS) manages hardware resources and provides services to applications. Windows, Linux, and macOS are examples. During startup, firmware and boot software typically run before the operating system loads. The OS manages networking functions such as interface configuration, protocol processing, and access to network services.

5. How many bits are in one byte?

One byte contains eight bits. Network transmission rates are commonly expressed in bits per second, while file sizes are often expressed in bytes. For example, a 100 Mbps link has a theoretical data rate of 12.5 MB/s before protocol overhead and other limitations.

6. What is a server?

A server is a system or software process that provides services to clients. Examples include web servers, file servers, and DNS servers. A server does not necessarily require specialized hardware. A regular computer or virtual machine can provide server services when configured appropriately.

7. What is a peer-to-peer network, and what is a Windows workgroup?

In a peer-to-peer arrangement, participating devices can provide and consume resources directly without depending on a dedicated central server for those resources. A Windows workgroup is a decentralized way to organize computers, commonly used for small networks. Accounts and permissions are generally administered separately on each computer. A workgroup is not an exact synonym for every peer-to-peer network.

8. How many computers can be added to a Windows workgroup?

There is no universal workgroup size limit that applies to every Windows version and service. Practical constraints include operating system licensing, concurrent connection limits for shared services, network capacity, security, and administrative effort. Adding computers does not automatically reduce performance, although increased demand can create bottlenecks. Centralized identity and management are often more appropriate for larger organizations.

9. What is a network protocol, and what is the IETF?

A protocol defines rules and formats for communication. Examples include IP, TCP, and DNS. The Internet Engineering Task Force (IETF) develops open technical specifications for internet technologies, published through the Request for Comments (RFC) series. Not every RFC is an internet standard. Ethernet and Wi-Fi specifications are primarily developed within IEEE 802.

10. What is a layer in networking?

A layer is a conceptual division of networking functions. Layering helps describe how protocols cooperate and makes troubleshooting more systematic. For example, the physical layer deals with signaling, while the network layer handles logical addressing and packet forwarding between networks.

11. What are the seven layers of the OSI model?

The Open Systems Interconnection (OSI) model organizes communication into seven layers.

LayerNameMain function
7ApplicationNetwork services used by applications
6PresentationData representation and transformation
5SessionManagement of communication sessions
4TransportEnd-to-end transport, such as TCP and UDP
3NetworkLogical addressing and routing, such as IP
2Data linkLocal frame delivery, such as Ethernet MAC addressing
1PhysicalTransmission of bits through electrical, optical, or radio signals

Real-world protocols do not always fit neatly into a single OSI layer. The model is particularly useful as a conceptual troubleshooting framework.

Network Topologies

12. What is a network topology?

Network topology describes the arrangement of devices and links. Physical topology describes actual connections, while logical topology describes how traffic flows. Common designs include star, bus, ring, mesh, and hybrid topologies.

13. What is a mesh topology, and how does it differ from a star topology?

A mesh topology uses multiple interconnections between participating nodes. It can provide alternative paths when links fail, provided the network protocols and design support failover. A star topology connects endpoint devices to a central device, typically a switch. Mesh designs can improve resilience but may require more links and more complex administration.

14. What is the difference between a full mesh and a partial mesh?

In a full mesh, every node has a direct link to every other node. In a partial mesh, only some node pairs have direct links. Other pairs communicate through intermediate nodes. A full mesh of n nodes using one bidirectional link per pair requires n(n - 1)/2 links. For five nodes, that means ten links. Partial mesh designs balance redundancy against cost and complexity.

15. What are the advantages and disadvantages of a bus topology?

In a traditional coaxial Ethernet bus, devices share one backbone cable. The design historically required relatively little cable and no central switch. However, shared bandwidth, collisions, segment length restrictions, and difficult fault isolation made it less practical as networks grew. A broken backbone or faulty termination can disrupt communication across the affected segment. Modern office Ethernet generally uses switched links instead.

16. Why does a coaxial Ethernet bus need terminators?

Terminators match the cable's characteristic impedance and reduce reflections at the ends of the bus. Traditional 10BASE2 and 10BASE5 Ethernet use 50-ohm coaxial systems with appropriate termination at both ends. Missing or incorrect termination can cause communication errors. Modern twisted-pair Ethernet does not require external bus terminators.

17. Is ring topology still used in LANs?

Yes, in some environments. Traditional Token Ring LANs are largely obsolete, but ring arrangements remain useful in industrial Ethernet and other resilient network designs. Ring protection protocols can provide an alternate path after a link failure. Ordinary office endpoint connections more commonly use switched star topologies. Redundant Ethernet rings need appropriate loop prevention or protection mechanisms.

18. Which topology is commonly used in modern networks?

Switched star and extended-star designs are common in office LANs. Endpoints connect to access switches, which connect to other switches or routing devices. Larger networks may use redundant hierarchical, ring, partial-mesh, or leaf-spine designs depending on their requirements. No single topology applies to all modern networks.

19. What is a hybrid topology?

A hybrid topology combines characteristics of multiple topology types. For example, an enterprise may connect groups of star-connected endpoints through a partially meshed backbone. A traditional star-bus design is another example. Hybrid designs allow different parts of a network to meet different connectivity and resilience requirements.

Network Devices and Ethernet

20. What does a network switch do?

An Ethernet switch connects devices within a LAN and forwards frames based on MAC addresses. It learns source MAC addresses and associates them with ingress ports within a VLAN. A known unicast frame is normally forwarded toward its destination port. Broadcasts and unknown unicasts are generally flooded within the relevant VLAN, subject to configuration and forwarding rules. Some switches also provide Layer 3 routing.

21. What is the difference between a hub and a switch?

FeatureHubEthernet switch
Typical OSI layerPhysical (Layer 1)Data link (Layer 2)
OperationRepeats received signalsProcesses and forwards frames
MAC address learningNoYes
Collision domainsSharedSeparate per port
DuplexHalf duplex in traditional shared EthernetTypically full duplex on modern point-to-point links

A traditional hub extends a shared collision domain and participates in propagating collision signals. It does not make MAC-based forwarding decisions. Full-duplex switched Ethernet eliminates normal Ethernet collisions on those links.

22. What is a router, and how is it different from a switch?

A router forwards IP packets between networks using routing information. A Layer 2 switch primarily forwards Ethernet frames within a LAN or VLAN. A Layer 3 switch can perform both functions. In a typical office, access switches connect endpoints and a router or Layer 3 switch provides connectivity between IP subnets.

23. What is server load balancing?

Server load balancing (SLB) distributes client traffic among eligible backend servers. A load balancer may use algorithms such as round robin or least connections and may monitor server health to avoid sending new requests to unhealthy backends. Load balancing can improve service availability and capacity. It can be implemented in hardware, software, or cloud services and does not necessarily involve equal distribution to every server.

24. What is a VLAN?

A virtual local area network (VLAN) separates a switched network into logical Layer 2 broadcast domains. Devices in different VLANs generally require Layer 3 forwarding to communicate. VLANs help organize users and services, reduce broadcast scope, and support segmentation. A VLAN alone is not a substitute for access controls or a firewall.

Network Cabling and Wireless Networking

25. When do we use a straight-through Ethernet cable?

Traditionally, straight-through unshielded twisted-pair (UTP) Ethernet cables connect devices with complementary port types, such as a computer, server, or conventional router Ethernet port to a switch or hub. A crossover cable was traditionally needed between certain like port types, such as two switches. Automatic medium-dependent interface crossover (Auto-MDIX) allows compatible modern ports to adjust to either wiring arrangement. Check device capabilities when working with older equipment.

26. Which standards apply to structured network cabling?

The ANSI/TIA-568 family specifies structured telecommunications cabling requirements. TIA/EIA-568-B is an older revision and should not be described as the current universal standard. For example, ANSI/TIA-568.2-E was published in 2024 for balanced twisted-pair cabling and components. ISO/IEC 11801 is another important international generic cabling standard. IEEE 802.3 defines Ethernet technologies and their associated physical-layer requirements. Verify the applicable revision for each installation.

27. What is attenuation?

Attenuation is the reduction in signal strength as a signal travels through a medium. It is commonly expressed in decibels (dB). Distance, frequency or wavelength, cable characteristics, and connector quality can affect signal loss. Excessive attenuation may prevent a receiver from recovering data reliably. Correct cable selection, installation, and link-budget calculations help manage it.

28. Which cables and connectors were used in traditional Ethernet bus networks?

10BASE2 (Thinnet) used 50-ohm RG-58-type coaxial cable with BNC T-connectors at network interfaces. The workstation connected directly to the shared bus through the T-connector rather than through a separate long drop cable. 10BASE5 (Thicknet) used thicker 50-ohm coaxial backbone cable, with external transceivers and Attachment Unit Interface (AUI) connections to hosts.

29. What is the difference between Thinnet and Thicknet?

FeatureThinnetThicknet
Ethernet technology10BASE210BASE5
Data rate10 Mbps10 Mbps
Maximum segment length185 m500 m
Approximate cable diameter5–6 mm (about 0.2–0.25 in)10 mm (about 0.4 in)

Cable diameter varies by construction. These are legacy technologies, so prioritize twisted-pair Ethernet and fiber for modern networking interviews unless the job involves older infrastructure. Cisco's Ethernet cable specifications provide additional historical details.

30. What are the advantages and disadvantages of wireless networking?

Wireless networks provide mobility, flexible endpoint placement, and convenient connectivity where running a cable to every endpoint is impractical. They are not always cheaper than wired networks because access points, surveys, cabling, and capacity planning may be required.

Wireless performance depends on signal quality, interference, channel use, client capabilities, and shared airtime. Radio signals may also extend beyond the intended coverage area. Appropriate authentication, encryption, and network segmentation help manage security risks. Wired Ethernet often provides more predictable performance for fixed devices, while Wi-Fi is useful for mobile access.

IP Addressing and Network Protocols

31. What is an IP address?

An Internet Protocol (IP) address is a logical address associated with a network interface for IP communication. IPv4 addresses contain 32 bits, such as 192.0.2.10. IPv6 addresses contain 128 bits, such as 2001:db8::10. A device may have several interfaces and multiple IP addresses. These examples use documentation address ranges.

32. What is the difference between static and dynamic IP addressing?

A static IP address is configured to remain fixed until its configuration changes. A dynamic address is typically obtained through the Dynamic Host Configuration Protocol (DHCP) and is subject to lease and server policies. A dynamic address may remain unchanged across many lease renewals. DHCP reservations can provide predictable addressing without requiring manual configuration on every client. IPv6 also supports stateless address autoconfiguration (SLAAC).

33. What is a subnet mask or prefix length?

A subnet mask identifies which bits of an IPv4 address represent the network prefix. Prefix length expresses the same concept as a count of leading network bits and is used with both IPv4 and IPv6. For example, 192.0.2.10/24 has the IPv4 mask 255.255.255.0 and belongs to the 192.0.2.0/24 subnet. Hosts use addressing and routing information to determine whether destinations are on-link or require a next hop.

34. What is a default gateway?

A default gateway is a next-hop router used to reach destinations for which a device has no more specific route. For example, a workstation may send traffic destined for an external network to its local router. Devices on the same ordinary IP subnet can generally communicate without using the default gateway, assuming local connectivity and security policies permit it.

35. What is the difference between an IP address and a MAC address?

An IP address supports logical addressing and routing across networks. A MAC address identifies an interface at the data link layer on Ethernet or similar networks. A router normally replaces the link-layer addressing information when forwarding an IP packet onto another Ethernet network. MAC addresses can be locally assigned or randomized, so they are not necessarily permanent hardware identifiers.

36. What is ARP?

Address Resolution Protocol (ARP) resolves an on-link IPv4 address to a corresponding link-layer address, typically an Ethernet MAC address. When sending traffic to a remote network, a host usually resolves the MAC address of its next-hop router, not that of the remote destination. IPv6 uses Neighbor Discovery rather than ARP.

37. What is DHCP, and how does a client obtain an IPv4 address?

DHCP provides IP configuration, which can include an address, subnet mask, router, and DNS server information. A common initial IPv4 lease exchange follows four messages: Discover, Offer, Request, and Acknowledgment (DORA). Lease renewals and other DHCP exchanges may use different sequences. A DHCP relay can forward requests between a client subnet and a server on another network.

38. What is DNS?

The Domain Name System (DNS) resolves domain names to information such as IPv4 and IPv6 addresses. It also supports other records, including mail routing information. If a workstation can reach a known IP address but cannot resolve a hostname, DNS configuration or availability is a useful area to investigate.

39. What is the difference between TCP and UDP?

Transmission Control Protocol (TCP) provides a reliable, ordered byte stream with connection management, retransmission, and congestion control. User Datagram Protocol (UDP) provides independent datagrams without built-in guarantees of delivery or ordering. Applications can implement their own reliability over UDP. SSH commonly uses TCP, while many real-time applications and protocols such as QUIC use UDP. DNS can use both.

40. What is round-trip time (RTT)?

RTT measures the elapsed time for a request or signal to travel to a destination and for the corresponding response to return. A ping utility estimates RTT using ICMP Echo Request and Echo Reply messages. The result includes delays along both directions and response processing. RTT is not the same as one-way latency or available bandwidth.

41. What is a loopback address, and what does it test?

A loopback address allows software to communicate with the local IP stack without sending traffic onto an external network. IPv4 reserves 127.0.0.0/8 for loopback use, with 127.0.0.1 being the conventional address. IPv6 uses ::1. A successful loopback ping suggests local IP and ICMP processing are working. It does not establish that the physical NIC, cable, switch, or remote network is operational. Some operating systems or security policies can affect ping behavior. A configured router loopback interface is a related but distinct concept and can have a routable address.

42. What is SNMP?

Simple Network Management Protocol (SNMP) allows management systems to retrieve device information and, where authorized and supported, modify managed values. It can report interface status, traffic counters, and other operational data. Devices may also send notifications such as traps or informs. SNMPv3 supports authentication and privacy when configured appropriately, while older community-based versions lack equivalent security protections.

Network Security

43. What is a VPN?

A virtual private network (VPN) provides logical private connectivity across shared infrastructure. Remote-access VPNs can connect individual users to organizational resources, while site-to-site VPNs can connect networks. IPsec and TLS-based VPNs commonly use encryption and authentication. Not every private network service described as a VPN provides encryption by itself. Access permissions and endpoint security remain important.

44. What is the difference between a firewall and antivirus software?

A firewall controls network traffic based on security policies and may filter both inbound and outbound communications. Antivirus or endpoint protection software detects, blocks, or removes malicious software and may monitor running processes and behavior as well as files. The two technologies address different risks and are commonly used together. Neither provides complete security on its own.

45. What are encryption and decryption?

Encryption transforms plaintext into ciphertext using a cryptographic algorithm and a key. Decryption uses the appropriate key to recover the original data. Symmetric encryption uses a shared secret key, while asymmetric encryption uses a related public and private key pair. Keys do not simply describe the algorithm, and a decryption key does not always need to be obtained directly from the encrypting device. Secure key management, authentication, and integrity protection are essential to secure communications.

Practical Networking Troubleshooting Interview Questions

46. A user's computer has no network connectivity. How would you troubleshoot it?

I would first establish whether the problem affects one computer or multiple users. I would check the cable or Wi-Fi connection, interface status, and IP configuration. Next, I would test the local gateway and a known reachable remote IP address, followed by name resolution. I would review relevant switch-port or firewall information if the initial tests pointed in that direction. After identifying the cause, I would apply an authorized fix, verify connectivity, and document the outcome.

Useful Windows commands include:

ipconfig /all
ping 127.0.0.1
ping <default-gateway-IP>
nslookup <hostname>
tracert <destination>

Replace the placeholders with actual addresses or names. Linux equivalents include ip addr, ip route, ping, and traceroute when installed. A failed ping is not conclusive because ICMP may be filtered.

47. A computer has a 169.254.x.x IPv4 address. What does it mean?

This is an IPv4 link-local address. Windows commonly assigns one automatically when a DHCP-configured interface cannot obtain an IPv4 lease. It may indicate a DHCP or connectivity problem when a normal leased address is expected. Check link status, VLAN membership, DHCP server availability, address-pool capacity, and relay configuration as appropriate. Link-local addressing can also be intentional, so the address alone does not prove that the DHCP server is down.

48. A user can reach a remote IP address but cannot open a website by name. What would you check?

I would check whether the expected DNS resolver is configured and use nslookup to test name resolution. If the DNS response is missing or incorrect, I would investigate resolver connectivity, records, and caching. If resolution succeeds, I would test the application connection and review proxy, firewall, TLS, or web server issues. Successful IP connectivity alone does not prove that the website service is working.

49. A switch port is up, but the connected computer cannot communicate with its gateway. What would you check?

I would verify the computer's IP address, subnet mask, and gateway, then check the switch port's VLAN assignment and whether the expected MAC address is learned. I would also examine uplink VLAN forwarding, the gateway interface, access policies, and error counters. On a Cisco IOS or IOS XE switch, where supported, these read-only commands can help:

show interfaces status
show vlan brief
show mac address-table
show interfaces counters errors
show interfaces trunk

Command availability varies by device and software. An access port should be in the intended VLAN, and any required trunk should carry that VLAN. I would avoid changing production configuration without authorization.

50. How would you investigate a slow network connection?

I would identify the affected applications, devices, and time periods before assuming the network is responsible. I would examine interface utilization, errors, link speed and duplex, packet loss, latency, and wireless signal conditions where applicable. I would compare results with a known healthy connection and check whether the bottleneck is local, upstream, or application-related. Any throughput test should be authorized because it can generate substantial traffic.

How to Prepare for a Basic Networking Interview

Build a small practice lab with two or more hosts, a switch, and a router or network simulator. Configure IP addresses, test communication within and between subnets, and practice identifying deliberately introduced configuration errors. Try a DNS lookup, inspect an ARP or neighbor table, and learn to distinguish a physical connectivity problem from an addressing or application problem.

When answering troubleshooting questions, describe what you would check, why you would check it, and what the result would tell you. If you have only performed a task in a lab, say so rather than presenting it as professional production experience.

Conclusion

For an entry-level networking interview, prioritize Ethernet switching, IP addressing, subnetting, DHCP, DNS, and systematic troubleshooting. Understand older technologies such as hubs and coaxial Ethernet in their historical context, but spend most of your practical preparation on modern networks. Being able to explain a diagnostic result and choose a sensible next step is more useful than simply recalling a definition.

ComputerNetworkingNotes Career Resources Basic Networking Interview Questions with Answers

We do not accept any kind of Guest Post. Except Guest post submission, for any other query (such as adverting opportunity, product advertisement, feedback, suggestion, error reporting and technical issue) or simply just say to hello mail us ComputerNetworkingNotes@gmail.com