Follow

So much this. So many address collisions when I started this job.

@devrandom Or at least reserve them in the DHCP server.

@devrandom Mea culpa, mea culpa, mea maxima culpa. And I confess to you, my compañeros and to all the main devs that I have done this, but will sin no more.
(signing) In the Name of the Pasta, and of the Sauce, and of the Holy Meatballs, R'Amen.

@devrandom This is not a problem if you statically assign it at the DHCP server.

@BalooUriza very true; however, my predecessor(s) did not do this. It was so messy.

@devrandom I once inheireted a network that was very mixed between statically assigned at the clients and statically assigned in DHCP. Must have taken me two months of tracking shit down to get everything into DHCP proper. Then got laid off...

@BalooUriza ugh, I'm sorry about the lay-off. Sounds similar to here though. Servers, Workstations, wireless were all in a single subnet. That includes personal wireless devices.

Everything .20+ was in the DHCP scope which may have been okay if they didn't start assigning static IPs out of that range. And of those, only a couple had a proper reservation.

@devrandom I don't care why anybody would do that at this point. It is easy to set up DHCP to automatically manage DNS and RDNS to update automatically with DHCP. Even on static reservations, you don't want to set a long TTL. Just set the expiration time in DHCP and the TTL and DNS to the same thing.

@BalooUriza @devrandom it's kinda weird tho that default behavior isn't to ping it first to see if it's in use before assigning a request that isn't a lease renewal

@feld @devrandom That would need to be done server side and breaks the moment there's a Windows client on the network, since it will not reply to ping by default. I recall @Home did actually have this behavior with its DHCP servers and would regularly reclaim actively used IPs because the customer CPE (usually a Windows computer plugged directly into their cable bridge) wasn't replying to DHCP ECHO requests after... I want to say Win2000 SP3...

@feld @devrandom @BalooUriza That's scope creep. It's a protocol to dynamically allocate addresses, it shouldn't assume that you don't know what you're doing.

ZeroConf and IPv6 neighbor discovery are cool, but DHCP is for another purpose.

@clacke @feld @devrandom Honestly the need to overengineer it because of lack of administrator understanding has been kind of obsolete for about 20 years now as zeroconf became ubiquitous around that time. I honestly can't remember when I banged out this shit by hand on the client end rather than letting the OS do it's DHCP-or-zeroconf default.

@clacke @feld @devrandom Really nice thing that gets absolutely butchered on Windows: DHCP's ability to send configuration information for all kinds of wacky shit beyond IP configuration and DNS resolvers. Like being able to pass POP, SMTP, XMPP, SIP, etc. information to clients.

Sign in to participate in the conversation
hackers.town

A bunch of technomancers in the fediverse. Keep it fairly clean please. This arcology is for all who wash up upon it's digital shore.