Forum Discussion
juan_salinas_47
Nimbostratus
Aug 08, 2010matching a host or network inside a data group using class match
hi,
i was trying to find a solution in devcentral without success.
my (stupid) question is....
i have a data group with this entries:
10.10.0.0/16
10.10.1.1
if i use "class ma...
Chris_Miller
Altostratus
Aug 10, 2010Posted By hoolio on 08/10/2010 06:38 AM
I haven't tested this, but assumed that starts_with is simply a string and wouldn't understand a network/mask type comparison..would 1.1.1.1 really start with 1.1.1.0/24?
I'm guessing that logically, the IP address comparison is a starts_with operation in that the bits of the network are checked left to right. So 00000001.00000001.00000001.00000001 (1.1.1.1) does start with 00000001.00000001.00000001.00000000 (1.1.1.0/24). Not that you could use starts_with for address comparisons, but logically I think that's the operation unRuleY is talking about.
Aaron
Great point! And that's what I'm curious about...whether it would actually compare the string, or the binary.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
