We have a problem with using IP-adress as source for a label. The way we have done it is to put all people in one geografical place with the same subnet. We then tried to create a label filtering on the first 3 sets of numbers in the IP omitting the last 3 (eg. Beginning with 192.168.0. But when people connect through VPN from home it is their home IP that is used in this filtering. How can we solve this problem?

I have started looking at LDAP Labels and thinks that must be where to go!?

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



There's not an easy way that I can think of.  First off, how are you creating the IP label?  Are you using regex?  If not, you will need to do so: http://www.kace.com/support/resources/kb/article/Tool-to-assist-in-building-REGEX-Inventory

If you can get the VPN address from a script, I think you could write it to a custom inventory field and use that. I don't have a way to test it currently, so I can't say if it would work or not for sure.

Something like this might work: http://superuser.com/questions/113271/how-to-find-my-vpn-client-ip-in-windows

Custom inventory field:



This is a pretty interesting problem.  If you solve it, make sure to update your question.

Answered 08/21/2012 by: jknox
Red Belt

Please log in to comment

I would use LDAP labels. You can then create your smart label using IP address > matches regex > "   " OR Label names > = > LDAP label name. 

Answered 08/21/2012 by: dugullett
Red Belt

Please log in to comment

Do you have the k1000 client installed on the home machines?

Answered 08/21/2012 by: SMal.tmcc
Red Belt

  • According to this blog the ldap labels only work for the machines not the users.
Please log in to comment