The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Network nomenclature

Someone was talking about a network and said essentially:
1.2.3.4/24

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
Doug
Saturday, August 02, 2008
 
 
In case anyone is wondering, it's apparently a CIDR address:

http://www.webopedia.com/TERM/C/CIDR.html
Doug
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.
Steve Moyer Send private email
Thursday, August 07, 2008
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz