Improve your understanding of IP addressing and subnetting concepts with this interactive quiz. Answer beginner-friendly questions focused on IPv4 basics, subnet masks, private IP ranges, and simple network calculations to enhance your networking knowledge.
Which of the following is a valid example of an IPv4 address?
Explanation: 192.168.1.10 is a valid IPv4 address, consisting of four octets separated by dots. The option 192.168.300.10 is invalid, as the number 300 exceeds the maximum value of 255 for any octet. 2001:db8:85a3::8a2e:370:7334 is an IPv6 address, not IPv4. 192-168-1-10 uses hyphens rather than dots, making it improper as an IPv4 address format.
Which subnet mask would you use to represent a typical Class C network?
Explanation: A Class C network typically uses the subnet mask 255.255.255.0, which allows for 256 addresses in the range. The mask 255.255.0.0 is associated with Class B networks, while 255.0.0.0 is for Class A networks. 255.255.224.0 is not standard for Class C and represents a different subnetting scheme.
Which of these IP addresses falls within a private address range?
Explanation: 10.0.5.20 is within the 10.0.0.0 to 10.255.255.255 private range. 172.34.5.10 is not in the private range, which for Class B is 172.16.0.0 to 172.31.255.255. 8.8.8.8 and 155.100.25.5 are public IP addresses. Only 10.0.5.20 falls under a private block.
What does the '/24' in the IP address 192.168.12.5/24 represent?
Explanation: The '/24' indicates that the subnet mask has 24 consecutive ones, which is 255.255.255.0 in decimal. It does not indicate the gateway; that's specified separately. The host portion would actually be 8 bits, not 24. /24 is used in IPv4, not IPv6 addressing.
How many usable host IP addresses are available in a subnet with a mask of 255.255.255.240?
Explanation: A subnet with 255.255.255.240 has 4 bits for hosts, allowing 2^4 = 16 total addresses. Subtracting 2 for the network and broadcast addresses leaves 14 usable host addresses. Option 16 is the total number including reserved addresses. 15 and 30 are incorrect as they correspond to different subnet configurations.
What is the broadcast address for the subnet 192.168.10.0/24?
Explanation: The broadcast address for a /24 subnet ends with .255, so 192.168.10.255 is correct. 192.168.10.254 is the last usable host but not the broadcast address. 192.168.10.1 is typically the first usable host, and 192.168.11.0 is the next subnet’s network address.
What is the network address of 172.16.5.19 with a subnet mask of 255.255.255.0?
Explanation: With a subnet mask of 255.255.255.0, the network address is 172.16.5.0 since all host bits are set to zero. 172.16.5.19 is the specific host address provided. 172.16.0.0 would be the address for a broader subnet. 172.16.5.1 is the first usable host, not the network address.
Which IP address is commonly chosen as the default gateway in a subnet with network 192.168.3.0/24?
Explanation: 192.168.3.1 is commonly assigned to the default gateway since it's typically the first usable host in the subnet. 192.168.3.0 is the network address and cannot be assigned to a device. 192.168.3.255 is the broadcast address, while 192.168.4.1 is not within the subnet.
What is the decimal value of the binary octet 11111111 in an IPv4 address?
Explanation: The binary number 11111111 converts to the decimal value 255, as all bits are set. 127 results from 01111111, 192 from 11000000, and 128 from 10000000. Only 255 matches the full set of ones in an octet.
Why do network administrators use subnetting in an IP network?
Explanation: Subnetting is used to split a large IP network into smaller segments for better management, security, and efficiency. Assigning public IP addresses is unrelated to subnetting’s primary purpose. Subnetting does not create more addresses than possible within the original allocation. Routers are still needed to connect different subnets; subnetting does not remove their necessity.