Analytics
4.8K members online now
4.8K members online now
Ask questions about filter set-up and issues with using filters in Google Analytics reports
 
Guide Me
star_border
Reply

Filtering an IP address with a subnet mask

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I need to set up a filter to exclude traffic from an IP address with a subnet mask - 59.100.169.192/28

 

I've found a few web articles and posts in this community about how to do that, but I've had trouble following them - I know very little about networking, so I don't have enough understanding of how the subnet mask will affect what I'm filtering to be able to adapt the example regular expressions I've seen to this particular IP address. Can anyone help me out?

1 Expert replyverified_user
Marked as Best Answer.
Solution
Accepted by topic author Caitlin W
September 2016

Re: Filtering an IP address with a subnet mask

Top Contributor
# 2
Top Contributor
Hi,

You can get the IP range using this tool: http://www.tunnelsup.com/subnet-calculator

The first IP address in the range is 59.100.169.193 and the last one is 59.100.169.206. Use the IP range regex builder tool to generate your regex:

http://www.analyticsmarket.com/freetools/ipregex

You will get this regex to use in your filter:

^59\.100\.169\.(1(9[3-9])|2(0[0-6]))$

Hope this helps.

Arnold Majlath, Google Analytics Top Contributor
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Filtering an IP address with a subnet mask

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Thank you!

Filtering an IP address with a subnet mask

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

Many Many  thanks in advance

 

Recently  I  read    sorry  

 

 

Lic. Javier Serratti

Gerente General

 

Tel. +595 21 206836

Cel.  +595 972 150 294 Corporativo (Whatsapp)

Cel.  +595 983  470 476   (Whatsapp)

Tel. directo movil  +595 21 3275640

 

Skype   javier.serratti.codas

BRANDSHOP: Avda España 2007 esq Brasilia

Asunción - Paraguay.

 

 

Filtering an IP address with a subnet mask

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

Many Many  thanks in advance   

 

 

 

Lic. Javier Serratti

Gerente General

 

Tel. +595 21 206836

Cel.  +595 972 150 294 Corporativo (Whatsapp)

Cel.  +595 983  470 476   (Whatsapp)

Tel. directo movil  +595 21 3275640

 

Skype   javier.serratti.codas

BRANDSHOP: Avda España 2007 esq Brasilia

Asunción - Paraguay.

 

 

Filtering an IP address with a subnet mask

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭

What is its subnet mask- 103.18.75.242