VirtualMV/Internet and Web/How the Internet works

From WikiEducator
Jump to: navigation, search




Overview

VmvIcon Objectives.png

By the end of this page you will be able to:

  • An overview of how the Internet works including the protocols that govern it such as TCP/IP and HTTP, and the physical nature of the Internet including client-server, routers, hosts, domain names


2012 Internet usage over 24hrs


2012 Internet Usage over 24hrs

References

Protocols

Everything on the Internet is governed by a set of standard rules called protocols. Any computer network can communicate with any other as long as they abide by the standards. Even in ordinary life there are protocols. For example; Maori Protocol on a Marae, and formal meeting protocols where you speak through the chairperson, and minutes are taken, etc.

Example of a mail protocol

Snail mail cartoon

For example consider the Postal System. Once we have written a letter we need to have the recipient’s address. This is written on the envelope in a certain order: name, street, town and then the country last. We must then put the stamp with the required amount on it. We then take it to a receiving area (the post box) and put it in. The letter then travels to a central sorting area and is sorted. It is then dispatched to the destination country, then the destination city, and finally to the local Post Office. From there is goes to the individual Post Office person who will deliver it. If only one of these "protocols" is omitted, the letter may go missing or like email, be bounced back to the sender.

Compare that protocol with SMTP (Simple Mail Transfer Protocol) which is one of protocols that control the sending of Email on the Internet.

The email address must be written in a certain order: name, host, sub-domain, and domain. It is then send via various routers to the destination network, where a mail server delivers it into the individual person’s mailbox.

Internet Protocols

Some important Internet protocols are:

  • TCP/IP – Transmission Control Protocol/Internet Protocol
  • SMTP – Simple Mail Transfer Protocol
  • HTTP – HyperText Transfer Protocol
  • HTTPS - HTTP with secure sockets layer.
  • FTP – File Transfer Protocol
  • NNTP – Network News Transfer Protocol

Transmission Control Protocol/ Internet Protocol (TCP/IP)

The communications protocol used to route packets of data across the Internet is actually composed of two parts.

  • TCP (Transmission Control Protocol) defines how the data that is to be sent is broken up into packets, and then how the packets are re-combined at the destination.
  • IP (Internet Protocol) defines the address that the packets are to be sent to.

The Internet is actually named after IP. TCP/IP enables computers using different operating systems to communicate with each other, such as DOS, Windows,Macintosh, and UNIX-based systems all use TCP/IP to communicate on the Internet.

Infrastructure

3D map of the internet connections

The Internet is composed of interconnected routers which forward packets of data to the next router. Each transmission is called a hop. Data needn’t take the shortest route to the destination.

Tracing a route

Visual route, Mapping the Internet

It is possible to trace the route that the packets of data take as shown. The Figure shows a report screen from a package called VisualRoute, tracing the route from Fairfax (USA) to Wellington. Almost all data will pass through regional networks, national backbones and international gateways(Visual route, Mapping the Internet ,2000)[1].

IPv6

The original IP address system used 32-bit addresses, represented by 4 numbers for example, 127.98.241.36. This allows a theoretical maximum of over 4 billion IP addresses (4,294,967,296) - in 2003 the earth’s population was just over 6 billion. In practice however because whole blocks of addresses are assigned at once, the Internet is ran out of addresses. So another inter-operable system was needed, and all the protocols for this have been worked out – it is called IPv6. It is a 128-bit system and uses 6 numbers, and IPv6 addresses are represented as eight groups of four hexadecimal digits separated by colons, for example 2001:0db8:85a3:0042:1000:8a2e:0370:7334, but methods of abbreviation of this full notation exist. There are thus 340 trillion, trillion, trillion possible addresses (340,282,366,920,938,463,374,607,431,768,211,456 !). Additionally, the current IP address system gives no information on location, either geographical location or network location. Because of this, Internet backbone routers have to maintain huge tables of where to send information for any given address. This slows the performance of the routers. In IPv6 however IP addresses will be given out in an elegant hierarchy, which will simplify routing. By 2014 around 4% of the Internet traffic was using IPv6.

Domain Names

Domain names to Website

Safe surfing, a journey from domain name to web site

IP / Domain Name System (DNS)

Client-Server view of how a browser finds a web page on the internet

Before the Internet was possible there had to be an agreement on a naming system. A system called IP addresses was decided upon. Addresses are numerical, for example 128.16.4.23. However you may never see a numerical IP address because the domain name system provides us with a more meaningful and easy to remember system. Domain names are converted to IP address numbers in the background.

DNS Example

Domain Name System Example
  • The top 10 unintentionally worst company URLs
  1. A site called ‘Who Represents‘ where you can find the name of the agent that represents a celebrity. Their domain name… wait for it… is www.whorepresents.com
  2. Experts Exchange, a knowledge base where programmers can exchange advice and views at www.expertsexchange.com
  3. Looking for a pen? Look no further than Pen Island at www.penisland.net
  4. Need a therapist? Try Therapist Finder at www.therapistfinder.com
  5. Then of course, there’s the Italian Power Generator company… www.powergenitalia.com
  6. And now, we have the Mole Station Native Nursery, based in New South Wales: www.molestationnursery.com
  7. If you’re looking for computer software, there’s always www.ipanywhere.com
  8. Welcome to the First Cumming Methodist Church. Their website is www.cummingfirst.com
  9. Then, of course, there’s these brainless art designers, and their whacky website: www.speedofart.com
  10. Want to holiday in Lake Tahoe? Try their brochure website at www.gotahoe.com

Ref: http://independentsources.com/2006/07/12/worst-company-urls/

ISO Domain names

ISO and other country level domains on 16th January 2000

Every country in the world has a top-level domain except the United States, because the Internet started there. Some examples of country domains are:

nz – New Zealand uk – United Kingdom au – Australia to – Tonga ca – Canada Country-level domain names are also called ISO domain names. On the 16th of January 2000, there were 3,216,807 of these domains registered in over 2000 countries. The countries with the most domain names registered is shown below. New Zealand is actually a very wired country for its size - it is 16th on the list.

(ISO-3166: English country names and code elements, 2003)[2]

InterNIC domain names

In the US the top-level domains refer to the type of network connected to the Internet. The most important are: com – Commercial net - Network edu – Educational org – Organisation gov – Government mil – Military biz - Business (added 16 Nov 2000) info - Information(added 16 Nov 2000) pro - professional (added 16 Nov 2000) These top-level domains are also known as InterNIC domains after the organisation that oversees the domain name system. On the 16th January 2000, the total number of domains registered worldwide was 13,226,005. Of these 10,009,198 were top-level or InterNIC domain names. Anyone in the world can register a .com, .org or .net InterNIC domain name, but only the proper US authorities can register a .edu, .gov or .mil domain name. These domains used to be assigned only by Network Solutions, the company set up by InterNIC to provide domain names. However now there is competition and four other companies can assign InterNIC domains. Many businesses and organisations choose to register top-level domain names because it gives them an international appeal. For example groovyshirts.com is likely to get more orders from around the world than groovyshirts.co.nz, even though both may be hosted in New Zealand. An InterNIC domain name can have up to 26 characters (including the .com, .net or .org). Letters, numbers and dashes are all valid, but they cannot begin or end the name.

News flash!! Get ready for a nearly infinite variety of new Web addresses ending in words like .perfume, .sports and .paris. (Carvajal & Stone, 2008, June 27)[3]

Sub-domain names

Domain names in each country are given out by the Internet Society for each country. They decide which sub-domains to use, e.g. an educational establishment in NZ is .ac.nz while in Australia it is .edu.au a company in NZ is .co.nz while in Australia it is .com.au

Domain names are case un-sensitive e.g. www.EIT.ac.NZ will work too Examples

The NZ Sub-domains

The NZ sub-domains Open

  • .ac - tertiary educational institutions and related organisations
  • .co - Organisations pursuing commercial aims and purposes
  • .net - Organisations and service providers directly related to the NZ Internet
  • .org - Non-profit organisations
  • .school - Primary, secondary and pre schools and related organisations
  • .gen - Individuals and other organisations

restricted

  • .iwi - Maori tribe/Trust Board
  • .mil - NZ Military organisations of the NZ government
  • .cri - Crown Research Institutes
  • .govt - national, regional and local government

Reference : Domainz ( http://www.domainz.net.nz/ )

Registering

The New Zealand country domains, .nz are assigned by DomaiNZ ( http://www.domainz.net.nz ) , a company set up by the Internet Society of NZ to provide domain names. DomaiNZ charges $53.00 (+GST) a year to register a domain name plus a one-off $21 (+GST) set-up fee. The actual process of registering a domain name is carried out by an agent, typically a website designer or website hosting company. When registering either an InterNIC or an ISO domain name you must first check to see if that name is still available. This is done by querying a WWW database, and many websites that advertise domain name registration offer you this service. Try it out on a website of your name - check and see if it is already taken.

Disputes

In recent years there have been a number of court cases, where companies have fought over who should own a particular domain name. Often small companies who registered domain names in the early years of the WWW, have been sued by large companies who have registered trademarks similar to the domain name. For example one famous early case was when US shoewear company Prince successfully sued a small UK business also called Prince who had registered the domain prince.com. In many cases the big company wins the case, but recently some small non-profit hobbyist website owners have fought back by encouraging online protests. A successful campaign forced Colgate-Palmolive to drop its case against the non-profit website ajax.com and Archie Comics recently dropped its case against veronica.org, a Web site set up by a Los Angeles man to celebrate the birth of his daughter Veronica in 1997.

Squatting

Another common type of court case has been against the "cyber squatters" people who buy up popular brand names in order to withhold them from or sell them to the firms that own the brands. Unlike the disputes over trademarks, in all the cyber-squatter court cases the companies have won. In the most recent case, a Texas judge sided with Microsoft in its battle with two people who registered 11 domain names including "microsoftwindows.com" and "microsoftoffice.com." The amount of court disputes over domain names is increasing, but hopefully new rules being worked out by the organisations who control the Internet will make disputes over domain names less likely.

Shortest and Longest Domain Names

A very short domain name with a big price tag… http://Z.COM ? “Japanese Internet Services Provider, GMO Internet Acquires Z.com for JPY800 million”

and the world’s longest domain name is 63 characters http://www.iamtheproudownerofthelongestlongestlongestdomainnameinthisworld.com

with Google Buying The Shortest Domain Name In Cyberspace – http://G.CN

Client-Server model

Client-Server view of how a browser finds a web page on the internet

Once you connect to the Internet, you interact with other computers using a client/server model. The resources of the Internet – information and services – are provided through host computers, known as servers. The server is the computer system that contains information such as electronic mail, database information, or text files. As a customer, or "client," you access those resources via client programs (applications) which use TCP/IP to request the information from the server. The server then transfers the information to your computer and the client program displays it on your screen

Exercises

Recognising Domain Names

Instructions Being able to decipher URLs will make your time spent on-line much more productive. For example it will allow you to discard search engine results, or help identify the authority of the resource.

URL recognition.

Determining URLs

What do you think the URL of the homepage of each of these organisations might be?

  • The Ferrari homepage in Australia
  • Massey Uni’s Maths Department’s Stats-Lab
  • Pacific Tours - a Cairns, Australia company
  • Westpac Trust Australian HQ
  • Air New Zealand (Australia)
  • Air New Zealand (Canada)
  • NZ Ministry of Fisheries
  • Auckland Uni’s Geology Department

Ping - establishing whether an IP address exists

  • Open up the MS_DOS prompt (You may be able to use Start > Run > then type command [Enter]).
  • Type ping followed by the name or IP address of the server you are trying to contact. Tip: if you try to ping an overseas web site it will probably time out, so ping a NZ web site.

Syntax: ping www.nzherald.co.nz ping www.xtra.co.nz

  • What do the results tell you?

Note: to prevent denial of service attacks many corporations will disable the ability to ping.

Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.
 
C:\DOCUME~1\MICHAELV>ping www.eit.ac.nz
 
Pinging www.eit.ac.nz [112.109.67.233] with 32 bytes of data:
 
Reply from 112.109.67.233: bytes=32 time=167ms TTL=56
Reply from 112.109.67.233: bytes=32 time=105ms TTL=56
Reply from 112.109.67.233: bytes=32 time=94ms TTL=56
Reply from 112.109.67.233: bytes=32 time=98ms TTL=56
 
Ping statistics for 112.109.67.233:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 94ms, Maximum = 167ms, Average = 116ms
 
C:\DOCUME~1\MICHAELV>ping www.virtualmv.com
 
Pinging www.virtualmv.com [65.182.101.71] with 32 bytes of data:
 
Reply from 65.182.101.71: bytes=32 time=262ms TTL=111
Reply from 65.182.101.71: bytes=32 time=490ms TTL=111
Reply from 65.182.101.71: bytes=32 time=411ms TTL=111
Reply from 65.182.101.71: bytes=32 time=332ms TTL=111
 
Ping statistics for 65.182.101.71:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 262ms, Maximum = 490ms, Average = 373ms
 
C:\DOCUME~1\MICHAELV>^A

Tracert - trace the route that a message takes when connecting to server

It should return the number of hops, the time for each hop, and the addresses of all the devices the message passes through to get to its destination.

  • Open up the MS_DOS prompt (You may be able to use Start > Run > then type command [Enter]
  • Type tracert followed by the name or IP address of the server you are trying to contact. Tip: if you try to tracert an overseas web site it will probably time out, so tracert a NZ web site.

Syntax:

  • tracert www.nzherald.co.nz
  • tracert www.ihug.co.nz

You will probably find that some of the hops time out (or the host is shown as unknown).

Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.
 
C:\DOCUME~1\MICHAELV>tracert www.eit.ac.nz
 
Tracing route to www.eit.ac.nz [112.109.67.233]
over a maximum of 30 hops:
 
  1    78 ms    99 ms    99 ms  dsldevice.lan [###.###.1.254]
  2    78 ms    75 ms    76 ms  125-###-48-1.jetstream.xtra.co.nz [125.###.48.1]
  3   238 ms   269 ms    79 ms  122-##-##3-12.mobile.telecom.co.nz [122.##.##3.12]
  4    50 ms   240 ms    46 ms  122-##-##3-13.mobile.telecom.co.nz [122.##.##3.13]
  5    83 ms   160 ms    59 ms  TenGigabitEthernet0-1-0-537.wnmur-rt1.fx.net.nz [202.53.187.###]
  6    87 ms    86 ms    88 ms  131.###.252.1#9
  7    92 ms    89 ms   135 ms  gi3-62.akmn1-br2.webhost.co.nz [131.###.25#.130]
  8    66 ms   102 ms    99 ms  gi1-9.akmn1-csw1.webhost.co.nz [119.##.##9.13#]
  9    64 ms    88 ms    77 ms  web1.eit.ac.nz [112.###.67.##3]
 
Trace complete.
 
C:\DOCUME~1\MICHAELV>

(Note some of the IP addresses have been obscured with #)

ipconfig - Finds the IP address of the computer.

  • Open up the MS_DOS prompt. (or from [Start], choose Run ...
  • Type ipconfig

VmvIcon References.png References

  1. Visual route, Mapping the Internet (2000), Fortel Inc. Retrieved 24 July 2000 from the World Web Web: http://www.visualroute.com/
  2. ISO-3166: English country names and code elements (2003). Retrieved May 20, 2003, from 20-May-03 http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html
  3. Carvajal, D., & Stone,B. (2008, June 27) New Flavors for Addresses on the Web Are on the Way. The New York Times. Retrieved June 30, 2008 from http://www.nytimes.com/2008/06/27/technology/27icann.html?_r=1&oref=slogin

virtualMV  |  Superquick wiki guide  |  Please give me some feedback

VirtualMV/Internet and Web/How the Internet works. (2017). In WikiEducator/VirtualMV wiki. Retrieved November 18, 2017, from http://wikieducator.org/VirtualMV/Internet_and_Web/How_the_Internet_works    (zotero)