Forum Moderators: phranque
After having a look for the reserved IP ranges I got this from [faqs.org...]
3. Private Address SpaceThe Internet Assigned Numbers Authority (IANA) has reserved the
following three blocks of the IP address space for private internets: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)
I'm wondering, is 127.0.0.* the special case, or are there more ranges of reserved IP's not mentioned in the above article, does anyone know?
TIA, I'm scanning through the RFC's, trying to make sure that when someone does enter an IP, it returns something of use :)
Just a little clarification if poss:
>All bits 0 (or all bits 1): An address with all bits zero in the host number portion is
Does thsi just refer to the first octet, the first 2 or any octet?
I'm guessing host number portion is the first octet, or the first 2 ;)
Thanks for the snippet though, AFAIR the HTTP protocol RFC mentions a segment about all bits being 1 or 0, I'll have a gander at that also.
Obsolete: RFC1700, Replaced by an On-line Database according to RFC3232
I found that RFC3232 stated the original database was maintained by IANA. That database is still maintained by IANA. I believe this is the best source for your request:
Special-Use Addresses [iana.org]
Protocol Numbers and Assignment Services [iana.org]
Not that I don't trust IBM, I just like to get my standards from the authority
;)
I'll read through those. Come to think of it, if the "ip to country" tool doesn't return a country for a certain IP, I'll just output the IP as "private".
Will read up on it nonetheless, doing an Open Uni course covering this stuff next year so it'll be good to suss it our for myself once and for all.
In this case, however, I am quite serious! It sounds as though you are going to be putting some time and energy into research that interests me and I'd love to glean what I can from your efforts. It's work that I (and others on this site) would extend humble gratitude if you shared -- granting you have the time. Thanks BOL -- coopster
0.0.0.0
This address functions much like 127.0.0.1 in that it is an address mapped to the local machine. The difference is that a connection to 0.0.0.0 usually runs through the primary interface on the machine as a loopback, whereas 127.0.0.1 runs through the actual "loopback" interface.
The difference is really only relevant to UNIX machines, but it is an important difference, especially when testing network services.