Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Excluding Range of IP

Avatar

Level 1

Hi,

I have 3 range of IP addresses like below:

207.107.50.0/24

207.107.9.0/24

162.208.80.0/28

 

Wile wildcards excluding whole range of IP how can I exclude only part of the address.

 

Thanks,

 

Bardia Rahmani

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

I have found out that exclude by IP works on an 'all or nothing' format. So the method I suggested above won't work. 

If you check your CIDR IP range over here , the first two ranges include all IP addresses from 0-255, so wildcards would work over here.

The third range contains 16 IP addresses, for these you can enter the addresses individually. 

I hope this would help.

TM

View solution in original post

8 Replies

Avatar

Level 10

Hi,

Try specifying the range of IP addresses as below:

207.107.50.[0-24]

207.107.9.[0-24]

162.208.80.[0-28]

I am not 100% sure right now if this would work, it would be great if you could test it at your end. Meanwhile I am also trying to confirm it internally and will update you accordingly.

Thanks!

TM

Avatar

Correct answer by
Level 10

Hi,

I have found out that exclude by IP works on an 'all or nothing' format. So the method I suggested above won't work. 

If you check your CIDR IP range over here , the first two ranges include all IP addresses from 0-255, so wildcards would work over here.

The third range contains 16 IP addresses, for these you can enter the addresses individually. 

I hope this would help.

TM

Avatar

Level 1

Hi - I am trying to exclude a range as well: 162.222.64.0/22

This CIDR thing you provided is not working for me... How should I enter the above range in the Exclude by IP?

Avatar

Level 10

Hi Erin,

Welcome to the Community!

The range you have provided consists of 1024 IP addresses from 162.222.64.0 to 162.222.67.255 probably that is the reason it is not working. You can try adding the range as follows - 

162.222.64.*

162.222.65.*

162.222.66.*

162.222.67.*

Let me know if this works for you. Thanks!

Avatar

Level 1

Hey Tanmay,

I spoke with client care yesterday and they suggested:

162.222.64.0/22

Means

162.222.64.0 through 162.222.64.22

(22 IPs not 1024 IPs)  and that I enter the 22 as such one by one.

Thank you for your response though as I did some additional digging and found a few stackflow articles stating what you have provided. This URL is also a bit easier to use and also provided the response you have so thank you! http://magic-cookie.co.uk/iplist.html

Thanks,

Erin

Avatar

Level 10

Hi Erin,

Appreciate your reply on this, thanks!

For 22 IP addresses you would surely have to add them one by one. 

Tanmay

Avatar

Level 1

Hello,

So how do exclude more than 50 IP addresses? A wildcard is too "wild" - filtering out everything. I'm trying to exclude 35-40 IP ranges, each of which has 4-6 addresses. In GA it is simple to use a regular expression. What is the equivalent method in Adobe to actually exclude a range of IP addresses without wildcarding an entire octet?

Thanks,
Natty

Avatar

Employee Advisor

NattyClapp​, what would help is if the CIDR format was supported, which is not currently.

I can see two Ideas open for it. Maybe voting for it and bringing it more to attention might help

Exclude IP - Bulk, Regular Expressions and Multiple Report Suites

Exclude IP addresses/ranges