How to store addition information for static hosts in dhcp

Hello,
I'm looking for an option to store additional information per static hosts in dhcp configuration. i.e the location of a host.
And of course show this information in LuCi ...

Henning

You can use custom suffix/prefix for hostname, or custom IP range/subnet for different locations.
It looks like there's no other relatively simple way.

Ok.
It should be easy to add an additional information via uci, like this:

uci set dhcp.@host[37].info='thin client, living room'
uci set dhcp.@host[22].info='thin client, garage'

But those values are only accessible via command line.
So the luci web-page has to be extended to show this additional info every new openwrt version :frowning:

1 Like