Network Administration Interview Questions and Answers
1. What is the difference between a hub, a switch, and a router?
- Hub: Broadcasts data to all devices; operates at Layer 1 (Physical Layer).
- Switch: Forwards data to specific devices using MAC addresses; operates at Layer 2 (Data Link Layer).
- Router: Connects different networks using IP addresses; operates at Layer 3 (Network Layer).
2. What is a subnet and why is it used?
- A subnet is a segmented part of a larger network.
- It improves performance and security by reducing broadcast traffic, organizing networks, and enhancing rou
3. How do you troubleshoot a network connectivity issue?
- Check physical connections (cables, ports, LEDs).
- Use 'ping' to test connectivity.
- Check IP configuration with 'ipconfig' or 'ifconfig'.
- Use 'traceroute' to identify where the connection fails.
- Check DNS resolution with 'nslookup'.
- Review firewall settings and logs.
4. What is the difference between TCP and UDP?
- TCP: Connection-oriented, reliable, ensures data delivery (e.g., HTTP, FTP).
- UDP: Connectionless, faster, no guarantee of delivery (e.g., DNS, video streaming).
5. What is NAT and why is it used?
- NAT (Network Address Translation) allows multiple devices to share a single public IP address.
- It conserves public IPs and adds a layer of security by hiding internal IPs.
6. What tools do you use for network monitoring?
- Wireshark – packet analysis.
- Nagios/Zabbix – network and server monitoring.
- SolarWinds – performance monitoring.
- Ping, Traceroute, Netstat – basic diagnostics.
7. What is VLAN and how does it work?
- A VLAN (Virtual LAN) segments a physical network into multiple logical networks.
- Devices in the same VLAN communicate as if on the same physical network, even if they are not.
8. How do you secure a network?
- Use firewalls and intrusion detection/prevention systems.
- Implement strong authentication and access controls.
- Keep firmware and software updated.
- Use VPNs for remote access.
- Regularly monitor logs and audit traffic.
9. What is the OSI model and why is it important?
- The OSI model is a 7-layer conceptual framework for network communication.
- It helps in troubleshooting, designing networks, and understanding protocol interactions.
10. What is DHCP and how does it work?
- DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses to devices.
- It reduces manual configuration and ensures efficient IP management.