Questions tagged [prefix]

For questions about network prefixes, where the routing prefix may be expressed in Classless Inter-Domain Routing (CIDR) notation written as the first address of a network, followed by a slash character (/), and ending with the bit-length of the prefix. For instance, you are trying to find the prefix you want to announce on your router.

Filter by
Sorted by
Tagged with
14 votes
4 answers

Possible (bit) patterns of a netmask

Given a prefix Y, it's easy to calculate the corresponding netmask: Put Y times a set bit, and then fill up "to the right" with zeros until one has 32 bits (IPv4) in total. Example: Prefix 24, thus ...
user avatar