this post was submitted on 04 Nov 2026
681 points (99.1% liked)

linuxmemes

33336 readers
445 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

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 figuresWe 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.

    founded 3 years ago
    MODERATORS
     
    (page 2) 50 comments
    sorted by: hot top controversial new old
    [–] signalsayge@infosec.pub 19 points 23 hours ago (3 children)

    I love that people forget about 127.0.0.0/8 being the loopback network. Everyone just uses .1 when there are so many to choose from.

    [–] Aceticon@lemmy.dbzer0.com 3 points 16 hours ago (1 children)

    People also commonly do not know that the reserved for intranet ip address range of 192.168.0.0 is actually /16 so you can pick any number between 0 and 255 for that 3rd byte and have their whole network in a range other that 192.168.0.0/8 like pretty much everybody else.

    load more comments (1 replies)
    [–] lawks@aussie.zone 5 points 22 hours ago* (last edited 8 hours ago) (1 children)

    IPv6: Fuck you, you're only allowed one, now. Yeah, yeah, I know there are about 340 undecillion addresses in the space, but I know better than you, no one in history has ever needed to bind different services to the same port on the loopback interface, and if they did they were doing it wrong. Oh you made an RFC draft? Well I let the one from ~~2015~~ 2012 expire, so good luck with your current proposal, pleb.

    [–] Equinox1289@sh.itjust.works 2 points 20 hours ago (1 children)

    Can't you just use a ULA address for that?

    [–] lawks@aussie.zone 3 points 17 hours ago* (last edited 17 hours ago) (3 children)

    So the onus is on every individual user, to pick a random ULA prefix, bind specific addresses from it to the loopback interface, which is a different procedure for different OSes, probably requires root or elevated privileges, can have hard limits on, document it, etc. Greeeeaaaaaaat design. IPv6 gives out /64 like they're about to turn bad, but can't spare a /104? Gimme a break.

    I can dig a hole with a spoon, too, but if someone made it so that no one was allowed to dig holes with shovels unless they build their own (and have permission to build the shovel), when previously everyone was allowed to dig with shovels, I would not think highly of that person's wisdom.

    Maybe you think G. Huston of APNIC and W. Kumari of Google don't really know what they're talking about?

    load more comments (3 replies)
    load more comments (1 replies)
    [–] Cort@lemmy.world 50 points 1 day ago* (last edited 1 day ago) (3 children)

    Gateway is .69

    Dhcp is .70 - .254

    Static routes are .68 and below

    I will not be taking any questions

    [–] JelleWho@lemmy.world 15 points 1 day ago (1 children)

    The "gateway" is 69. Noted

    [–] Cort@lemmy.world 13 points 1 day ago (1 children)

    No no no, the period comes first, .69

    load more comments (1 replies)
    [–] MehBlah@lemmy.world 7 points 1 day ago (2 children)

    About twenty years ago I was hired in to straighten up a network at a investment place. They were running all static IP addresses and the guy who set it up set the gateway to 69. I laughed and started converting them to dhcp and seriously considered leaving the gateway alone.

    I have to ask a question now. My question is, is that you?

    load more comments (2 replies)
    load more comments (1 replies)
    [–] TheGingerNut@piefed.blahaj.zone 121 points 1 day ago (4 children)

    10.0.0.0/8 address space with a gateway address that gets randomized every 24 hours. Tomorrow's address is advertised on a HTTP server local to the network that cannot be externally accessed. For security reasons.

    [–] hylobates@jlai.lu 75 points 1 day ago

    That’s the kind of overengineering I was hoping for!

    [–] BluescreenOfDeath@lemmy.world 43 points 1 day ago (2 children)

    Nothing advertises hostnames, and the DHCP table is dumped and every client gets new address at the same time, too.

    Just make sure the MAC addresses randomize, too, and then you've got yourself a proper fucking mess for a hacker to sort out.

    [–] homain@lemmy.ml 5 points 1 day ago

    the honeypot house of mirrors

    [–] kalpol@lemmy.ca 14 points 1 day ago

    Throw in some random static DHCP leases that cycle every hour and update the firewall rule alias

    load more comments (2 replies)
    [–] neidu4@piefed.social 36 points 1 day ago* (last edited 1 day ago) (3 children)

    There's nothing preventing the gateway from being a DHCP client, just saying..

    [–] ikidd@lemmy.dbzer0.com 6 points 1 day ago

    Settle down, Satan.

    [–] Badabinski@kbin.earth 20 points 1 day ago (2 children)

    oh my god

    i love this idea so much. I've been doing networking for 13 years now and I've never considered a dynamically addressed gateway

    [–] racketlauncher831@lemmy.ml 3 points 20 hours ago

    At first I didn't understand then I read your comment... oh, my, god!

    load more comments (1 replies)
    [–] Seefoo@lemmy.world 3 points 21 hours ago (1 children)

    your home router is a DHCP client of your ISP's DHCP server, so...yea.

    load more comments (1 replies)
    [–] kamen@lemmy.world 4 points 20 hours ago* (last edited 20 hours ago) (1 children)

    It's good to be reminded that some things are just conventions rather than hard rules. I forget things like that (if I ever knew them to begin with).

    On topic, I usually do 192.168.0.1 or 192.168.1.1 depending on the situation.

    [–] MonkderVierte@lemmy.zip 2 points 15 hours ago (1 children)

    The whole of DNS configuration is just conventions.

    load more comments (1 replies)
    [–] pHr34kY@lemmy.world 24 points 1 day ago* (last edited 1 day ago) (4 children)

    Meanwhile my gateway is fe80::17a9:3ba7:5Β₯4πŸ”:b8Γ€7%42

    [–] purplemonkeymad@programming.dev 16 points 1 day ago (2 children)

    Wait is there an existing unicode to ipv6 method. I assume it would just be the bit values of the emoji in utf8?

    fe80::"hello πŸ”" aka fe80::6865:6c6c:6f20:f09f:9094

    I approve of the idea of cursed ipv6 notation.

    [–] Equinox1289@sh.itjust.works 4 points 21 hours ago (1 children)

    That would be a funny way to avoid DNS, just make the address the name.

    load more comments (1 replies)
    load more comments (1 replies)
    load more comments (3 replies)
    [–] sem@lemmy.blahaj.zone 7 points 23 hours ago (9 children)

    IP addresses are one thing, but wtf is a subnet mask??

    Wtf is 255.255.255.255 and why does it keep showing up???

    [–] Aceticon@lemmy.dbzer0.com 3 points 16 hours ago* (last edited 16 hours ago) (5 children)

    If a bit in those 4 bytes is 1 that means that the same bit in the IP address is part of what defines the network whilst the bits that are 0 are bits that can change in the IP address and that machine will still be part of that sub-network.

    So a mask of 255.255.252.0 (notice the 3rd byte) on a network with a prefix 192.168.0.0 means that 192.168.0.20 is in that sub-network AND 192.168.2.20 is part of that sub-network too, because the two lowest bits of the 3rd byte in that mask are 0, meaning that IP address where those bits vary are still in the same sub-network (i.e. the ranges 192.168.0.XXX, 192.168.1.XXX, 192.168.2.XXX and 192.168.3.XXX are all in the same sub-network).

    If instead the sub-network prefix was the same 192.168.0.0 but with a mask of 255.255.255.0 (the most common case you find in home internal networks) then 192.168.2.20 would NOT be part of the same sub-network as 192.168.0.20

    You probably also see now why a network mask is needed alongside the network prefix - in both examples above 192.168.0.0 is the network prefix, but without the network mask you don't know which 0 bits in that network code can be changed to make an IP address still in the same sub-network.

    Note that you can change the mask to make the sub-network smaller as well as to make them bigger: for example 192.168.0.0/255.255.255.223 is a perfectly valid subnetwork that fits 30 machines.

    See chronicledmonocle@lemmy.world 's post for a full explanation.

    load more comments (4 replies)
    [–] muusemuuse@sh.itjust.works 7 points 23 hours ago

    It tells you how to read the IP address. It’s a really cool trick that’s an enormous pain in the ass.

    [–] modus@lemmy.world 2 points 19 hours ago (1 children)

    If you're serious, you can't have one without the other.

    [–] hirihit640@sh.itjust.works 2 points 19 hours ago (2 children)

    Why can't you have ip addresses without subnet masks? Couldn't the whole internet be on a single network? Would be horrible for a number of reasons, but everything could still work.

    [–] modus@lemmy.world 1 points 12 hours ago (2 children)

    Your question is already answered here, but it also reduces traffic by keeping packets within a network defined by the subnet mask. It establishes guardrails so packet broadcasts aren't sent everywhere. The Internet is a single network. But not all of it can communicate with other parts without the right access permissions. Subnet masks are one very basic aspect of that access control.

    load more comments (2 replies)
    [–] Honytawk@discuss.tchncs.de 1 points 16 hours ago

    It is about security.

    So you can differentiate between the outside network and the local network. And even divide 2 local networks as well.

    Would it be possible? Sure. Just like it would be possible to have no speed limits for cars.

    load more comments (6 replies)
    [–] damnthefilibuster@lemmy.world 41 points 1 day ago (12 children)

    Last address? Who the heck does that???

    [–] MartianSands@sh.itjust.works 35 points 1 day ago (3 children)

    I've had modems from my ISP which assigned themselves 192.168.0.254 for some reason. I have no idea why

    [–] cynar@lemmy.world 2 points 20 hours ago

    My guess is that enough people were buying routers and using them as access points. They all tend to be on 192.168.0.1 .254 means you don't get as bad collisions when that happens. It would cut down on technical support calls.

    load more comments (2 replies)
    load more comments (11 replies)
    [–] hansolo@lemmy.today 19 points 1 day ago (5 children)

    My home server is at 192.168.1.230 because that's what IP was assigned to the machine at the moment I set it up.

    Yep. Love that chaos, ya know?

    load more comments (5 replies)
    [–] AmyAye@nord.pub 27 points 1 day ago (2 children)

    Just set the Gateway to use DHCP.

    [–] JonEFive@piefed.social 17 points 1 day ago

    Settle down Satan

    load more comments (1 replies)
    [–] bitjunkie@lemmy.world 22 points 1 day ago (1 children)
    load more comments (1 replies)
    load more comments
    view more: β€Ή prev next β€Ί