# IP type: exclude 0.0.0.255/32

**URL:** <https://discuss.elastic.co/t/ip-type-exclude-0-0-0-255-32/124578>\
**Category:** Elasticsearch\
**Created:** [March 19, 2018, 2:33pm UTC](https://discuss.elastic.co/t/ip-type-exclude-0-0-0-255-32/124578 "2018-03-19T14:33:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergio7000](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@Sergio7000](https://discuss.elastic.co/u/Sergio7000)\
**Post date:** [March 19, 2018, 2:33pm UTC](https://discuss.elastic.co/t/ip-type-exclude-0-0-0-255-32/124578/1 "2018-03-19T14:33:07Z")

</div>

Prior to upgrading to 6.2.2 the following query used to work perfectly fine:  
-DestAddress:"0.0.0.255/32" and was used to exclude any IP address with last octet equal to 255.  
"DestAddress" is of "IP" type.  
The query no longer works in 6.2.2. Could someone suggest a way to exclude any IP address with a specifyed octet?

---

<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:** [April 16, 2018, 2:33pm UTC](https://discuss.elastic.co/t/ip-type-exclude-0-0-0-255-32/124578/2 "2018-04-16T14:33:09Z")

</div>

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