Skip to main content
Question

Smart Groups Using IP

  • September 24, 2012
  • 2 replies
  • 16 views

Forum|alt.badge.img+3

I'm trying to set up smart groups based on IP range. Example on campus IP range is 10.200.x.x so on campus smart group would be any IPs that start with 10.200 and off campus would be not 10.200.
When I test this, I find 10.200.x.x IPs in the off campus group. I've used the parameters IP Address not like 10.200
I've also tried a range 10.200.10.1 - 10.200.25.254 to no avail.
I'm sure it's something simple but I'm not seeing it.
Any help would be appreciated.

Eric

2 replies

Forum|alt.badge.img+24
  • Valued Contributor
  • September 25, 2012

You may have trouble with this based upon how MySQL compares numbers. My assumption is that the reason it's behaving oddly to you is because the IP addresses are stored as strings.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • September 25, 2012

That was my assumption, too. However, I still am looking for a solution.

Eric