locked
Pattern matching syntax for IP address ranges RRS feed

  • Question

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

     


    Tuesday, July 12, 2011 3:17 AM

Answers

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

    • Marked as answer by Rick Tan Friday, July 29, 2011 2:52 AM
    Thursday, July 28, 2011 3:57 PM
  • 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
    • Marked as answer by Rick Tan Monday, July 18, 2011 1:30 AM
    Wednesday, July 13, 2011 7:21 AM

All replies

  • 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
    • Proposed as answer by Anasawad Sunday, June 9, 2019 9:23 AM
    Tuesday, July 12, 2011 5:38 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?

    Tuesday, July 12, 2011 6:32 AM
  • 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
    • Marked as answer by Rick Tan Monday, July 18, 2011 1:30 AM
    Wednesday, July 13, 2011 7:21 AM
  • 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.

    • Marked as answer by Rick Tan Friday, July 29, 2011 2:52 AM
    Thursday, July 28, 2011 3:57 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 

    Thursday, March 8, 2012 3:10 PM
  • try the following regex to match your BSSIDs

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

    Monday, October 22, 2012 5:36 AM