Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.postgresql > #647

Re: how to count the number of ipv6 addresses in a range?

From Ralf Döblitz <doeblitz@doeblitz.net>
Newsgroups comp.databases.postgresql
Subject Re: how to count the number of ipv6 addresses in a range?
Date 2015-04-02 16:48 +0000
Organization private site in Braunschweig, Germany
Message-ID <mfjrt4$m8m$2@selene.doeblitz.net> (permalink)
References <55197d18$0$2962$426a34cc@news.free.fr> <mfcaof$bmu$1@dont-email.me> <551a4f3d$0$3031$426a34cc@news.free.fr>

Show all headers | View raw


Mateusz Viste <mateusz.viste@localhost> wrote:
> Hi,
> 
> You are right of course, the scale of addresses count is far wider than 
> what I imagined (and I didn't take the time to do a proper calculation). 
> Thanks for the clue :)
> 
> I will have to think about an alternative method of comparing ranges - 
> the need is simply to tell "this range is larger than that one", so an 
> exact count of IP addresses is not necessary.

I would use the binary logarithm of the number of addresses.

Ralf
-- 
"ceterum censeo systemd esse delendam"

Ralf Döblitz   *   Schapenstraße 6   *   38104 Braunschweig   *   Germany
Mit UTF-8 kann man gleichzeitig äöüßÄÖÜæœłø‱¼½¾¤¹²³¢€£¥¶§¬÷×±©®™¡¿ verwenden …

Back to comp.databases.postgresql | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

how to count the number of ipv6 addresses in a range? Mateusz Viste <mateusz.viste@localhost> - 2015-03-30 18:43 +0200
  Re: how to count the number of ipv6 addresses in a range? "M. Strobel" <strobel@example.com> - 2015-03-30 22:13 +0200
    Re: how to count the number of ipv6 addresses in a range? "M. Strobel" <strobel@example.com> - 2015-03-31 01:25 +0200
    Re: how to count the number of ipv6 addresses in a range? Mateusz Viste <mateusz.viste@localhost> - 2015-03-31 09:39 +0200
      Re: how to count the number of ipv6 addresses in a range? "M. Strobel" <strobel@example.com> - 2015-03-31 09:56 +0200
        Re: how to count the number of ipv6 addresses in a range? Mateusz Viste <mateusz.viste@localhost> - 2015-03-31 11:03 +0200
      Re: how to count the number of ipv6 addresses in a range? Ralf Döblitz <doeblitz@doeblitz.net> - 2015-04-02 16:48 +0000
        Re: how to count the number of ipv6 addresses in a range? Mateusz Viste <mateusz.viste@localhost> - 2015-04-03 09:09 +0200
          Re: how to count the number of ipv6 addresses in a range? Ralf Döblitz <doeblitz@doeblitz.net> - 2015-04-03 13:17 +0000

csiph-web