2 ms·
I don't understand why LAN DHCP address assignment is so slow. RTT to the DHCP server is almost always in the single-digit millisecond range, so why does DHCP o
by modeless 15y ago
I don't understand why LAN DHCP address assignment is so slow. RTT to the DHCP server is almost always in the single-digit millisecond range, so why does DHCP often take multiple seconds? Can someone explain this?
- w1nk 15y agoIt doesn't have to be slow. It can be (especially in larger networks) due to spanning tree on the switches. Check out: http://serverfault.com/questions/102346/dhcp-server-slow-to-give-out-ips http://serverfault.com/questions/102346/dhcp-server-slow-to-...
- JoeAltmaier 15y agoBecause the RFC calls for collecting DHCP responses over several seconds, then choosing the 'best' response. If you select the 'best' as the fastest, then you can simply take the 1st response and run with it. Then it takes only milliseconds as you observed. That's what we did.