Network Layer MCQs

Topic-wise practice questions for Computer Networks & Cloud Computing. Test your knowledge, check solutions on demand, and pace your preparation.

Zero-leak answer engine • Rate-limited explanations
Practice in Timed Mode
Q1easy
What is a Default Route (0.0.0.0/0)?
Q2easy
Which field in the IP header is used for Quality of Service (QoS) labeling?
Q3hard
You have an IP address 192.168.1.0/26. How many usable host IP addresses are available in this subnet?
Q4hard
(Code/Console Logic) A network admin checks the routing table. Based on the output below, what is the next hop for a packet destined for 10.0.5.1? netstat -rn

Destination    Gateway        Genmask
10.0.0.0       192.168.1.1    255.255.0.0
10.0.5.0       192.168.1.254  255.255.255.0
default        192.168.1.1    0.0.0.0
Q5easy
How does an IP address 224.0.0.1 behave differently than a normal IP?
Q6easy
What is the primary advantage of IPv6 over IPv4?
Q7hard
What is the decimal representation of the CIDR prefix /24 in a subnet mask?
Q8medium
Looking at this ping output, what is the most significant network diagnostic info? ping -c 4 google.com

64 bytes from 142.250.190.46: icmp_seq=1 ttl=115 time=24.5 ms
64 bytes from 142.250.190.46: icmp_seq=2 ttl=115 time=23.8 ms
Q9easy
What is the "Default Gateway"?
Q10easy
What is the role of ICMP (Internet Control Message Protocol)?