• Hoimo@ani.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    Yeah, but why is CIDR notation like that? You put a bigger number at the end and your subnet becomes smaller? Why would you want that?

    • ramble81@lemmy.zip
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      18 days ago

      When you translate it out it bits it’s the number of bits that are active in the net mask

      0000 0000 0000 0000 0000 0000 0000 is a /0

      0000 0000 1111 1111 1111 1111 1111 1111 is a /24

      0000 0011 1111 1111 1111 1111 1111 1111 is a /26

      And since it’s used for matching, it follows how many there are.