Send dhcp-users mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

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 <>
Subject: Same MAC - diffrent IP depending on the contex (class)?
Message-ID: <>
Content-Type: text/plain; charset=utf-8; format=flowed


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;
                option routers;
                option subnet-mask;
} else {
        # This for "public" network - discovers from "not boot agent"
        host O000c290e741d  {
                hardware ethernet 00:0c:29:0e:74:1d;
                option routers;
                if option vendor-class-identifier="MSFT 5.0" {
                        option subnet-mask;
                } else {
                        option subnet-mask;

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 for more information.

dhcp-users mailing list


End of dhcp-users Digest, Vol 142, Issue 4

Reply via email to