Professional Documents
Culture Documents
NB
HB =
= 25
32 - 25
So Network Bits are 25 and Host Bits are 7 for /25 network.
Step # 3 : Find Maximum Hosts per Subnet.
How to get maximum hosts per subnet?
Hosts per subnet = 2^HB
Hosts = 2^7
126 valid hosts, excluding Network Address and Broadcast Address.
Subnets = 2^25
With /25 network maximum 33554432 unique subnets possible.
If you have IP address and Subnet Mask (or prefix) you can easily find the Network Address.
All we need to do is Bitwise AND operation between IP address and Subnetmask to get Network Address.
BITWISE AND
To get Broadcast Address we need to find Wildcard Mask, which is inverted Subnet Mask.
Perform Bitwise OR operation between IP Address and Wildcard Mask to get Broadcast Address.
BITWISE OR
This is it! We have found Subnetmask, Wildcard Mask, Hostbits, Networkbits, Maximum Hosts per Subnet,
Total Subnets in Network, Network Address, and Broadcast Address.
Host Bits 7
Subnetmask 255.255.255.128