Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Where is this IP address, IPv4 and IPv6

Do you want to know where in the world an IP address comes from? I often do and I've used a number of tools - but they tend to draw me fancy maps and lead me away from my page. So this morning I put together a cheap and cheerful "which country is this IP from?" script, using Maxmind Open Source Technology which just produces a little popup. Oh - and if you cut and paste an IP address with leading and / or trailing spaces into it, it actually works too.

Ask about ip: 


Have a play with it - it's IP6 aware too, so you can put in things like ::ffff:dc05:ca4b and find out what THAT means too!

I have coded in many (most?) of the special cases ... if you try IP addresses like ::1 or like 192.168.0.1 you should get sensible results - but please do let me know if you find anything that's not covered in IP terms. The Maxmind database is pretty darned good, but it is NOT guaranteed to get every IP address right, so if you put in your own IP address, seated in Bristol, and get told you're in France ... then chances are that you're using the connection of a French company and your packets hit the internet in Toulouse!

There's a permanent link to this utility on our front page which I invite you to bookmark and use. And you may wonder what the "distance" indicator is that sometimes comes up on your results. It's a very rough guess at the distance (in miles) that the IP address given is from our training centre, because I would love you to be remember our training courses ... we'll teach you how to write little toys like this one on our PHP techniques workshop, for example.


And for the more technical ...

IPv6 cases considered:

Full IP6 e.g. 65e1:763d:6652:1342:0725:4c65:1424
Shortened IP6 e.g. ::1a72:189 and 1234::17a3:712
IP4 mapped current e.g. ::ffff:64ed:54
IP4 mapped obsolete e.g. ::8c4b:430a
Teredo Tunneling: e.g. 2001:0::154a:19:a4
ORCHID: e.g. 2001:0013:64ec::879a:0:15
Documentation e.g. 2001:0db8:1342:0725::1a:74a0
Multicast e.g. ff75:7762::
Local, Managed e.g. fc05:8854:87::65
Local, Random e.g. fd76:638d:c737:83ab:552c:6509:65ab:817
Site-local (deprecated) e.g. fed5:7764:9a77::
Link-local e.g. feab:17:18:e745::65a
Unconfigured i.e. ::0
Loopback i.e. ::1

IPv4 cases considered:

Full IP4 address e.g. 83.170.95.163
Automatic private addresses e.g. 169.254.67.128
Local class A addresses e.g. 10.1.0.16
Local class B addresses e.g. 172.18.0.7
Local class C addresses e.g. 192.168.0.1
The local class C network we use e.g. 192.168.200.215
Loopback e.g. 127.0.0.1
Class D (multicast) e.g. 224.0.0.4
Class E (experimental) e.g. 246.86.55.164

And (though it's a bit of an aside), here's the Javascript and form that I've used on this page for the popup:

<script type="text/javascript">
function popUp(myURL) {
day = new Date(); id = day.getTime();
window.open('', id, 'height=308,width=250,scrollbars=1,
toolbar=0,location=0,statusbar=0,resizable=0,menubar=0');
myURL.target=id; return true; } </script>
 
<form method=GET action="/resources/iptool.html"
onSubmit="popUp(this)"> Ask about ip: <input name=ip
size=31 value="83.170.95.163"><input type=submit value=go!>
</form>

(written 2009-01-04)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
Q777 - Object Orientation and General technical topics - Technology Overviews
  [1513] Perl, PHP or Python? No - Perl AND PHP AND Python! - (2008-01-20)
  [2607] Answers on Ruby on Rails - (2010-01-30)
  [2971] Should the public sector compete with businesses? and other deep questions - (2010-09-26)

J808 - Java - Network Programming
  [2863] Writing a server in Java - (2010-07-09)
  [4420] Flexibility in input - read from file, web resource or keyboard - (2015-02-08)


Back to
Well House Manor Hotel - on plan for 2009 business guests
Previous and next
or
Horse's mouth home
Forward to
Going round the block
Some other Articles
Michelle
Looking forward, in Melksham, in 2009
From spam to mod_alias - finding resources
Going round the block
Where is this IP address, IPv4 and IPv6
Well House Manor Hotel - on plan for 2009 business guests
Moving a directory on your web site
Required Request
Pettifog and forum boards away from public view
Telling Google which country your business trades in
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/1976_Whe ... -IPv6.html • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb