Share via


Pattern matching syntax for IP address ranges

Question

Tuesday, July 12, 2011 3:17 AM

Hi,

I am trying to create a RADIUS client ipv4 address condition for my NPS. Currently stuck with pattern matching syntax. I am trying to get the below ip ranges defined in a single condition. It seems like multiple conditions are not supported.

  1. 192.168.10.10 - 192.168.10.20
  2. 192.168.20.* (full range)
  3. 192.168.30.* (full range)

Any help would be deeply appreciated. Thanks.

 

All replies (6)

Wednesday, July 13, 2011 7:21 AM ✅Answered

Hi,

Thank you for your post.

Based on my test, the pattern syntax works on IP address subnets part not hosts part.
So I could just provide the pattern "192\168\1|2|30\.+" to concat the three subnets ip range.   

If there are more inquiries on this issue, please feel free to let us know.

Regards,
Rick Tan


Thursday, July 28, 2011 3:57 PM ✅Answered | 1 vote

I've successfully matched host-ranges with the pattern "^192\168\10\(1[0-9])$", as in all hosts from 192.168.10.10 to 192.168.10.19, with my W2K8 R2 NPS.


Tuesday, July 12, 2011 5:38 AM | 1 vote

Hi,

Thank you for your post.

To match ip range "192.168.10.*", please use the pattern syntax "192\168\10\.+". Please refer to this article
It is supported that multiple conditions to forward request to specify RADIUS server.
If it need to request to different RADIUS servers, you need to separate & create connection policy by RADIUS server number.

If there are more inquiries on this issue, please feel free to let us know.

Regards,
Rick Tan


Tuesday, July 12, 2011 6:32 AM

Hi Rick,

Thanks so much. My RADIUS client condition need to address the 3 possibilities mentioned in my earlier post. How do I concat them into a single expression? 

"192\168\10\.+" gives a wide range. Advisable to use it even though I am looking at 192.168.10.10-192.168.10.20?


Thursday, March 8, 2012 3:10 PM

Guys,

this is the situatin:

have two SSID 

ssid1 - with BSSID - 0019.06df.d790

ssid2 - with BSSID - 0019.06df.d792

in NPS i need to make fitering based on BSSID.

please give me the mathing criteria. i do need to match the end of the BSSID to be 0 or 2

thansk 


Monday, October 22, 2012 5:36 AM

try the following regex to match your BSSIDs

^0019\06df\d79[0,2]$