Network Addressing

Description: Test your knowledge on Network Addressing
Number of Questions: 15
Created by:
Tags: networking ip addressing subnetting
Attempted 0/15 Correct 0 Score 0

What is the maximum number of hosts that can be accommodated in a network with a subnet mask of 255.255.255.192?

  1. 64

  2. 128

  3. 256

  4. 512


Correct Option: A
Explanation:

The number of hosts in a network is determined by subtracting 2 from the number of bits in the host portion of the subnet mask. In this case, the host portion is 8 bits (32 - 24 = 8), so the maximum number of hosts is 2^8 - 2 = 254. However, since the network address and broadcast address also occupy two addresses, the actual number of usable hosts is 254 - 2 = 252.

Which of the following is a valid IPv4 address?

  1. 192.168.0.256

  2. 255.255.255.255

  3. 10.0.0.1

  4. 172.16.0.1


Correct Option: C
Explanation:

A valid IPv4 address consists of four octets, each ranging from 0 to 255. The address 192.168.0.256 is invalid because the fourth octet exceeds 255. The address 255.255.255.255 is the broadcast address and cannot be assigned to a host. The address 172.16.0.1 is invalid because it falls within the reserved range of 172.16.0.0 to 172.31.255.255.

What is the purpose of a subnet mask?

  1. To divide a network into smaller subnetworks

  2. To determine the network address of a host

  3. To determine the broadcast address of a network

  4. All of the above


Correct Option: D
Explanation:

A subnet mask serves multiple purposes. It is used to divide a network into smaller subnetworks, allowing for more efficient routing and addressing. It also helps determine the network address of a host, which is the first address in the subnet, and the broadcast address, which is the last address in the subnet.

Which of the following is a valid subnet mask for a network with 24 hosts?

  1. 255.255.255.128

  2. 255.255.255.192

  3. 255.255.255.224

  4. 255.255.255.240


Correct Option: C
Explanation:

To determine the appropriate subnet mask for a network with 24 hosts, we need to calculate the number of bits required for the host portion of the IP address. Since 24 hosts require 5 bits (2^5 = 32), the subnet mask should have 27 bits in the network portion (32 - 5 = 27). The subnet mask 255.255.255.224 has 27 bits in the network portion and 5 bits in the host portion, making it a valid choice.

What is the default subnet mask for a Class C network?

  1. 255.255.255.0

  2. 255.255.255.128

  3. 255.255.255.192

  4. 255.255.255.224


Correct Option: A
Explanation:

A Class C network is identified by the third octet of the IP address ranging from 192 to 223. The default subnet mask for a Class C network is 255.255.255.0, which provides 254 usable host addresses (2^8 - 2).

Which of the following is a private IPv4 address range?

  1. 10.0.0.0 - 10.255.255.255

  2. 172.16.0.0 - 172.31.255.255

  3. 192.168.0.0 - 192.168.255.255

  4. All of the above


Correct Option: D
Explanation:

Private IPv4 address ranges are reserved for use within private networks and are not routable on the public Internet. The three private IPv4 address ranges are 10.0.0.0 - 10.255.255.255, 172.16.0.0 - 172.31.255.255, and 192.168.0.0 - 192.168.255.255.

What is the maximum number of subnetworks that can be created from a network with a subnet mask of 255.255.255.192?

  1. 2

  2. 4

  3. 8

  4. 16


Correct Option: B
Explanation:

The number of subnetworks that can be created from a network is determined by the number of bits in the host portion of the subnet mask. In this case, the host portion is 8 bits (32 - 24 = 8), so the maximum number of subnetworks is 2^8 = 256. However, since the network address and broadcast address also occupy two addresses, the actual number of usable subnetworks is 256 - 2 = 254.

Which of the following is a valid IPv6 address?

  1. 2001:0db8:85a3:0000:0000:8a2e:0370:7334

  2. 2001:0db8:85a3:0000:0000:8a2e:0370:7335

  3. 2001:0db8:85a3:0000:0000:8a2e:0370:7336

  4. 2001:0db8:85a3:0000:0000:8a2e:0370:7337


Correct Option: A
Explanation:

A valid IPv6 address consists of eight hexadecimal groups, each representing 16 bits. The address 2001:0db8:85a3:0000:0000:8a2e:0370:7334 is a valid IPv6 address because each hexadecimal group is a valid hexadecimal number and the address follows the correct format.

What is the purpose of a default gateway?

  1. To connect two networks together

  2. To provide access to the Internet

  3. To route traffic between networks

  4. All of the above


Correct Option: D
Explanation:

A default gateway serves multiple purposes. It connects two networks together, allowing devices on one network to communicate with devices on the other network. It also provides access to the Internet by routing traffic from the local network to the Internet. Additionally, it routes traffic between networks, ensuring that data packets reach their intended destinations.

Which of the following is a valid Class B network address?

  1. 172.16.0.0

  2. 192.168.0.0

  3. 10.0.0.0

  4. 224.0.0.0


Correct Option: A
Explanation:

A Class B network address is identified by the second octet of the IP address ranging from 128 to 191. The address 172.16.0.0 is a valid Class B network address because the second octet is within the specified range.

What is the maximum transmission unit (MTU) for Ethernet networks?

  1. 512 bytes

  2. 1024 bytes

  3. 1500 bytes

  4. 2048 bytes


Correct Option: C
Explanation:

The maximum transmission unit (MTU) for Ethernet networks is typically 1500 bytes. This means that the maximum size of a single data frame that can be transmitted over an Ethernet network is 1500 bytes, including the Ethernet header and trailer.

Which of the following is a valid MAC address?

  1. 00:11:22:33:44:55

  2. 00:11:22:33:44:56

  3. 00:11:22:33:44:57

  4. 00:11:22:33:44:58


Correct Option: A
Explanation:

A valid MAC address consists of six hexadecimal digits, separated by colons. Each hexadecimal digit represents four bits. The address 00:11:22:33:44:55 is a valid MAC address because it follows the correct format and each hexadecimal digit is a valid hexadecimal number.

What is the purpose of a network address translation (NAT) device?

  1. To translate public IP addresses to private IP addresses

  2. To translate private IP addresses to public IP addresses

  3. To provide access to the Internet

  4. All of the above


Correct Option: D
Explanation:

A network address translation (NAT) device serves multiple purposes. It translates public IP addresses to private IP addresses, allowing multiple devices on a private network to share a single public IP address. It also translates private IP addresses to public IP addresses, allowing devices on a private network to access the Internet. Additionally, it provides access to the Internet by routing traffic between the private network and the public Internet.

Which of the following is a valid wildcard mask for a subnet mask of 255.255.255.192?

  1. 0.0.0.63

  2. 0.0.0.127

  3. 0.0.0.191

  4. 0.0.0.255


Correct Option: A
Explanation:

A wildcard mask is the inverse of a subnet mask. It is used to identify the host portion of an IP address. The wildcard mask for a subnet mask of 255.255.255.192 is 0.0.0.63 because 255.255.255.192 = 11111111.11111111.11111111.11000000 and 0.0.0.63 = 00000000.00000000.00000000.00111111.

What is the purpose of a routing table?

  1. To store the IP addresses of all devices on a network

  2. To determine the best path for data packets to take

  3. To provide access to the Internet

  4. All of the above


Correct Option: B
Explanation:

A routing table is a data structure that stores information about the paths to different networks. It is used by routers to determine the best path for data packets to take. Routing tables are typically updated dynamically, using routing protocols, to ensure that the most efficient paths are always used.

- Hide questions