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

Technology

37800 readers
306 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
 
all 45 comments
sorted by: hot top controversial new old
[–] [email protected] 178 points 8 months ago* (last edited 8 months ago) (2 children)

1st reaction: lmao

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

[–] [email protected] 77 points 8 months ago

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

[–] [email protected] 42 points 8 months ago (2 children)

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.

[–] [email protected] 15 points 8 months ago (1 children)

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

[–] [email protected] 17 points 8 months ago (2 children)

"There is nothing more eternal than a temporary measure"

[–] [email protected] 3 points 8 months ago

A temporary solution is neither of both

[–] [email protected] 3 points 8 months ago

Ooh, that's good! 🤯

[–] [email protected] 1 points 8 months ago

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

[–] [email protected] 78 points 8 months ago (3 children)
  • 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.

[–] [email protected] 25 points 8 months ago (3 children)

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.

[–] [email protected] 8 points 8 months ago

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

[–] [email protected] 3 points 8 months ago (1 children)

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

[–] [email protected] 4 points 8 months ago

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

[–] [email protected] 2 points 8 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.

[–] [email protected] 13 points 8 months ago (1 children)

Zero downtme

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

[–] [email protected] 6 points 8 months ago

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

  • Resilient
  • Durable
  • Secure
[–] [email protected] 2 points 8 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.

[–] [email protected] 61 points 8 months ago (1 children)

Distributed Honor-system Clothes Peg Server

[–] [email protected] 1 points 8 months ago

Lol honor system omg I'm dying

[–] [email protected] 42 points 8 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.

[–] [email protected] 35 points 8 months ago (2 children)

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.

[–] [email protected] 16 points 8 months ago* (last edited 8 months ago) (1 children)

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.

[–] [email protected] 3 points 8 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
[–] [email protected] 13 points 8 months ago (1 children)

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

[–] [email protected] 24 points 8 months ago* (last edited 8 months ago) (2 children)

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.

[–] [email protected] 4 points 8 months ago* (last edited 8 months ago) (1 children)

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.

[–] [email protected] 1 points 8 months ago (1 children)

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

[–] [email protected] 1 points 8 months ago (1 children)

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.

[–] [email protected] 1 points 8 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.

[–] [email protected] 2 points 8 months ago (1 children)

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.

[–] [email protected] 1 points 8 months ago (1 children)

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 😜

[–] [email protected] 1 points 8 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.

[–] [email protected] 19 points 8 months ago

Probably the server room in a big company

[–] [email protected] 16 points 8 months ago (1 children)

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

[–] [email protected] 2 points 8 months ago

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

[–] [email protected] 15 points 8 months ago

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

[–] [email protected] 11 points 8 months ago* (last edited 8 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.

[–] [email protected] 10 points 8 months ago

Superb, really!

[–] [email protected] 9 points 8 months ago

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

[–] [email protected] 8 points 8 months ago (1 children)

RFC = Really Fuckin' Cheap?

[–] [email protected] 8 points 8 months ago (1 children)

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.

[–] [email protected] 3 points 8 months ago

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