Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
(EOD).Software topics.pdf
Скачиваний:
18
Добавлен:
23.08.2013
Размер:
1.55 Mб
Скачать

page 10

3. THE INTERNET

3.1 NETWORKS

What does a network do - It lets us communicate.

Start by thinking of a telegraph machine.

-a talker hits a key and a pulse is sent along a wire to a receiving station

-at the receiving station a listener hears the pulses

-the sequence of the pulses (morse code) determine the message

-the two take turns talking and listening to communicate

Computer networks work exactly the same way (just a bit faster)

-instead of keying stations we have network cards and cables

-there are many talkers and listeners

-instead of morse code we use ASCII to transmit letters, numbers, etc.

-there are certain methods for determining who is listening and who is talking (eg, FTP)

EXERCISE: Have a look at the back of your computer. There should be a network cable, and a cable. Look for status lights, there should be one red and one green. The green light indicates that your computer is communicating, and there are no problems. If the red light flashes, your computer was trying to communicate, but too many others were talking, and it got confused (this is OK, networks are designed that way). Don’t disconnect the network cable while the computer is on, but, if you did the lights would both stay off because no communication is occurring.

EXERCISE: Start a program such as Netscape, and point to a site. Look at the light while nothing is happening. Now, access a site, and quickly look to see what the lights are doing. You should see more activity.

A small network is called a Local Area Network (LAN) and only connects a few computers for fast communication.

We can connect smaller networks to larger networks that may just go across campus. These are Wide Area Networks (WAN).

page 11

EXERCISE: Follow the cables on the back of the computers back to the hub. Notice the status lights on the hub flash as communication occurs. Also notice that one wire on the hub goes elsewhere to another hub for the building or campus - It is taking another step towards the Internet.

The Internet is just a lot of LANs andWANs connected together. If your computer is on one LAN that is connected to the Internet, you can reach computers on other LANs.

The information that networks typically communicate includes,

email - text files, binary files (MIME encoded) programs - binary, or uuencoded

web pages - (HTML) Hyper Text Markup Language

• To transfer this information we count on access procedures that allow agreement about when computers talk and listen, and what they say.

email - (SMTP) Simple Mail Transfer Protocol, POP3, IMAP programs - (FTP) File Transfer Protocol

login sessions - Telnet

web access - (HTTP) Hyper Text Transfer Protocol

EXERCISE - Basic: Open a Dos window and type in ‘ftp’. You can then say ‘open sunsite.unc.edu. When it asks for your name type in ‘anonymous’, and for the password type in your email address. You should now be connected to a computer in North Carolina. you can look in the directories with ‘ls’ or ‘dir’, and you can move to new directories using ‘cd DIRECTORY_NAME’. If you see a file that you want type ‘get FILE_NAME’. Next, type ‘close’ to end the connection. Quit the Dos window, and use the Windows based FTP program to access the same computer.

EXERCISE - Intermediate: Open a Dos window and type in ‘telnet river.it.gvsu.edu’. This connects you to the main student computer on campus. If you have an account, enter your user name and password. You can the use this computer as if you are using another dos window on your computer. Type ‘exit’ and quit the Dos window. Run the Windows Telnet program to access river again.

page 12

EXERCISE - Advanced: Open a Dos window and type ‘telnet river.it.gvsu.edu 25’. this will connect you to the main student computer. But instead of the normal main door, you are talking to a program that delivers mail. Type the following to send an email message.

ehlo northpole.com mail from: santa rcpt to: jackh

data

Subject: Bogus mail

this is mail that is not really from santa

.

3.1.1 Computer Addresses

Computers are often given names, because names are easy to remember.

In truth the computers are given numbers.

Machine Name:

claymore.engineer.gvsu.edu

Alternate Name:

www.eod.gvsu.edu

IP Number:

148.61.104.215

• When we ask for a computer by name, your computer must find the number. It does this using a DNS (Domain Name Server). On campus we have two ‘148.61.1.10’ and ‘148.61.1.15’.

EXERCISE: In netscape go to the location above using the name, and using the IP number (148.61.104.215).

• The number has four parts. The first two digits ‘148.61’ indicate to all of the internet that the computer is at ‘gvsu.edu’, or on campus here (we actually pay a yearly fee of about $50 to register this internationally). The third number indicates what LAN the computer is located on (Basically each hub has its own number). Finally the last digit is specific to a machine.

EXERCISE: Run the program ‘winipcfg’. You will see numbers come up, including an IP number, and gateway. The IP number has been temporarily assigned to your computer. The gateway number is the IP address for the router. The router is a small computer that controls traffic between local computers (it is normally found in a locked cabinet/closet).

Соседние файлы в предмете Электротехника