This commit adds support for range aggregations on `ip` fields. However it will only work on 5.x indices. Closes #17700