717
Low tech DHCP (jlai.lu)
submitted 7 months ago by ElCanut@jlai.lu to c/technology@beehaw.org
all 45 comments
sorted by: hot top controversial new old
[-] tunetardis@lemmy.ca 178 points 7 months ago* (last edited 7 months ago)

1st reaction: lmao

2nd reaction: hey wait, this is pure genius!

[-] Fubarberry@sopuli.xyz 76 points 7 months ago

Yeah, the older I get the more I appreciate solutions like this.

[-] Neato@ttrpg.network 42 points 7 months ago

Yeah it's very effective. It has a big downside of people losing the pegs and then those addresses are "lost" but all that means is that 2 users can't reliably connect and when they report to IT they will be asked if they had the correct peg. And I guess quarterly do a review for unused addresses that have pegs out and create new ones for lost pegs.

[-] B0rax@feddit.de 15 points 7 months ago

These things are often used for temporary installations (like 2 weeks max)

[-] nossaquesapao@lemmy.eco.br 17 points 7 months ago

"There is nothing more eternal than a temporary measure"

[-] dr_lobotomy@lemmynsfw.com 3 points 7 months ago

A temporary solution is neither of both

[-] renard_roux@beehaw.org 3 points 7 months ago

Ooh, that's good! 🤯

[-] renard_roux@beehaw.org 1 points 7 months ago

Always make a backup! Hopefully, they remembered the 1-2-3 rule 🤔

[-] UmbraTemporis@lemmy.dbzer0.com 77 points 7 months ago
  • Easier to setup
  • More control
  • Easier to maintain
  • Dirt cheap
  • Low power
  • Space efficient
  • Zero downtme

Need I go on? This is clearly the future. Friendship ENDED with Network Hardware now PEG is my best friend.

[-] Toribor@corndog.social 25 points 7 months ago

I want to criticize this but I have multiple production environments with no DHCP and the process for provisioning new servers is basically "Guess an ipv4 address and if you pick one that's already in use the build will fail and you can guess again."

This is arguably better which is a little embarrassing.

[-] ms264556@beehaw.org 8 points 7 months ago

Totally OK way of doing it. You basically manually implemented the protocol APIPA uses to allocate 169.254 addresses.

[-] exu@feditown.com 3 points 7 months ago

Have you never just run an nmap of the whole network and made a list of ip addresses that are occupied?

[-] Toribor@corndog.social 4 points 7 months ago

You could, but that information gets stale pretty quickly and is tricky to do with the ACLs.

[-] KillingTimeItself@lemmy.dbzer0.com 2 points 7 months ago

ah yes the good old "gonna use manual addressing because lmao" and then the good old "man i wonder which IP sets i have used already"

my beloved.

[-] Kissaki@beehaw.org 13 points 7 months ago

Zero downtme

If the paper falls down it's literal downtime though!

[-] UmbraTemporis@lemmy.dbzer0.com 6 points 7 months ago

But the server is still operational, it's just moved.

  • Resilient
  • Durable
  • Secure
[-] MystikIncarnate@lemmy.ca 2 points 7 months ago

My only argument is in the idea of finding which device has a particular IP address.

Guess you're running laps around the campus staring at pegs for a while to figure out which one it is.

[-] nxdefiant@startrek.website 61 points 7 months ago

Distributed Honor-system Clothes Peg Server

[-] Blooper@lemmynsfw.com 1 points 7 months ago

Lol honor system omg I'm dying

[-] JoMiran@lemmy.ml 42 points 7 months ago

I did something like this some 22 years ago or so. I can't remember the exact reason why but essentially DHCP was not reliable enough or it caused some issue with the proprietary network hardware my company built and sold. So I built a little "kiosk" (old laptop with an HTML interface to an database) that would give you an IP and a "return by" timer of 12 hours. Before displaying it would ping to make sure the IP wasn't active. Looking at this post I know realize that I could have just bought a pack of clothes pins and saved myself some trouble.

[-] t3rmit3@beehaw.org 35 points 7 months ago

The RFC is actually real, though it it basically a joke: https://www.rfc-editor.org/rfc/rfc2322

Management of IP numbers by peg-dhcp

Introduction This RFC describes a protocol to dynamically hand out ip-numbers on field networks and small events that don't necessarily have a clear organisational body.

History of the protocol.

The practice of using pegs for assigning IP-numbers was first used at the HIP event (http://www.hip97.nl/). HIP stands for Hacking In Progress, a large three-day event where more then a thousand hackers from all over the world gathered. This event needed to have a TCP/IP lan with an Internet connection. Visitors and participants of the HIP could bring along computers and hook them up to the HIP network.

During preparations for the HIP event we ran into the problem of how to assign IP-numbers on such a large scale as was predicted for the event without running into troubles like assigning duplicate numbers or skipping numbers. Due to the variety of expected computers with associated IP stacks a software solution like a Unix DHCP server would probably not function for all cases and create unexpected technical problems.

[-] jarfil@beehaw.org 16 points 7 months ago* (last edited 7 months ago)

It's not a joke if it specifies a procedure to solve a real-world problem.

RFC 2549 is a joke, RFC 1149 is almost a joke (basically a spec for a sneakernet, XKCD What If 31 ), RFC 2324 is mostly a joke but also an example of IoT... and a similar thing goes for all of these:

https://tangentsoft.com/rfcs/humorous.html

Even the ones most intended as a joke, have some grain of usefulness in them.

[-] sobriquet@aussie.zone 3 points 7 months ago

The XKCD one is interesting, but seems to be missing the transfer to/from the storage medium sent by FedEx.

If I want to move data from my computer to yours over the internet, the internet bandwidth between our devices/networks is the main consideration. If I’m FedExing SD cards or HDDs, I’ve also gotta take into account the transfer times to get the data ONTO those devices.

I wonder how the analysis would fair when taking into account:

  • speed of internet
  • TB/kg of storage
  • storage medium transfer speeds
[-] sushibowl@feddit.nl 13 points 7 months ago

Written on 1 April 1998. definitely a joke, though it does work.

[-] Zworf@beehaw.org 24 points 7 months ago* (last edited 7 months ago)

Haha this is literally how we used to deal with this at CampZone, a huge LAN party, back in the mid-2000s.

At later editions they just enabled DHCP on the network, I think they didn't at first because they wanted to be independent of DHCP servers. Early editions even had a negligible internet uplink (after all, it was a LAN party). Though later ones had faster uplinks than the thousands of participants could fill.

[-] sunbeam60@lemmy.one 4 points 7 months ago* (last edited 7 months ago)

Same as The Party in Aars, Denmark, in the 90s. Every table had a sheet. Cross out the IP you picked. Managed 2000 attendees that way.

[-] Zworf@beehaw.org 1 points 7 months ago

Oh yeah The Party was another big one. Probably gone by now too?

[-] sunbeam60@lemmy.one 1 points 7 months ago

Yeah it has. The demo aspect became smaller and smaller and with the advent of internet penetration even the copy side of it dissipated. It wasn’t the same at the end tbh

Still, fond memories of coding, sleeping under the tables, eating junk.

[-] Zworf@beehaw.org 1 points 7 months ago

Yeah me too. Drinking way way way too much. Playing games in the middle of the night. Seeing weird stuff in other tents like a fullblown orgy. Fun competitions. I really miss it.

[-] Inktvip@lemm.ee 2 points 7 months ago

Talking about Lan uplinks, in the early 2010's I had the joy of working with a 20gb uplink at a small university LAN (the sysadmin got a good amount of free pizza and beers for that one). I spent a large amount of my savings on a 10gb NIC only to find out my hard drive couldn't keep up lol.

[-] Zworf@beehaw.org 1 points 7 months ago

Wow..

I remember in 1993 my uni had no uplink. It was UUCP only (so just polled mail). In 1994 we got an uplink which was 256kbit shared between all sites. Luckily it came in to our facility first (the IT/Tech branch) and was cascaded further so we basically used it all 😜

[-] Inktvip@lemm.ee 1 points 7 months ago

Guess I'm a bit too young for that still lol. We got a pair of ISDN2 lines in 1994 (so technically also 256k lol) at home, but I was too young to remember that. With cable internet coming in 97, that was technically still slower than bonded isdn at the very start.

In a way I was very privileged growing up when it came to Internet. My dad's company at the time paid good money to get all the latest (often testing phase) stuff to his house in return for being available 24/7.

[-] Flax_vert@feddit.uk 19 points 7 months ago

Probably the server room in a big company

[-] silentdon@beehaw.org 16 points 7 months ago

The admin at my first job did this but with an excel spreadsheet. They were old school and didn't "trust" DHCP.

[-] Kissaki@beehaw.org 2 points 7 months ago

If they were using a spreadsheet I don't think it qualifies as equal/the same to this.

[-] Zerthax@reddthat.com 15 points 7 months ago

I have to use a lot of static IP addresses, and I'd take this over what I normally deal with.

[-] JohnEdwa@sopuli.xyz 11 points 7 months ago* (last edited 7 months ago)

This is basically how radio controlled models using FM TX/RX pairs were coordinated back in the day, there would be a board with each frequency crystal that you would use for your transmitter, and you'd plop the matching one into your model. Reason being that if someone was already flying something and you turned your radio on to the same frequency, they would immediately crash.

[-] Frederic@beehaw.org 10 points 7 months ago

Superb, really!

[-] uninvitedguest@lemmy.ca 8 points 7 months ago

RFC = Really Fuckin' Cheap?

[-] Mountaineer@aussie.zone 8 points 7 months ago

Can't tell if you're joking, but a Request For Comments is effectively a proposal for how a process should be performed.
Some of them are eventually ratified as internet standards by the IETF.
Plenty of them remain useful as defacto standards even without formal acknowledgement.

[-] uninvitedguest@lemmy.ca 3 points 7 months ago

Thanks! Genuinely had no idea. Thought it was being described as a really fuckin' cheap DHCP server.

[-] Barometer3689@feddit.nl 8 points 7 months ago

Lol I know that place. Funny finding it on here.

this post was submitted on 04 Apr 2024
717 points (100.0% liked)

Technology

37702 readers
354 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS