Skip to main content
Solved

Wildcards in IP Address Smart Group Criteria?

  • January 4, 2016
  • 3 replies
  • 32 views

apizz
Forum|alt.badge.img+15

Just by chance, I noticed when attempting to send a mass command to a number of our machines that several were not on the correct VLAN - they had 10.10.2X.XXX addresses instead of 10.10.6X.XXX.

I've tried making a smart group which shows computers that don't have the correct IP Address for their particular VLAN, but it doesn't seem to like the wildcard.

Does anyone know how I might accomplish this?

This is what I have currently:

Best answer by jbmaruh

"Like" is your wildcard. It should pick it up just by doing "not like" 10.10.6 will grab anything matching the initial start of 10.10.6 and then select everything else, i.e. 10.10.2, 10.10.1, 10.10.3, etc. And anything that is not 10.10.6 will not be matched as you are looking to do.

3 replies

Forum|alt.badge.img+7
  • Contributor
  • Answer
  • January 4, 2016

"Like" is your wildcard. It should pick it up just by doing "not like" 10.10.6 will grab anything matching the initial start of 10.10.6 and then select everything else, i.e. 10.10.2, 10.10.1, 10.10.3, etc. And anything that is not 10.10.6 will not be matched as you are looking to do.


apizz
Forum|alt.badge.img+15
  • Author
  • Honored Contributor
  • January 5, 2016

Alrighty, then! Thanks @jbmaruh for the easy solution.


donmontalvo
Forum|alt.badge.img+36
  • Hall of Fame
  • January 5, 2016

Might want to add a trailing period such as "Like 10.10.6.".

This way "Like 10.10.6" only catches 10.10.6.x and not 1.10.10.6.

Even if the chances are low, using sound logic is a good diaper policy.