All courses › Databases, Networks and Security › IP addresses
IP addresses
An IPv4 address consists of 32 bits, written as four numbers from 0 to 255. The prefix after the slash says how many bits belong to the network. The remaining bits number the machines in the network.
address with a 24-bit network part
prefix and netmask
Symbols
| prefix: number of network bits | ||
| 8 bits, a number 0–255 |
Example
: the network is , and the machine is number 77 in it.
Each octet is 8 bits, so four octets give 32 bits.
Practise iP networks and subnetting for free →
← JOIN and GROUP BY · Subnetting →
Part of Databases, Networks and Security: IP networks and subnetting.