Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 2
    Each octet is 8bits: 11111111.11111111.11111111.00000000 Commented Oct 6, 2010 at 16:23
  • 3
    So does that mean /16 is 255.255.0.0 and /8 is 255.0.0.0?
    – Corey
    Commented Oct 6, 2010 at 18:53
  • 3
    @Corey yes. And - as per Joe's binary there - just stick in the right number of one's, add enough 0's to reach 32, split in to four bytes and convert to decimal. It doesn't have to be a multiple of 8 either - /20 is 255.255.240.0 for example.
    – DMA57361
    Commented Oct 6, 2010 at 19:01
  • very good, professor DMA57361
    – kokbira
    Commented Apr 14, 2011 at 23:40