.
How to calculate the Broadcast Address ?
.
The Broadcast Address is obtained doing a binary OR between the Subnet Address and the inverted Subnet Mask (see "Binary Operators").
.
For example, if we have the IP 150.10.10.10 with a mask 255.255.252.0 (also written 150.10.10.10/22), the Subnet Address is 150.10.8.0 (see "How to calculate the Subnet Address ?").
.
Subnet Address : 10010110.00001010.00001000.00000000 150.10.8.0
The inverted mask: 00000000.00000000.00000011.11111111 0.0.3.255
Binary OR -------------------------------------- ------------
Broadcast Address: 10010110.00001010.00001011.11111111 150.10.11.255
.
.
.
Copyright (c) 2002 - Guillaume Péan
www.shunsoft.net