[OT] CIDR Mask calculation

Ashley M. Kirchner ashley at pcraft.com
Thu Oct 12 16:38:05 UTC 2006


    Not specific to Fedora, but perhaps there are more folks on here 
that can explain this.  I'm trying to figure out the CIDR mask or bits 
for a particular network.  Specifically: 219.128.0.0 - 219.137.255.255

    Now, 219.128.0.0/13 (or 255.248.0.0) gives me a range of
         219.128.0.0 - 219.135.255.255

    And 219.128.0.0/12 (or 255.240.0.0) gives me a range of
        219.128.0.0 - 219.143.255.255

    So how do I get the specific range in question (where it ends at 
219.137.255.255)

-- 
W | It's not a bug - it's an undocumented feature.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  IT Director / SysAdmin / Websmith             .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.





More information about the fedora-list mailing list