You are a systems administrator and you are about to assign static IP addresses to various servers on your network. For the netw

admin2009-05-19  41

问题 You are a systems administrator and you are about to assign static IP addresses to various servers on your network. For the network 192.168.20.24/29 the router is assigned to the first usable host address, while the last usable host address goes to your Sales server. Which one of the following commands would you enter into the IP properties box of the sales server?

选项 A、IP address: 192.168.20.14 Subnet Mask: 255.255.255.248 Default Gateway: 192.168.20.9
B、IP address: 192.168.20.254 Subnet Mask: 255.255.255.0 Default Gateway: 192.168.20.1
C、IP address: 192.168.20.30 Subnet Mask 255.255.255.248 Default Gateway: 192.168.20.25
D、IP address: 192.168.20.30 Subnet Mask 255.255.255.240 Default Gateway: 192.168.20.17
E、IP address: 192.168.20.30 Subnet Mask 255.255.255.240 Default Gateway: 192.168.20.25

答案C

解析 Explanation
A subnet mask uses 29 bits. This means that it uses 5 bits in the 4th octet. This equates to 255.255.255.248. This network has 3 bits for hosts. Using the 2n-2 formula (23-2) in this case), we are left with 6 (2*2*2 - 2 = 6) host addresses. 192.168.20.24 is the network address. Therefore the next address (192.168.20.25) would be the first host address.

This address must be assigned to the router, which serves as the gateway for the network. The last available host address would be 192.168.20.30 (192.168.20.24+6). This address is assigned to the server. The broadcast address is 192.168.20.31.
转载请注明原文地址:https://jikaoti.com/ti/E1O7FFFM
0

最新回复(0)