IE for Ireland

DCU's block of addresses


Hosts and IP addresses

Machines have numbers that describe their place within the actual network topology:

  106.132.204.106
Four 8 bit numbers.
2564 = 232 = 4 billion.

Humans could never work with these. Since earliest days of networks, machines have text names, which describe their place within the logical hierarchy:

  www.mit.edu
  compsci.mit.edu
  techpapers.compsci.mit.edu

Numeric - 4 parts.
Text - Can have variable number of parts. Text syntax: "In theory, this subdivision can go down to 127 levels deep, and each label can contain up to 63 characters, as long as the whole domain name does not exceed a total length of 254 characters. But in practice some domain registries have shorter limits than that."



Host or machine name

 
	www.computing.dcu.ie 

	(actual machine).(organisation subdomains).(international subdomains)

	fileserver.salesdivision.regionaloffice.company.co.uk
Case of machine name is irrelevant.
(Case of the machine name part of a URL is irrelevant.)
e.g. Using the ping tool at Unix command-line:

$ ping www.biscuits.com
www.biscuits.com is alive

$ ping WWW.BISCUITS.COM
WWW.BISCUITS.COM is alive

$ ping WWW.Biscuits.cOM
WWW.Biscuits.cOM is alive

$ ping www.biscuitss.com
ping: unknown host www.biscuitss.com

$ PING www.biscuits.com
PING: Command not found


The organisation can divide up its subdomains any way it likes. The organisation gets allocated a certain number of addresses, i.e. a subspace of the address space, such as:

   126.121.*.*
and can assign these any names it likes. It doesn't have to tell outside world (until an actual request is made).
See DNS Lookup.




Domains



Domain name space.





IE for Ireland

I always wondered where "IE" for Ireland came from. Why not "IR"?
Thanks to Feargal Fitzpatrick for helping work out the following story.
The story goes back to the 1920s.
  1. See country codes for vehicles.
  2. 1924: Ireland adopted "SE" for vehicles in 1924 ("Saorstat Eireann").
  3. 1936: Iran adopted "IR" for vehicles in 1936. In retrospect, that was the moment Ireland lost it for the Internet.
  4. 1938: Ireland switched to "EIR" for vehicles in 1938 ("Eire").
  5. 1962: Ireland switched to the English version in 1962. "IR" was taken, so Ireland switched to "IRL", which it still has today.
  6. 1974: The ISO 3166 standard defined strictly 2 letter and strictly 3 letter country codes, based on the country codes for vehicles. Ireland therefore got "IRL" for its 3 letter code. For the 2 letter code, "IR" was taken, so Ireland became "IE".
  7. 1985: Internet country code top-level domains were defined in 1985, based on the ISO 3166 2 letter codes. Hence we got the   .ie   domain.
  8. See 1988 post about the registration of the   .ie   domain.




DCU's block of addresses

DCU has the following block of addresses:
Dublin City University (NET-DCU-NET)
   Glasnevin
   Dublin, 9
   IE

   Netname: DCU-NET
   Netblock: 136.206.0.0 - 136.206.255.255
i.e. room for 2562 = 65,536 addresses.

DCU addresses run from:
136.206.0.0     to:
136.206.255.255
In binary, from:
1000 1000 1100 1110 0000 0000 0000 0000     to:
1000 1000 1100 1110 1111 1111 1111 1111
See IP decimal-binary table

First 16 bits are the DCU network number 136.206.
This is in binary:
1000 1000 1100 1110
Second 16 bits are the host number on that network.

This is a Class B network.
To be precise, the leading 10 indicates Class B, then the network number is the 14 bit:
00 1000 1100 1110
So a DCU address is:
Class B identifier, DCU network, machine number n:
10 00 1000 1100 1110 nnnn nnnn nnnn nnnn




IP address shows network class.


Special IP addresses.
See Reserved IP addresses and Private network.




Map of IPv4 address space

From xkcd by Randall Munroe.



Complications - CIDR, NAT, IPv6



Different forms of URL

My address is:
http://www.computing.dcu.ie/~humphrys/
or:
http://computing.dcu.ie/~humphrys/
These are currently aliases for the machine:
http://elbrus.computing.dcu.ie/~humphrys/
What all these translate to is:
http://136.206.11.240/~humphrys/


URL obscuring


Decimal IP address notation

Strangely enough, the above is also the same as:
http://2295204848/~humphrys/

This may or may not work:

See:


Q. Why does this one lead to my web page?

http://136.206.11.240/~%68%75%6D%70%68%72%79%73/

Embed password in URL

For a page that needs a password, you can embed the password in the URL:
http://username:password@server
This is perfectly valid, but also gives us a new way of obscuring URLs.

Try these on different Linux and Windows browsers:

http://www.paypal.com@2295204848/

http://www.paypal.com:login@2295204848/

Or these:

http://www.paypal.com@136.206.11.240/

http://www.paypal.com:login@136.206.11.240/


These could all lead to a numeric URL which fakes the look of a PayPal login page.

Q. How to be safe?
A. Never click on links in unsolicited email.



Domain name = Host name

This is a domain:

	ibm.com
and these are hosts in the domain:
	www.ibm.com
	ftp.ibm.com
	researchlab.ibm.com
	sales.texas.mainframedivision.ibm.com
But as the Web developed, people wanted to be able to drop the "www" part, so it is common to set up this:
	http://ibm.com
as an alias for this:
	http://www.ibm.com
This alias is done at DNS level.
If no DNS alias exists, the browser may or may not do it for you.