host-identifier and option 82

Christian Kratzer ck-lists at cksoft.de
Sat Jan 28 22:35:15 UTC 2012


Hi,

On Sat, 28 Jan 2012, Michal Van?o wrote:

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

Some switches only support circuit-id with "ip dhcp snooping vlan 1 information option format-type circuit-id string".

It seems subscriber-id is supported more often on layer3 interfaces of routers and circuit-id is found on layer2 interfaces of lan switches.  But as you can stuff any string into both of them just use what you get.

Greetings
Christian


> 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

-- 
Christian Kratzer                      CK Software GmbH
Email:   ck at cksoft.de                  Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0          D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9          HRB 245288, Amtsgericht Stuttgart
Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian Kratzer



More information about the dhcp-users mailing list