IPv4 Address
IPv4 has 32 bits. Separate by 4 octets of 8 bits each with maximum value of 255 (hence $2^8$)
i.e 00001010110101100101011110000011 dividing into 4 octets of 8 bits would be
00001010.11010110.01010111.10000011- We convert each 8-bit to decimal, we have
10.214.87.131
IPv4 has 5 different classes. Each class has it's own reserved private ip for private use and local only.
| IPV4 Classes | Address Start | Address End | Private Start | Private End | Usage |
|---|---|---|---|---|---|
| A | 0.0.0.0 | 127.255.255.255 | 10.0.0.0 | 10.255.255.255 | Large network |
| 127.0.0.1 | 127.255.255.255 | Network testing address (Loop back address) | |||
| B | 128.0.0.0 | 191.255.255.255 | 172.16.0.0 | 172.31.255.255 | Medium size network |
| C | 192.0.0.0 | 223.255.255.255 | 192.168.0.0 | 192.168.255.255 | Local Area Network |
| D | 224.0.0.0 | 239.255.255.255 | N/A | N/A | Reserved for multi casting |
| E | 240.0.0.0 | 255.255.255.254 | N/A | N/A | Reserved for future use (or research) |