option 82 feature of DHCP

Han Koster h.koster at genexis.eu
Thu Jul 3 14:47:34 UTC 2014


Hi,

I am confused, on both the question and the answer.
The confusion is about the used terms, server switch etc. I think the following is meant:

1. The dhcp client send the discover and request
2. The access switch adds a portid/circuitid or whatever in option 82
3. The requester wants the dhcp server to use this id to assign an ip (and not use mac)

It would be nice when this could be configured in the dhcp server. But afaik that is not possible with the current/latest version, so you have to modify the code yourself.
Be aware that you must be sure that only one client is possible on the port of the access switch.
Or the switch must combine portid and mac address in the option 82 id to create something unique.

Regards,

Han Koster

________________________________________
From: dhcp-users-bounces at lists.isc.org [dhcp-users-bounces at lists.isc.org] on behalf of Peter Rathlev [peter at rathlev.dk]
Sent: 03 July 2014 07:48
To: Users of ISC DHCP
Subject: Re: option 82 feature of DHCP

On Thu, 2014-07-03 at 04:50 +0000, Hardik.V.Shah at ril.com wrote:
> I am configuring DHCP server with enabling option 82 features on
> network switches. My goal is to assign an IP to the server based on
> server’s serial number which I can get it through option 82.
>
> Can someone advise if it is possible and how?

Option 82 is typically something that the first switch injects into the
DHCP discover/request that the server sends out. The injection happens
in the switch so it can contain information that the server couldn't
know itself.

The serial number of the server sounds like something the server would
know and the switch would not know.

If the switch can really see the serial number then yes, it is possible.
The Internet is filled with examples of how to do it. Just search for
"isc dhcp option 82" in your favourite search engine.

Are asking because "host" statements cannot select on a random option?

--
Peter


_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


More information about the dhcp-users mailing list