# IPv6 mapping

**URL:** <https://discuss.elastic.co/t/ipv6-mapping/44063>\
**Category:** Elasticsearch\
**Created:** [March 10, 2016, 5:48pm UTC](https://discuss.elastic.co/t/ipv6-mapping/44063 "2016-03-10T17:48:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgdesrochers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tgdesrochers/32/51322_2.png) [@tgdesrochers](https://discuss.elastic.co/u/tgdesrochers)\
**Post date:** [March 10, 2016, 5:48pm UTC](https://discuss.elastic.co/t/ipv6-mapping/44063/1 "2016-03-10T17:48:33Z")

</div>

I searched the forum but haven't found an answer.

I just changed my index template to set IP addresses to type:ip but now I get parser failed because not a valid ipv4 address for all ipv6. Is there a way to use this for all ipv4 and another type for ipv6?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 12, 2016, 1:55am UTC](https://discuss.elastic.co/t/ipv6-mapping/44063/2 "2016-03-12T01:55:40Z")

</div>

We can't handle IPv6 as Lucene has no bigint support, this is coming soon though so expect us to also add support ASAP!

---

<div class="post-metadata">

**Author:** ![tgdesrochers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tgdesrochers/32/51322_2.png) [@tgdesrochers](https://discuss.elastic.co/u/tgdesrochers)\
**Post date:** [March 12, 2016, 2:12am UTC](https://discuss.elastic.co/t/ipv6-mapping/44063/3 "2016-03-12T02:12:40Z")

</div>

Fantastic news. Thanks.

---

<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:** [July 5, 2017, 11:08pm UTC](https://discuss.elastic.co/t/ipv6-mapping/44063/4 "2017-07-05T23:08:59Z")

</div>


