In any given octet of an IP address, the 8 bits can be defined as follows:
To convert a decimal number into binary, you must turn on the bits (make them a 1) that would add up to that number, as follows:
To convert a binary number into decimal, you must add the bits that have been turned on (the 1s), as follows:
The IP address 138.101.114.250 is represented in binary as:
The subnet mask of 255.255.255.192 is represented in binary as:
|