July 31, 2024

IPv4 Network Ranges

Example 192.168.0.0/30

number of IP addresses = 2 ^ (32–30)

which is 2 ^ 2 = 4

The IP addresses are thus 192.168.0.0, 192.168.0.1, 192.168.0.2 and 192.168.0.3

Example 192.168.0.0/29

number of IP addresses = 2 ^ (32–29)

which is 2 ^ 3 = 8

The IP addresses are thus 192.168.0.0, 192.168.0.1, 192.168.0.2 … 192.168.0.7

Example 192.168.0.1/28

number of IP address = 2 ^ (32–28)

which is 2 ^ 4 = 16

The IP addresses are thus 192.168.0.0, 192.168.0.1, 192.168.0.2 … 192.168.0.15

No comments: