host-identifier and option 82

Michal Vančo mvanco at di-vision.sk
Sat Jan 28 20:00:15 UTC 2012


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"
>> ...
> 




More information about the dhcp-users mailing list