/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


Using labels with IP-adress

08/21/2012 1794 views

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   [ + ] Show comments

Comments


All Answers

3

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:

http://www.kace.com/support/resources/kb/article/What-are-the-steps-to-create-a-custom-data-field-Inventory?action=artikel&cat=3&id=522&artlang=en

http://www.kace.com/support/resources/kb/article/Writing-Command-Line-Output

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

Answered 08/21/2012 by: jknox
Red Belt

3

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

1

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.
    http://www.itninja.com/blog/view/automatically-deploy-software-based-on-ad-membership

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ