multiple bootprelay servers

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
We are working on building a more resilient network. One key part is DHCP. Our server team is working on setting up our servers (Windows 2012 R2) to be able to handle the requests. I just need to have our routers be able to forward the request to the proper DHCP server. Currently our routers (x460 EXOS 15.5.2.9) only forwards requests to our one DHCP server (per building) and it works great. If that server goes down or offline for any reason we want users to still be able to obtain an IP address. How do we add a second server to the router. Do we just add a second IP to the bootprelay part of the config

configure bootprelay add vr VR-Default
configure bootprelay add vr VR-Default

If that's the case how does the system keep track of which server it's passing to?

Thanks in advance!
Photo of bw447

bw447

  • 906 Points 500 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of John

John

  • 220 Points 100 badge 2x thumb
You should be able to just add another address.  At least that is the way it works on the S-series.  The system will relay the DHCP packet to both servers.  It lets the DHCP protocol work it out.  Basically the first DHCP packet to make it back to the client wins.  Typically what you do is split the scope 80\20 across the two servers and you tell your secondary server to delay its response by 5 seconds or so.  Check this out.
Photo of Frank

Frank

  • 3,662 Points 3k badge 2x thumb
If I'm not mistaken, Windows 2012 has revamped their DHCP so that you don't even have to split the scopes anymore, but where they both know about all of the assignments.
https://technet.microsoft.com/en-us/library/dn338978.aspx

I wouldn't have thought to ever say this, but that's quite a neat feature Windows has now. Two 2012 servers in failover mode with the new features, two entries on the 460s, and that should be it.
Photo of bw447

bw447

  • 906 Points 500 badge 2x thumb
Thanks for the replies John and Frank. We'll test this out and I'll post the results.