# Why geoip filter d'ont work for some IP address?

**URL:** <https://discuss.elastic.co/t/why-geoip-filter-dont-work-for-some-ip-address/144174>\
**Category:** Logstash\
**Created:** [August 13, 2018, 12:59pm UTC](https://discuss.elastic.co/t/why-geoip-filter-dont-work-for-some-ip-address/144174 "2018-08-13T12:59:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![med\_amine](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@med\_amine](https://discuss.elastic.co/u/med_amine)\
**Post date:** [August 13, 2018, 12:59pm UTC](https://discuss.elastic.co/t/why-geoip-filter-dont-work-for-some-ip-address/144174/1 "2018-08-13T12:59:40Z")

</div>

hello guys ,  
i have used geoip filter in my configuration , i notice that this filter d'ont work for some IP address ;

for example ;

```
154.107.183.56 ; geoip " work "
   172.22.1.53 ; not working

```

if this normal or there explication for that !!!

this is my conf ;

geoip {  
source =\> "clientip"  
}

please help me guys !!

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [August 13, 2018, 1:18pm UTC](https://discuss.elastic.co/t/why-geoip-filter-dont-work-for-some-ip-address/144174/2 "2018-08-13T13:18:51Z")

</div>

172.22.1.53 is part of a reserved block. There is no way to do a geoip lookup for it because it may be used in many places by many organizations. It would be like trying to geoip 127.0.0.1 🙂

---

<div class="post-metadata">

**Author:** ![Krunal\_kalaria](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krunal_kalaria/32/23862_2.png) [@Krunal\_kalaria](https://discuss.elastic.co/u/Krunal_kalaria)\
**Post date:** [August 13, 2018, 1:22pm UTC](https://discuss.elastic.co/t/why-geoip-filter-dont-work-for-some-ip-address/144174/3 "2018-08-13T13:22:58Z")

</div>

Geoip is working only on public IP's. not working on private ip's like 192.168.x.x , 172.x.x.x, 10.x.x.x etc.

Thanks & Regards,  
Krunal.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 10, 2018, 1:36pm UTC](https://discuss.elastic.co/t/why-geoip-filter-dont-work-for-some-ip-address/144174/4 "2018-09-10T13:36:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
