04-14-2014 11:01 AM
I am trying to create a Network Device Group in CPPM where the device IP addresses will match a regular expression.
The devices in the Group will have a common first and third octet. The second and fourth octet will vary.
I have no experience with regular expressions but I think this might work.
Solved! Go to Solution.
04-22-2014 06:58 AM
The regex you proposed would allow 192.999.100.999, which isn't a valid address (obviously). A quick google search found this, which looks like it would be useful: http://answers.oreilly.com/topic/318-how-to-match-ipv4-addresses-with-regular-expressions/
Ryan Holland, ACDX #1 ACMX #1
The Ohio State University
04-23-2014 07:01 AM
The document you pointed out gave me a push in the right direction.
From it and a couple of other regex cheat sheets I was able to configure and test the following
matches on all ip addresses in the form of 192.xxx.100.yyy