How to setup PXE on separate DHCP server [closed]

≡放荡痞女 提交于 2019-12-11 13:01:47

问题


my network has a DHCP server incapable of serving PXE requests (you cannot set next-server option at all) and thist server MUST remain as DHCP server.

I would like to have a PXE booting on the network, but as I said earlier, I cannot do that with this current DHCP server. Is it possible to for example setup secondary DHCP server which would only provide the missing option to PXE clients? Iam opened to any other solution, just please, keep in mind, that I need this current DHCP to stay.

Thanks a lot!


回答1:


I have found this, so it is possible:

http://danielboca.blogspot.cz/2012/02/boot-linux-from-network-using-pxe-and.html

The part with DNSMASQ is important




回答2:


In general; no. You're only meant to have one "authoritative" DHCP server per subnet. This is because the client broadcasts a "who am I?" request without knowing who/where the DHCP server is; and the DHCP server is meant to notice this, allocate an IP address from the pool and respond with a "You are ...." reply - if there are 2 DHCP servers they both reply and the client gets all confused.

The easiest way out (other than fixing/replacing the existing DHCP server) may be to create a new subnet, such that packets broadcast on the new subnet don't make it to the existing network (but other traffic does). Then you'd assign a range of IP addresses to the new subnet (and make sure those IP addresses can't be assigned by the old DHCP server), and have a new DHCP server managing that pool of IP addresses for the new subnet.



来源:https://stackoverflow.com/questions/21933521/how-to-setup-pxe-on-separate-dhcp-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!