312-50V13 · Question #381
The network in ABC company is using the network address 192.168.1.64 with mask 255.255.255.192. In the network the servers are in the addresses 192.168.1.122, 192.168.1.123 and 192.168.1.124. An attac
The correct answer is C. He is scanning from 192.168.1.64 to 192.168.1.78 because of the mask /28 and the servers are. Explanation Option C is correct because a /28 subnet mask covers only 16 addresses (2⁴), meaning nmap 192.168.1.64/28 scans from 192.168.1.64 to 192.168.1.79 - the servers at .122, .123, and .124 fall well outside this range and are therefore invisible to the scan. The correct su
Question
Options
- AHe needs to add the command ""ip address"" just before the IP address
- BHe needs to change the address to 192.168.1.0 with the same mask
- CHe is scanning from 192.168.1.64 to 192.168.1.78 because of the mask /28 and the servers are
- DThe network must be dawn and the nmap command and IP address are ok
How the community answered
(21 responses)- A5% (1)
- B14% (3)
- C76% (16)
- D5% (1)
Explanation
Explanation
Option C is correct because a /28 subnet mask covers only 16 addresses (2⁴), meaning nmap 192.168.1.64/28 scans from 192.168.1.64 to 192.168.1.79 - the servers at .122, .123, and .124 fall well outside this range and are therefore invisible to the scan. The correct subnet for this network is actually /26 (255.255.255.192 = 64 addresses), which would cover 192.168.1.64 to 192.168.1.127, capturing all three servers.
- Option A is wrong because
nmapdoesn't use anip addressprefix - that's not valid syntax for any scanning tool. - Option B is wrong because changing to 192.168.1.0 would shift the scan to a different subnet entirely, not resolve the mask mismatch.
- Option D is wrong because the servers are confirmed to exist; the issue is purely the incorrect CIDR notation used in the command.
Memory Tip: Always verify your CIDR notation matches your subnet mask - /28 = 255.255.255.240 (16 hosts), while /26 = 255.255.255.192 (64 hosts). A quick way to check: count the mask bits or use the formula 2ⁿ for host addresses.
Topics
Community Discussion
No community discussion yet for this question.