A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.
Someone was talking about a network and said essentially:
What does the /24 mean? From context it appears to indicate a subnet but I don't know any more specifically than that (ie is 24 the lower 24 bits in the address, or is it a simple 8-bit mask, etc?)
Thanks for any insight
Saturday, August 02, 2008
In case anyone is wondering, it's apparently a CIDR address:
Tuesday, August 05, 2008
It's simply an alternate way to specify the netmask. In this case it means "255.255.255.0". The key to understanding how this works is thinking about the netmask in binary, so the above is actually "11111111111111111111111100000000". All netmasks (IPv4) are 32 bits, with some number of msbs set to 1, followed by a string of zeroes. So the "/24" notation simply means 24 ones and implies that the remaining bits are zeroes.
This topic is archived. No further replies will be accepted.Other recent topics
Powered by FogBugz