| Value | 192 | 168 | 48 | 64 |
|---|---|---|---|---|
| Octal/binary | 11000000 | 10101000 | 00110000 | 01000000 |
| Value | 65 | 1 | 36 | 254 |
|---|---|---|---|---|
| Octal/binary | 01000001 | 00000001 | 00100100 | 11111110 |
| Decimal Value | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Byte | 1000 0000 | 0100 0000 | 0010 0000 | 0001 0000 | 0000 1000 | 0000 0100 | 0000 0010 | 0000 0001 |
| Base 2 | 2^7 | 2^6 | 2^5 | 2^4 | 2^3 | 2^2 | 2^1 | 2^0 |
| Decimal Value | 8 | 25 | 17 | 184 | 226 | 254 |
|---|---|---|---|---|---|---|
| Binary | 00001000 | 00011001` | 00010001 | 10111000 | 11100010 | 11111110 |
| Base 2 | 2^3 | 2^4 + 2^3 + 2^0 | 2^4 + 2^0 | 2^7 + 2^5 + 2^4 + 2^3 | 2^7 + 2^6 + 2^5 + 2^1 | 2^7 + 2^6 + 2^5 + 2^4 + 2^3 + 2^2 + 2^1 |
| Address class | Bit pattern of first byte | First byte decimal range | Host assignment range in dotted decimal |
|---|---|---|---|
| A | 0xxxxxxx | 1 to 127 | 1.0.0.1 to 127.255.255.254 |
| B | 10xxxxxx | 128 to 191 | 128.0.0.1 to 191.255.255.254 |
| C | 110xxxxx | 192 to 223 | 192.0.0.1 to 223.255.255.254 |
| D | 1110xxxx | 224 to 239 | 224.0.0.1 to 239.255.255.254 |
| E | 11110xxx | 240 to 255 | 240.0.0.1 to 255.255.255.255 |
| Address class | Private network ID | Network address range |
|---|---|---|
| A | 10.0.0.0 | 1.0.0.0 to 10.255.255.255 |
| B | 172.16.0.0 | 172.16.0.0 to 172.31.255.255 |
| C | 192.168.0.0 | 192.168.0.0 to 192.168.255.255 |
| Class | Network bits | Host bits | Decimal address range | Subnet mask |
|---|---|---|---|---|
| A | 8 bits | 24 bits | 1 to 127 | 255.0.0.0 |
| B | 16 bits | 16 bits | 128 to 191 | 255.255.0.0 |
| C | 24 bits | 8 bits | 192 to 223 | 255.255.255.0 |
| D | Reserved | Reserved | 224 to 239 | N/A |
| E | Reserved | Reserved | 240 to 255 | N/A |
| Class | 1st octet | 2nd octet | 3rd octet | 4th octet |
|---|---|---|---|---|
| Class A | Network | Host | Host | Host |
| 255 | 0 | 0 | 0 | |
| 11111111 | 0 | 0 | 0 | |
| Class B | Network | Network | Host | Host |
| 255 | 255 | 0 | 0 | |
| 11111111 | 11111111 | 0 | 0 | |
| Class C | Network | Network | Network | Host |
| 255 | 255 | 255 | 0 | |
| 11111111 | 11111111 | 11111111 | 0 |

207.21.54.0/24, there can be up to 28 (256) available subnet addresses207.21.54.0 is the network address207.21.54.255 is the broadcast address207.21.54.1 to 207.21.54.254192.168.2.7/27 that is used by 8 departments of 20 people each11111111.11111111.11111111.00000000 (/24)11111111.11111111.11111111.11100000 (/27)| Subnet | Network address | Broadcast address | Available host address range |
|---|---|---|---|
| Subnet 1 | 192.168.2.0 | 192.168.2.31 | 192.168.2.1 to 192.168.2.30 |
| Subnet 2 | 192.168.2.32 | 192.168.2.63 | 192.168.2.33 to 192.168.2.62 |
| Subnet 3 | 192.168.2.64 | 192.168.2.95 | 192.168.2.65 to 192.168.2.94 |
| Subnet 4 | 192.168.2.96 | 192.168.2.127 | 192.168.2.97 to 192.168.2.126 |
| Subnet 5 | 192.168.2.128 | 192.168.2.159 | 192.168.2.129 to 192.168.2.158 |
| Subnet 6 | 192.168.2.160 | 192.168.2.191 | 192.168.2.161 to 192.168.2.190 |
| Subnet 7 | 192.168.2.192 | 192.168.2.223 | 192.168.2.193 to 192.168.2.222 |
| Subnet 8 | 192.168.2.224 | 192.168.2.255 | 192.168.2.225 to 192.168.2.254 |