# Type - IP Address

**URL:** <https://community.datagerry.com/t/type-ip-address/836>\
**Category:** Feature Requests\
**Created:** [January 9, 2026, 8:33am UTC](https://community.datagerry.com/t/type-ip-address/836 "2026-01-09T08:33:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Artem](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@Artem](https://community.datagerry.com/u/Artem)\
**Post date:** [January 9, 2026, 8:33am UTC](https://community.datagerry.com/t/type-ip-address/836/1 "2026-01-09T08:33:17Z")

</div>

There is no type - IP address. This type needs its own sorting and restriction at the system level by values.

The problem is that when using a string, the sorting does not work correctly:  
192.168.1.1  
192.168.1.101  
192.168.1.2

If you add leading zeros, this creates the need for a mandatory regular expression in each field, since not everyone remembers this need.

192.168.1.001  
192.168.1.002  
192.168.1.101

Then it makes it difficult to do a general search across the entire database, since it usually searches for an ip without a leading 0. For example, the Ip of a specific server.

---

<div class="post-metadata">

**Author:** ![MartinE](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@MartinE](https://community.datagerry.com/u/MartinE)\
**Post date:** [January 13, 2026, 11:07am UTC](https://community.datagerry.com/t/type-ip-address/836/2 "2026-01-13T11:07:22Z")

</div>

One way could be to make the IP-address object more granular, with fields for all 4 positions and one for the full IP-address. That way you can sort on the individual positions and still search on the full address.

There is however a bug(?) in DataGerry that complicates this. It seems to ignore my sorting of the fields in the summary view and it treats the number 0 as N/A:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/datagerry/original/1X/d9b30956f3a3fd51eda6beb86aa6b770a240b699.png)

It’ll be time consuming to enter a large number of entries this way but that’s a perfect reason to break out your favorite scripting language. 🙂

---

<div class="post-metadata">

**Author:** ![adnan.smajic](https://dub1.discourse-cdn.com/flex013/user_avatar/community.datagerry.com/adnan.smajic/32/754_2.png) [@adnan.smajic](https://community.datagerry.com/u/adnan.smajic)\
**Post date:** [February 2, 2026, 4:35pm UTC](https://community.datagerry.com/t/type-ip-address/836/3 "2026-02-02T16:35:42Z")

</div>

Hi @Artem and @MartinE ,

thanks for all the input. We decided to tacke these issues as part of version 3.2.

Sincerly,

Your DataGerry-Team
