okr765
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cannedtuna@lemmy.world to linuxmemes@lemmy.worldEnglish · 1 个月前

Subnet Mask

lemmy.world

message-square
34
link
fedilink
382

Subnet Mask

lemmy.world

cannedtuna@lemmy.world to linuxmemes@lemmy.worldEnglish · 1 个月前
message-square
34
link
fedilink
alert-triangle
You must log in or # to comment.
  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    24
    ·
    1 个月前

    Just use IPV6

    • kn33@lemmy.world
      link
      fedilink
      English
      arrow-up
      16
      ·
      1 个月前

      /64

    • Kangae_Hishiryo@scribe.disroot.org
      link
      fedilink
      arrow-up
      3
      ·
      1 个月前

      Network prefix length/CIDR notation: ( ͡° ͜ʖ ͡° )

  • in_my_honest_opinion@piefed.social
    link
    fedilink
    English
    arrow-up
    23
    ·
    1 个月前

    That’s way too broad, for protection it should probably be 255.255.255.254

    • giacomo@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      16
      ·
      1 个月前

      255.255.255.252 for your significant other

      • somenonewho@feddit.org
        link
        fedilink
        arrow-up
        4
        ·
        1 个月前

        I don’t need a gateway or broadcast to talk to my SO just .0 for me and .1 for them

        • kn33@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 个月前

          Yeah but then you don’t have ARP and you gotta set in the MAC manually and that just seems like a hassle.

      • libewa@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        1 个月前

        I think you both have an off-by-one error there. It‘s /32 for one device and /31 for 2 devices (selected by the last bit). It feels wrong to have /32 be the entire adress space btw.

        • in_my_honest_opinion@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 个月前

          /32 is often used in static IP networks that face the public, I do it with direct point to point VPNs all the time.

    • G_M0N3Y_2503@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      1 个月前

      at least N95!

  • comador @lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    1 个月前

    Momma I’m comin’ 127.0.0.1

    • nonentity@sh.itjust.works
      link
      fedilink
      arrow-up
      7
      ·
      1 个月前

      Home is ~, localhost is wherever you are.

    • Kangae_Hishiryo@scribe.disroot.org
      link
      fedilink
      arrow-up
      2
      ·
      1 个月前

      God: I’m 0.0.0.0/::1

    • dbtng@eviltoast.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 个月前

      0111111.00000000.00000000.00000001
      But I doubt your momma can read that.
      Mine can’t. She’s not interested in binary or hex, despite my efforts to convince her how fascinating the topic is.

  • fistac0rpse@fedia.io
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    1 个月前

    how is this a Linux meme?

    • giacomo@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      18
      ·
      1 个月前

      its hardly even a meme.

    • itrealgood@mander.xyz
      link
      fedilink
      arrow-up
      10
      ·
      1 个月前

      deleted by creator

  • xia@lemmy.ca
    link
    fedilink
    English
    arrow-up
    13
    ·
    1 个月前

    A subnet mask mask!

  • Cousin Mose@lemmy.hogru.ch
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 个月前

    Could we have an IPv6 one? It’s 2026.

    • HeyJoe@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 个月前

      But it’s not possible to do this joke since ipv6 does not have subnets.

      • offspec@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 个月前

        What? There’s no way that’s right, right?

        • dbtng@eviltoast.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 个月前

          Well, sort of.
          You can divide up IPv6 addresses as you like.
          But … there’s so much space there that they are typically just divided in half.
          64 bits of subnet (aka routing prefix) + 64 bits of host address.
          They play a lot of games with the first 12 or so bits to say what kind of network it is, and the rules change a lot for multicast and other address types.
          So its not a subnet as you know it, but it still is.

        • kinther@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 个月前

          You could interpret it that way, sure. There are so many IPv6 addresses you really don’t have to subnet anything like you did in IPv4. The typically “mask” you will see is a /64.

      • Cousin Mose@lemmy.hogru.ch
        link
        fedilink
        arrow-up
        2
        ·
        1 个月前

        /24

        • libewa@feddit.org
          link
          fedilink
          arrow-up
          3
          ·
          1 个月前

          /128

          • dbtng@eviltoast.org
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            1
            ·
            1 个月前

            um … that’s wrong.

            • libewa@feddit.org
              link
              fedilink
              English
              arrow-up
              3
              ·
              1 个月前

              why?

              • dbtng@eviltoast.org
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 个月前

                Two reasons.

                You were responding to someone who offered a /24 as a subnet.
                There are 32 bits in an IPv4 address. /24 is 255.255.255.0.
                So they were wrong too in reference to IPv6, but at least they were making sense.
                You responded with /128, which is the full range of the IPv6 address.
                That would be like the prior poster saying /32 aka 255.255.255.255.
                There’s no usable range there.

                And, see my post above for the rest of the breakdown, but you were looking for /64.

                • libewa@feddit.org
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 个月前

                  But the mask is a firewall to prevent viruses from leaving or reaching you, so a firewall on ::1/128

      • Kangae_Hishiryo@scribe.disroot.org
        link
        fedilink
        arrow-up
        1
        ·
        1 个月前

        There’s no subnets, but there are network length prefixes/CIDR

    • dbtng@eviltoast.org
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      1 个月前

      no.

  • kinther@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 个月前

    For more fun IPv6 knowledge, Hurricane Electric provides a certification course! You also get a t-shirt when you finish it.

    https://ipv6.he.net/certification/

    • dbtng@eviltoast.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 个月前

      That’s pretty cool. I crammed to pass the CCNA, and some of its fading from my head now. I could use a refresher. Thanks!

  • LemmyBruceLeeMarvin@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 个月前

    I’ll get your coat

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry of any kind will not be tolerated. This is an LGBTQ+-friendly community – if that is a problem for you, you should leave.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don’t come looking for advice, this is not the right community.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves / tolerates / hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 580 users / day
  • 2.62K users / week
  • 7.69K users / month
  • 16K users / 6 months
  • 1 local subscriber
  • 32.8K subscribers
  • 2.29K Posts
  • 111K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.worlddeleted by creator
  • zephyr@lemmy.world
  • Err(()).unwrap()@lemmy.world
  • BE: 0.19.18
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org