Wildcards in IP Address Smart Group Criteria?

apizz
Valued Contributor

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:

1d27302a8080475a88ec09c3ddecab88

1 ACCEPTED SOLUTION

jbmaruh
New Contributor III

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

View solution in original post

3 REPLIES 3

jbmaruh
New Contributor III

"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
Valued Contributor

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

donmontalvo
Esteemed Contributor III

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.

--
https://donmontalvo.com