102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 12


How many IP addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/26?

Show Answer
Correct Answer: D

The given subnet mask of /26 indicates that there are 26 bits dedicated to the network portion, leaving 6 bits for the host portion (32-26=6). The number of possible IP addresses for the host portion is calculated as 2^6, which equals 64. However, each subnet reserves 1 IP address for the network itself and 1 IP address for the broadcast address. Therefore, the number of usable IP addresses for unique hosts within the 192.168.2.128/26 subnet is 64 - 2 = 62.

Discussion

10 comments
Sign in to comment
JodeloOption: D
Jul 5, 2021

Each subnet mask has 32 bits which are sperate in network and host bits. In this case we have 28 network bits which means 32 - 28 = 6 Host bits remain. 2^6 = 64.. BUT every subnet has 1 network adress (the first IP address in that subnet) and 1 broadcast address (the last one in that subnet) so 64 -2 = 62 hosts in each subnet

Jodelo
Jul 5, 2021

EDIT: Sorry it's 32 - 26 of course

CuriousLinuxCatOption: D
Aug 6, 2021

Correct. IP for this subnet is 192.168.2.128 ~ .191. However, you need to remove the subnet address (.128) and broadcast address (.191) ...and you are left with 62 unique host addresses.

ellen_AAOption: D
Mar 6, 2021

2^(32-26) - 2 = 62 is the formula to determine the number of hosts available on a given subnet.

MalvadaOption: D
Nov 30, 2020

D is correct, 64 available, but network and broadcast address are not available.

Audio00_02
Dec 27, 2020

ambecilli

Rini_Giannenzo
Nov 30, 2020

Ma fateve na pera

StefanyOption: B
Oct 29, 2020

correct B

Stefany
Oct 29, 2020

Perdon 64

rjlg2centos8Option: C
Nov 16, 2020

64 no, because the broadcast address and the net address doesn't count

phucpetaOption: C
Feb 18, 2021

2^6-2 because 2 ip for broadcast and subnet

dfdfsdfdsfdf
Dec 31, 2022

correct