美好的一天,
我想询问comunity是否可以在本地盒子上运行本地dhcpd服务器来设置TFTP启动服务器? 该设置目前看起来像这样?
什么是目前发生的(2 dhcpd服务器冲突)路由器(与dhcpd)—–> centos tftp启动服务器(dhcpd)—->客户端桌面
需要什么:路由器(使用dhcpd)—–> centos tftp启动服务器—->客户端桌面
任何帮助/build议?
是的,这是可能的,尽pipe它可能会或可能不会与您的(未指定的)设备一起使用。
您需要告诉路由器(使用dhcpd)提供tftp服务器的地址和要请求的文件名。 你如何做这是非常依赖路由器(与dhcpd)。
例如pfsense

其他路由器(与dhcpd)将不同。
作为答案1,您可能只需在路由器上禁用dhcp,然后将该angular色移动到可configuration框,如CentOS服务器
一个简单的示例configuration可能是(dhcpd.conf):
subnet 192.168.2.0 netmask 255.255.255.0 { option domain-name-servers 192.168.2.1, 8.8.8.8; option routers 192.168.2.1; range 192.168.2.20 192.168.2.100; authoritative; }
正如你所看到的,你必须调整你的IP(networking,网关,DNS)。
请参阅此链接了解更多信息: http : //www.daemon-systems.org/man/dhcpd.conf.5.html