[Solved] Question on IPv4 DHCP Client with my ISP

I just noticed something interesting on my OpenWRT home screen, about the DHCP IPv4 address I received from my ISP:


What does the "/21" on the address mean? Does that mean they allocated me 8 IPv4 addresses for my use?

IPv4 addresses are made up of 4 octets meaning there are a possible 32 bits in total.

CIDR notation uses "/" slash and a number (called suffix) that indicates how many bits are used to identify the network portion of the address.

In your case 21 bits are used to identify the network and the remaining 11 bits are used to identify the hosts.

This means that the available host addresses in that IP subnet are 2046 (from X.138.176.1 to X.138.183.254), but they are definitely not for your use (except one) :stuck_out_tongue_winking_eye:.

1 Like

No, it just means that all devices on the X.138.176.1 to X.138.183.254 range can be reached without having to go through the gateway.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.