I'm somewhat confused about IP addresses and subnet masks. Can a same IPv4 address have two different CIDR suffixes ? for example 95.100.252.115/28 and 95.100.252.115/26 ?
If not, how is the CIDR suffix determined by the IPv4 address?
Computer Science Stack Exchange is a question and answer site for students, researchers and practitioners of computer science. It only takes a minute to sign up.
Sign up to join this communityI'm somewhat confused about IP addresses and subnet masks. Can a same IPv4 address have two different CIDR suffixes ? for example 95.100.252.115/28 and 95.100.252.115/26 ?
If not, how is the CIDR suffix determined by the IPv4 address?
Yes there can be different suffixes, and the IP absolutely does not determine the suffix. You determine the suffix based on how many other computers you want networked together in that subnet group.