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


Groups > linux.debian.user > #172006

Re: Tool that says whether IP addresses are routable or reserved

From Joe <joe@jretrading.com>
Newsgroups linux.debian.user
Subject Re: Tool that says whether IP addresses are routable or reserved
Date 2016-09-10 20:30 +0200
Message-ID <sfVcl-3Jf-3@gated-at.bofh.it> (permalink)
References <sfUpX-39r-13@gated-at.bofh.it> <sfUJk-3g0-19@gated-at.bofh.it>
Organization JRE Trading Ltd

Show all headers | View raw


On Sat, 10 Sep 2016 19:58:50 +0200
<tomas@tuxteam.de> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Sat, Sep 10, 2016 at 07:36:11PM +0200, Andre Majorel wrote:
> > Is there a tool which would take IPv4 addresses on the command
> > line and say whether or not they are regular and routable ?
> > 
> > host(1) is not very useful for that as it doesn't seem to
> > distinguish between an address which happens not to used by a
> > domain name at this time (eg 9.9.9.9) and one which could never
> > be (eg 192.168.0.1).  
> 
> 
> - From your question I'm not sure this is the answer you are looking
> for, but I'll give it a try. According to RFC 1918 [1], the following
> address ranges are reserved for "private use":
> 
>      10.0.0.0        -   10.255.255.255  (10/8 prefix)
>      172.16.0.0      -   172.31.255.255  (172.16/12 prefix)
>      192.168.0.0     -   192.168.255.255 (192.168/16 prefix)
> 
> Note that this is for IPV4, IPV6 is probably a bit more complex :-)
> 
There are a lot more reserved for other unspecified reasons. The list
of more than 165,000 address blocks here http://software77.net/geo-ip/
contains quite a few listed 'reserved'. The list is frequently updated.

-- 
Joe

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Tool that says whether IP addresses are routable or reserved Andre Majorel <aym-naibed@teaser.fr> - 2016-09-10 19:40 +0200
  Re: Tool that says whether IP addresses are routable or reserved <tomas@tuxteam.de> - 2016-09-10 20:00 +0200
    Re: Tool that says whether IP addresses are routable or reserved Joe <joe@jretrading.com> - 2016-09-10 20:30 +0200
      Re: Tool that says whether IP addresses are routable or reserved Henrique de Moraes Holschuh <hmh@debian.org> - 2016-09-10 21:30 +0200

csiph-web