1_introduction to network

Post on 11-Apr-2016

227 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

1

Computer Networks

&

Data Communication

Gamini Wijayarathna

2

Recommended Readings

• William A. Shay, “Understanding Data

Communications and Networks”, 2nd Edition,

1999, Brooks/Core Publishing Company.

• Comer Douglas, E. “Internetworking with

TCP/IP”, 3rd Edition, 2000, Prentice-Hall.

• Andrew S. Tanenbaum, “Computer Networks”, 3rd

Edition, 1997, Prentice-Hall, Inc.

3

Why Study Communications?

Communication technology has invaded

virtually every aspect of daily life, from

professional and educational uses to

purely recreational ones.

4

A Brief History

• The filed of communications is not new:

– For thousands of years people communicated using little

more than words, stone tablets, and smoke signals.

– The primary forms of sending information were based on

the auditory and visual senses.

• Communications changed drastically in 1837,

when Samuel Morse invented the telegraph. This

invention made it possible to send information using

electrical impulses over a copper wire. Messages were

sent by translating each character into a sequence of

long or short electrical impulses (dots and dashes).

5

A Brief History (Cont.)

• In 1876 Alexander-Graham Bell took the

telegraph one step further. He showed that a

voice could be converted directly to electrical

energy and transmitted over a wire using

continuously varying voltages. At the wire’s other

end the electrical signals were converted back to

sound.

• During next 70 years the telephone system grew to

the point where the telephone became a common

device in a home.

6

A Brief History (Cont.)

• In 1945 - Invention of the first electronic

computer, ENIAC (Electronic Numerical

Integrator and Calculator). It was the first

device that could actually process information

electronically.

• The relation between computers and

communications began to emerge after the

invention of the transistor in 1947. It allowed

smaller and cheaper computers to be built.

7

A Brief History (Cont.)

• The new generation of computers that emerged during 1960s made new applications such as processing and routing telephone calls economically feasible.

• Another milestone in electronic communications occurred with the development of the personal computer (PC). The 1980s saw the infusion of millions of PCs into virtually every business, company, school, and organization and into many homes as well. The fact that so many people now had computers generated the need to make information even more easily accessible.

8

A Brief History (Cont.)

• The 1990s saw the emergence of the World Wide

Web (WWW), an application that makes

information from around the world easily accessible

from one’s desk. With the click of a mouse button,

computer users can access files, programs, video

clips, and sound bites. Online services such as chat

rooms, bulletin boards, airline reservation systems,

and more. Computers and communications have

progressed to the point where most businesses or

schools can no longer function without them.

9

Applications

• Transferring data between computers. LAN

/ WAN communications.

• Telephones /Fax / Cellular phones.

• Televisions.

• Voice and video communications.

• Teleconferencing.

• Information Services.

10

Computer Communication

Schematic

Computer A Computer B

Communication

subsystem

Communication

subsystem

Application

process

Application

process

Data communication network

User-to-user

communication

Computer-to-computer

communication

Computer-to-network communication

11

Uses of Computer Networks

(for Companies)

• Resource sharing

• High reliability

• Saving money

• Scalability

• Communication medium

12

Resource Sharing

Goal is to make all

programs

equipments &

data

available to anyone on the network

without regard to the physical location

of the resource and the user.

13

High Reliability

• Multiple copies of files

• Multiple CPUs

For military, banking, air traffic control,

nuclear power plant, and many other

applications, the ability to continue

operating in the face of hardware

problem is of utmost importance.

14

Saving Money

• Small computers have a much

better price/performance ratio

than large ones.

• Mainframes are faster than PCs but

they cost a thousand times more.

Mainframes Client – Server Systems

15

Client – Server Model

Client Machine Server Machine

Network

Request

Reply

Client

Process

Server

Process

16

Scalability

should be replaced by

a large one.

• expensive

• disruption to the users

• new clients and

• new servers

can be added as needed.

Centralized Mainframes Client – Server Systems

17

Uses of Computer Networks

(for People)

• Access to remote information

• Person-to-person communication

• Interactive entertainment

18

Network Hardware

• Transmission technology

• Scale

Criterions for classifying networks:

19

Transmission Technology

• Broadcast networks

• Point-to-point networks

20

Scale Interprocess

or distance

Processors

located in same

Example

0.1 m Circuit board Data flow machine

1 m System Multicomputer

10 m Room

Local area network

( LAN )

100 m Building

1 km Campus

10 km City Metropolitan area

network ( MAN )

100 km Country Wide area network

( WAN ) 1,000 km Continent

10,000 km Planet The Internet

21

Network Topology

Manner in which network devices are

connected physically.

Devices:

Mainframes, Workstations, File servers,

Printers, Scanners

22

Network Topologies

• Bus topology

• Star topology

• Ring topology

• Hybrid topology

• Tree topology

• Complete topology

• Irregular topologies

23

Bus Topology

Mainframe

Workstation File server Workstation

File server

24

• A single communication line

• Each device has an interface that listens to

the bus and examines its data traffic

• Carrier Sense, Multiple Access with

Collision Detection (CSMA/CD)

Bus Topology (cont.)

Ethernet (IEEE 802.3)

http://www.ieee802.org/3/

- One popular bus network

25

• A single communication line

• Each device has an interface that listens to

the bus and examines its data traffic

• Carrier Sense, Multiple Access with

Collision Detection (CSMA/CD)

Bus Topology (cont.)

26

Bus Topology (Cont.)

A B

C D E

Cable A Segment

Cable C

27

Bus Topology (Cont.)

A B

C D E

No traffic

Send Concurrently

X

28

Bus Topology (Cont.)

CSMA/CD

A B

C D E

X

29

Star Topology

Cables

Computer

30

Star Topology (Cont.)

One station (often a mainframe or file

server) is a logical communication

center

Other stations communicate through it

31

Star Topology (Cont.)

A B

C D Z

32

Ring Topology Computer

Cables

33

Ring Topology (Cont.)

Stations are arranged in a ring

Each station connected directly

only to its two neighbors

Messages pass through all of the

stations in between

(clockwise or counterclockwise)

34

Ring Topology (cont.)

A B

C

D

E

35

Hybrid Topology

bridge Computer Computer

Computer

bridge

Computer

Computer Computer

Computer

36

Tree Topology

37

Complete Topology

Cables

Computer

38

Irregular Topology

39

Local Area Networks ( LANs)

They are widely used to connect

personal computers & workstations in

company offices & factories to

share resources & exchange information.

40

Popular LANs

Ethernet (IEEE 802.3)

• Bus topology

• 10 or 100 Mbps (Megabits/Sec.)

Megabit = 1,000,000 bits

but not 1,048,576 (220)

IBM Token Ring (IEEE 802.5)

• Ring topology

• 4 or 16 Mbps

41

Metropolitan Area Networks

(MANs)

• Bigger version of LANs

• Normally uses similar technology

• DQDB (IEEE 803.6)

(Distributed Queue Dual Bus)

42

Architecture of the DQDB

MAN

Bus A

Bus B

Direction of flow on bus A

Direction of flow on bus A

Head end

Computer 1 Computer 2

43

DQDB MAN

Bus A

Bus B

Direction of flow on bus A

Direction of flow on bus A

Head end

Computer 1 Computer 2

44

Wide Area Networks (WANs)

Spans a large geographical area

(a country or continent)

Contains a collection of hosts

Hosts are connected by a subnet

(communication subnet)

top related