Remix.run Logo
ronsor 6 hours ago

> There is one DHCP server.

There'd better be or your network is probably hosed.

wmf 6 hours ago | parent | next [-]

In theory it's fine to have multiple DHCP servers as long as they don't step on each other. But in reality a bunch of the things mentioned in this post are ways for the network to be hosed. Unfortunately, enough LANs are semi-hosed that it's worth working around known problems.

pezezin 6 hours ago | parent | prev | next [-]

At work I manage a network with two DHCP servers. One is a dnsmasq that assigns the IP address, hostname, and basic network parameters to all network devices, and the other is a LTSP server (https://ltsp.org/) that provides network boot images only for certain devices that require it. It might not look pretty, but it works really well.

smkelly 6 hours ago | parent | prev | next [-]

https://datatracker.ietf.org/doc/html/draft-ietf-dhc-failove...

0xcde4c3db 5 hours ago | parent | prev | next [-]

What really matters is that there's a coherent policy for assigning addresses, which is absolutely compatible with having multiple DHCP servers on the same subnet (e.g. each server configured to hand out non-overlapping IP ranges).

rcxdude 4 hours ago | parent [-]

It's less about the IP ranges they're giving out not overlapping and more about the requests that they respond to not overlapping (or at least that they don't contradict one another). The classic 'someone plugged a consumer wifi router into the office/university network' problem often is made worse because the consumer wifi router gives out different addresses.

kryogen1c 6 hours ago | parent | prev | next [-]

Windows supports dhcp failover, where multiple dhcp servers can exist on the same subnet.

Sharlin 5 hours ago | parent | prev | next [-]

Well, consumer Windowses (XP Home? It’s been a while) used to hose networks because they were "helpfully" running their own DHCP server.

briandw 6 hours ago | parent | prev | next [-]

You don’t have to have one. My first LAN didn’t. I had no idea what I was doing and picked 17.0.0.0 addresses for local ones and I couldn’t connect to Apples website.

Hikikomori 6 hours ago | parent | prev [-]

That works mostly, you'll have problems if you have duplicate IP addresses though.