You are a systems administrator and you are ab
问题详情
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
解析:ExplanationAsubnetmaskuses29bits.Thismeansthatituses5bitsinthe4thoctet.Thisequatesto255.255.255.248.Thisnetworkhas3bitsforhosts.Usingthe2n-2formula(23-2)inthiscase),weareleftwith6(2*2*2-2=6)hostaddresses.192.168.20.24isthenetworkaddress.Thereforethenextaddress(192.168.20.25)wouldbethefirsthostaddress.Thisaddressmustbeassignedtotherouter,whichservesasthegatewayforthenetwork.Thelastavailablehostaddresswouldbe192.168.20.30(192.168.20.24+6).Thisaddressisassignedtotheserver.Thebroadcastaddressis192.168.20.31.