In this topic i would like to share about how to calculate IP address, Network Address, Broadcast domain and available host IP, Do you know about private IP address range
Private IP Address range reserve network address for use in private network, this network address cannot use on public internet, Refer RFC 1918
IP Address Range | Network Address and Subnet Mask |
10.0.0.0 – 10.255.255.255 | 10.0.0.0/8 (255.0.0.0) |
172.16.0.0 – 172.31.255.255 | 172.16.0.0/12 (255.240.0.0) |
192.168.0.0 – 192.168.255.255 | 192.168.0.0/16 (255.255.0.0) |
Example#1 Finding network address and Broadcast domain for IP 10.10.10.100/25
Subnet mask /25 – /32 focus on this octet “10.10.10.100“
Subnet | /25 | /26 | /27 | /28 | /29 | /30 | /31 | /32 |
Host | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Column /25 and 128 value more than 100 we have to fill 0 and next column does not relate /25 that mean, Result network address for 10.10.10.100/25 = 10.10.10.0/25
Subnet | /25 | /26 | /27 | /28 | /29 | /30 | /31 | /32 |
Host | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
100 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
You have to plus 65+32+16+8+4+2+1 = 128 that’s mean subnet mask = 255.255.255.128
Available Host IP = 128 but you have to remove 1 for network address and 1 for broadcast domain
Network address = 10.10.10.0
Start Host IP = 10.10.10.1
End Host IP = 10.10.10.126
Broadcast domain = 255.255.255.128