Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. Same MAC - diffrent IP depending on the contex (class)? (Robert Socha) ---------------------------------------------------------------------- Message: 1 Date: Fri, 7 Aug 2020 23:02:24 +0200 From: Robert Socha <so...@socha.it> To: dhcp-users@lists.isc.org Subject: Same MAC - diffrent IP depending on the contex (class)? Message-ID: <8429bc14-e5e3-4304-caa6-9ec02b841...@socha.it> Content-Type: text/plain; charset=utf-8; format=flowed Hi, I wonder if it's possible to achieve this in ISC DHCP: - I have static hosts only (only known clients - no dynamic assignments) - I need to assign different addresses to host depending on if it's boot client (PXE or UEFI), or if it's OS (linux,windows,etc) DHCP client discover ( I need that because we use RFC3021 or /32 route-able IP assignments to customer services and this addresses are not supported by UEFI firmware). So something like this (in pseudo config) or as idea: # arch-type -> option 93 if(if exists arch-type) { # Private/netboot subnet host N000c290e741d { hardware ethernet 00:0c:29:0e:74:1d; fixed-address 100.120.120.2; option routers 100.120.120.1; option subnet-mask 255.255.255.252; } } else { # This for "public" network - discovers from "not boot agent" host O000c290e741d { hardware ethernet 00:0c:29:0e:74:1d; fixed-address 10.255.255.11; option routers 10.255.255.10; if option vendor-class-identifier="MSFT 5.0" { option subnet-mask 255.255.255.255; } else { option subnet-mask 255.255.255.254; } } } I looking for solution with static assignments (not dynamic pool's) for netboot network (we some logic behind this assigned IP's) Best regards -- Robert Socha ------------------------------ Subject: Digest Footer _______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 142, Issue 4 ******************************************