Certified Ethical Hacker CEH · Free Practice Question Easy
Question 95
When you give command ‘nmap 192.168.1.64/30’, which IPs will be scanned?
- A A. 192.168.1.65 and 192.168.1.66
- B B. 192.168.1.65 and 192.168.1.67
- C C. 192.168.1.65 and 192.168.1.68
- D D. 192.168.1.65 and 192.168.1.69
Reveal correct answer
Correct answer: A
Explanation
Correct Answer: A. 192.168.1.65 and 192.168.1.66 Explanation: 192.168.1.64/30 Here network IP is 192.168.1.64 and subnet mask is 30. Steps Formulae Calculation Result Step 1 32 - subnet masks 32 - 30 2 Step 2 2^(Step 1 result) 2^2 4 Step 3 Step 2 - 2 4 - 2 2 Number of IPs available in a subnet for allocation is 2 i.e. 192.168.1.65 and 192.168.1.66Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
You must be logged in to post a comment.
