host-identifier and option 82

Matej Mailing mailing at tam.si
Sat Jan 28 22:10:19 UTC 2012


Hi,

just one question, linked to the discussion:

Is the declaration of

host foo {
         host-identifier option agent.circuit-id "foo";
         fixed-address 192.0.2.17;
       }

possible with omapi?

Thanks,
Matej

2012/1/28 Michal Vančo <mvanco at di-vision.sk>:
> To use host-identifier with option 82 across multiple switches you must define unique subscriber-id for each switchport with "ip dhcp relay information option subscriber-id" interface level command (works on Cisco switches).
>
> michal
>
> On 28.1.2012, at 20:53, Michal Vančo wrote:
>
>> No. It definitely doesn't work like that:
>>
>> /dhcp/test.conf line 13: host-identifier must be an option
>> host hostname { host-identifier circuit
>>                                       ^
>>
>> michal
>>
>> On 28.1.2012, at 20:43, Simon Hobson wrote:
>>
>>> Someone would have to try it, but you can define variables. So it might be possible to do something like :
>>>
>>> circuit=pick-first-value(concatenate(agent.ciruit-id, agent.remote-id), agent.ciruit-id, agent.remote-id)
>>>
>>> host ...
>>> host-identifier circuit "foo"
>>> ...
>>
>
> _______________________________________________
> 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