this post was submitted on 04 Nov 2026
204 points (98.6% liked)

linuxmemes

33321 readers
623 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
     
    all 50 comments
    sorted by: hot top controversial new old
    [–] damnthefilibuster@lemmy.world 13 points 1 hour ago (2 children)

    Last address? Who the heck does that???

    [–] ChaoticNeutralCzech@feddit.org 4 points 27 minutes ago (1 children)

    It's called multicast and it's for spamming every device on the network /s

    [–] damnthefilibuster@lemmy.world 1 points 13 minutes ago

    hey, don't you blame multicast for the sins of others! Multicast and Anycast are under witness protection!

    [–] MartianSands@sh.itjust.works 8 points 58 minutes ago

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

    [–] MonkeBizNES@lemmy.cafe 1 points 14 minutes ago* (last edited 13 minutes ago)

    192.168.0.2 😀

    [–] Opisek@piefed.blahaj.zone 3 points 1 hour ago (1 children)

    First address? As in, the network address? Last address? As in, the broadcast address? Suspicious.

    [–] dogdeanafternoon@lemmy.ca 1 points 18 minutes ago

    This guy networks

    [–] TheGingerNut@piefed.blahaj.zone 58 points 3 hours ago (3 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 40 points 3 hours ago

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

    [–] stoy@lemmy.zip 2 points 1 hour ago

    I use 10.13.37.42 as my gateway.

    [–] BluescreenOfDeath@lemmy.world 20 points 3 hours ago

    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.

    [–] AmyAye@nord.pub 7 points 1 hour ago (1 children)

    Just set the Gateway to use DHCP.

    [–] JonEFive@piefed.social 2 points 41 minutes ago

    Settle down Satan

    [–] bitjunkie@lemmy.world 11 points 3 hours ago (1 children)
    [–] db2@lemmy.world 1 points 2 hours ago
    [–] db2@lemmy.world 7 points 2 hours ago

    Also change the random address daily without announcing it. If the 7th floor wants internet they can damn well work for it. πŸ˜†

    [–] possiblylinux127@lemmy.zip 1 points 1 hour ago (1 children)

    You have the same issue with ipv6

    [–] dihutenosa@piefed.social 1 points 46 minutes ago

    Yep. My server got promoted into a router, so now my gateway is on IPv6 PD::10 :)

    [–] hemko@lemmy.dbzer0.com 4 points 2 hours ago
    [–] ChaoticNeutralCzech@feddit.org 2 points 2 hours ago (1 children)

    Why does my router default to 10.0.0.138? Several do, actually...

    [–] possiblylinux127@lemmy.zip 1 points 1 hour ago

    Good luck getting your printer to work

    [–] FuckReddit_letitdie@sh.itjust.works 4 points 3 hours ago (5 children)

    .254

    Anything else is mental illness. .1 is sus but acceptable in a pinch. But why cut into the DHCP pool like that. 1-100 is DHCP, obviously.

    [–] SpaghettiMaster@feddit.uk 12 points 2 hours ago (1 children)

    My DHCP is 100-something I dont remember because I don't care about or respect the devices using DHCP.

    As God intended. If you're important in any context, you have a static IP. Otherwise you're a second or third class device.

    [–] hylobates@jlai.lu 14 points 3 hours ago (1 children)

    Gonna use 10.233.212.254 on my 10.233.212.0/23 πŸ‘

    [–] gastroglizzy@piefed.social 7 points 3 hours ago* (last edited 3 hours ago) (1 children)
    [–] bunnyBoy@pawb.social 1 points 2 hours ago (1 children)

    I never run into Dr.Tran in the wild and it's a shame. More people need to support red blooded American secret agents that also have a doctorate

    [–] JonEFive@piefed.social 1 points 40 minutes ago

    Buttery what!? Smoked what!? So crazy!

    [–] gastroglizzy@piefed.social 8 points 3 hours ago* (last edited 3 hours ago) (2 children)

    My soho setup is:

    1-100 = DHCP

    101 = Default gateway

    102 - 199 = Unused

    201-254 = Static, manually assigned IPs (if any)

    I came up with it before I got my Net+. I told myself I'd change it as soon as it caused any problems. That was 12 years ago.

    [–] SpaghettiMaster@feddit.uk 5 points 2 hours ago (1 children)

    I use the low numbers for statics, less to remember/communicate if its a 1/2 digit number instead of 3.

    [–] spicehoarder@lemmy.zip 2 points 2 hours ago

    I'm stealing this config, I love it.

    [–] wreckedcarzz@lemmy.world 1 points 1 hour ago* (last edited 1 hour ago)

    Mine is 1 for router/gateway, 2-199 is static with 2-9 (technically 1-9) being network gear, 10-19 being servers/related, 20-29 computers, 30-39 phones... all the way up to 100-119 for cameras and access, currently. And then 200+ for dhcp.

    Everything on the network runs dhcp but gets a static ip from the router. If I ever forget to assign a new device, it's obvious since it won't be near the related equipment, and it'll be like 213 or something, sticking out like a sore thumb.

    [–] nitrolife@hikki.team 3 points 3 hours ago* (last edited 3 hours ago)

    I set the gateway to .1 and everything up to 100 I move out of DHCP into static pool for some nodes (speakers, servers, gateways, SIP phones, access points, switches, printers, vacuum cleaners, etc.). Simply because in this case, you have to type fewer digits to log into these boxes.

    [–] crandall@lemmy.today 3 points 3 hours ago* (last edited 3 hours ago) (2 children)
    [–] remotelove@lemmy.ca 14 points 3 hours ago* (last edited 2 hours ago) (1 children)

    255 is reserved for broadcast.

    Edit: Yes, 255 is technically not 'reserved' by itself. I was only thinking about the addresses scoped to /24 for a simple answer. A broadcast address is reserved, though.

    When in doubt: https://www.calculator.net/ip-subnet-calculator.html

    [–] Lodespawn@aussie.zone 4 points 3 hours ago (1 children)

    10.233.213.255 is broadcast, 10.233.212.255 is a usable address ..

    [–] BluescreenOfDeath@lemmy.world 3 points 3 hours ago (3 children)

    How big of an IP scope do you use at home?

    Do you really need something larger than a /24?

    [–] SpaghettiMaster@feddit.uk 2 points 2 hours ago

    I could see something like /20 being useful not so much for the number of addresses but to group things by use case, then /8 because you don't care and it doesn't matter. Also 10.0 is quicker to type and cleaner to look at than 192.168

    [–] hylobates@jlai.lu 4 points 3 hours ago (1 children)

    I’m quite fond of 10.0.0.0/8. That gives you a lot of wiggle room, just in case.

    [–] thisbenzingring@lemmy.today 2 points 3 hours ago (1 children)

    Just a little bit of wiggle room....

    [–] remotelove@lemmy.ca 3 points 1 hour ago

    It's useful to keep the 16 million IoT devices you have running on WiFi segregated a bit.

    [–] Lodespawn@aussie.zone 3 points 3 hours ago (1 children)

    Well technically a 10. network could be a /8 if you really wanted to. But in this case the /23 was specified above. I don't think it's necessary but that's what op was talking about and the 212.255 is a valid address, as is 213.0

    [–] BluescreenOfDeath@lemmy.world 1 points 3 hours ago (2 children)

    Sure, you could. But you'd be going out of your way to setup an internal IP scope you'll never fully utilize.

    I suppose it doesn't really matter, but it just feels wrong.

    [–] remotelove@lemmy.ca 1 points 2 hours ago* (last edited 1 hour ago)

    Thanks for the correction on the the broadcast address, btw. The details are important.

    At home, I have 172.16/12 scoped out for my cluster subnet and just use the second and third octet to denote service function. It's excessive scoping, but it's an internal scope for a private network and broadcasts are generally contained to the cluster network. It would be trivial to split that into a 172.16/16 if I ever had the desire. (Speaking bluntly, it really doesn't matter much in this case. I'll need to split it out to keep Longhorn traffic segregated later, but it's not an issue now.)

    The rest of the network is reasonably scoped out across 192.168 ranges and chopped up across a few VLANs.

    My addressing scheme is split into "public" and "stay the fuck out", with most 172 addresses being the latter. At home this is great. In a large network, scoping out such a large 172 subnet could be detrimental. ("It depends" on the detrimental bit and requires proper planning and understanding about why subnets were even built into IPv4 from the get-go.)

    Edit: Most addressing is static on my cluster network, with DHCP only handing out addresses based on MAC address. The 172 subnet has very restricted dynamic IP ranges.

    Regardless of what is what, it's a scheme I recognize and that is the more important bit.

    [–] draeath@lemmy.sdf.org 1 points 2 hours ago

    It might also make you really grumpy if you decide to use a VPN or containers - those often use 10/24 subnets and having an overlap with your LAN can make things spicy.

    [–] rtxn@lemmy.world 1 points 3 hours ago (1 children)

    The highest address of a subnet is the broadcast address. You can't assign it to a host.

    [–] bluspoon@lemmy.world 6 points 3 hours ago (1 children)

    But 10.233.212.225 is middle of the range for the /23.

    [–] Onomatopoeia@lemmy.cafe 3 points 3 hours ago (1 children)

    I had students like you when teaching Cisco classes...

    Their peers heads would always explode, lol.

    [–] zurohki@aussie.zone 1 points 2 hours ago

    If you use a /23 you can use the middle .0 too.

    My favourite dumb networking trick though is that Linux lets you use an IPv6 address as an IPv4 gateway.

    ip -4 route add default via inet6 fe80::1 dev eth0
    

    That works so long as the gateway is running dual stack.