多个DHCP服务器在同一子网和范围分配上

是否有可能有两个DHCP服务器在同一个子网上的IP地址两个范围? 是否可以configuration其中一个DHCP服务器只提供一定范围的MAC地址?

例如,希望具有服务范围192.168.1.50-> 100的主DHCP服务器,以及具有TFTP和PXE的另一个DHCP服务器范围192.168.1.220 —> 250,其仅接受来自给定列表的请求mac地址范围… Cani做到这一点?

在子网和另一个TFTP / PXE服务器上最好只有一个DHCP服务器,然后将给定的MAc地址列表中的请求定位到此TFTP / PXE服务器?

根据MAC地址列表分配一系列的IP和最终的TFTP / PXE最好的解决scheme是什么? 可能吗?

我使用Linux和dhcp3服务器…

谢谢。

你可以在使用子类和池的isc dhcpd中做到这一点。 手册页有详细的例子。

class "allocation-class-1" { match pick-first-value (option dhcp-client-identifier, hardware); } class "allocation-class-2" { match pick-first-value (option dhcp-client-identifier, hardware); option root-path "samsara:/var/diskless/alphapc"; filename "/tftpboot/netbsd.alphapc-diskless"; } subclass "allocation-class-1" 1:8:0:2b:4c:39:ad; subclass "allocation-class-2" 1:8:0:2b:a9:cc:e3; subclass "allocation-class-1" 1:0:0:c4:aa:29:44; subnet 10.0.0.0 netmask 255.255.255.0 { pool { allow members of "allocation-class-1"; range 10.0.0.11 10.0.0.50; } pool { allow members of "allocation-class-2"; range 10.0.0.51 10.0.0.100; } }