正解:C
The IPv4 subnet 192.168.2.128/26 is a Class C network with a subnet mask of 255.255.255.192. This means that the network has 26 bits for the network prefix and 6 bits for the host part. To calculate the number of IP addresses that can be used for unique hosts inside the subnet, we can use the formula:
2^(number of host bits) - 2
The -2 is because the first and the last IP addresses in the subnet are reserved for the network address and the broadcast address, respectively. Therefore, the number of IP addresses for unique hosts in the subnet is:
2^6 - 2 = 64 - 2 = 62
However, this is not the correct answer, because the question asks for the number of IP addresses inside the subnet 192.168.2.128/26, not the entire network 192.168.2.0/26. A subnet is a smaller division of a network that can have its own range of IP addresses. The subnet 192.168.2.128/26 has a network address of
192.168.2.128 and a broadcastaddress of 192.168.2.191. Therefore, the IP addresses that can be used for unique hosts inside the subnet are:
192.168.2.129 - 192.168.2.190
This is a range of 62 IP addresses, but we have to subtract 2 more, because the question specifies that the IP addresses 192.168.2.130 and 192.168.2.140 are already in use by other hosts. Therefore, the final answer is:
62 - 2 = 60
References:
* LPI 102-500 Exam Objectives, Topic 105.1: Customize and use the shell environment
* LPI 102-500 Study Guide, Chapter 5: Customizing Shell Environments, Section 5.1: Working with the Shell
* IPv4 Subnet Calculator