Binary Method Example 2
172.16.35.123/20
FIRST CONVERT THE CONCERN & THE REMANING OCTET INTO BINARY
172.16.00100011.01111011
1. To workout the Network/Subnet Address
Fill the host portion of Address with Binary 0's (then convert it to Decimal)
172.16.35.123 - 172.16.00100000.00000000.0
(convert Binary into Decimal we get...)
Network Address = 172.16.32.0
2. To workout the First Host Address in a Subnet
Fill the host portion of the Address with Binary 0's except for the last bit which is set to Binary 1 (then convert it to Decimal)
172.16.35.123 - 00010000.00000001.0
(convert Binary into Decimal we get...)
First Host Address = 172.16.32.1
3. To workout the Last Host Address in a Subnet
Fill the host portion of the Address with Binary 1's except for the last bit which is set to Binary 0 (then convert it to Decimal)
172.16.35.123 - 172.16.00101111.11111110
(convert Binary into Decimal we get...)
Last Host Address = 172.16.47.254
4. To workout the Broadcast Address
Fill the host portion of the Address with Binary 1's (then convert it to Decimal)
172.16.35.123 - 172.16.00101111.11111111
(convert Binary into Decimal we get...)
Broadcast Address = 172.16.47.255
Reference:
Last updated