question

Eronetix-3997 avatar image
0 Votes"
Eronetix-3997 asked DSPatrick edited

Network Policy Server - Pattern Matching

Good Morning,

I am attempting to to use NPS in Server 2019 to match client IPv6 Address ranges to specific policies however, I seem to be unable to get the exact regex/pattern correct to match the IPv6 address to the policy.

*It is worth noting the policy works fine if I hard code the IPv6 address into the client IPv6 address field.

I presently have a policy for switches in my network and their IPv6 address format/range would be: FD00:000A:XXXX:3199:0000:0000:0000:XXXX

The X's above can be any hexadecimal value.

I have used the following regex statement, but cannot get it to work:
^FD00\:000A\:([0-9A-Fa-f]{1,4})\:3199\:0000\:0000\:0000\:([0-9A-Fa-f]{1,4})$

Any assistance to help me to craft the proper regex/pattern matching statement for my IPv6 addresses for switches would be greatly appreciated. Thank you.







windows-server
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers