Top Banner
1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. [email protected] http://www.cpe.ku.ac.th/~cpj Computer Engineering Department Kasetsart University, Bangkok, Thailand
43

1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. [email protected].

Dec 27, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

1

Overview of Data Communication

and Computer Networks

01204325: Data Communication and Computer Networks

Asst. Prof. Chaiporn Jaikaeo, [email protected]

http://www.cpe.ku.ac.th/~cpjComputer Engineering Department

Kasetsart University, Bangkok, Thailand

Page 2: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

2

Outline Data Communication Overview

Definition Components Protocols and standards

Network Overview Connectivity Categories Internetworks

Page 3: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

3

Motivations Efficient way to share resources

Cost – less expensive Accessibility – easier

Efficient way to exchange information Time – faster Size – bigger Correctness – more accurate

Page 4: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

4

Data Communication: Definition

Data Communication:

Transfer of data from one device to another via some form of transmission medium.

Transfer of data from one device to another via some form of transmission medium.

Page 5: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

5

Data Communication

Hi, how are you?

01010001

Hi, how are you?

UserComputer

you?

how

are

Hi,

you?

how

are

Hi,

01010001

Page 6: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

6

Components in Communication

Hi, how are you?

5 Protocol

4 Medium

3 Receiver2 Sender

1 Message

Page 7: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

7

Data Representation Numbers

8/16/32 bit integers floating point

Text ASCII, Unicode

Images Bit patterns, Graphics formats

JPG/GIF/etc Audio Samples of continuous signal Video Sequence of bitmap images

150

2

255

Page 8: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

8

Protocols and Standards Protocol

A set of rules governing data communications

Syntax: format of data block Semantics: meaning of each section Timing: speed and sequencing

Standards De facto (in practice) standards

not approved but widely adopted De jure (in law) standards

approved by an organization

Page 9: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

9

Standards Organizations Creation Committees

ISO, ITU-T, ANSI, IEEE, EIA Forums Regulatory Agencies

Page 10: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

10

Direction of Data Flow Simplex: One direction only

Server Monitor

data flow

Keyboard

data flow

Page 11: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

11

Direction of Data Flow Half Duplex: Both directions, one at a

time

E.g., walkie-talkies

data flow at time 1

data flow at time 2

Page 12: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

12

Direction of Data Flow Full Duplex: Both directions

simultaneously

E.g., telephone

Can be emulated on a single communication link using various methods

data flow

data flow

Page 13: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

13

Networks Network: a set of devices connected

by media links

Media Links

Printer

Workstation

Laptop

Scanner

Server

SD

iMac

Page 14: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

14

Types of Connections Point-to-point Multipoint (multidrop)

Page 15: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

15

Point-To-Point Connection

Page 16: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

16

Multipoint Connection

Wireless

Page 17: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

17

Topology Topology: physical or logical

arrangement of devices Point-to-point Mesh Star Bus Ring Hybrid

Page 18: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

Point-to-Point Connection

18

Page 19: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

19

Fully Connected Mesh Topology

A

CB

D

E

Page 20: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

20

Fully Connected Mesh Topology

Page 21: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

21

Fully Connected Mesh Topology

Pros: Dedicated links Robustness Privacy Easy to identify

fault Cons:

A lot of cabling I/O ports Difficult to move

Page 22: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

22

Star Topology

Hub

A D

B CDrop

Drop

Page 23: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

23

Star Topology

Switch

A D

B C

Page 24: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

24

Star Topology

Hub

A D

B C

Page 25: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

25

Star Topology Pros:

One I/O port per device

Little cabling Easy to install Robustness Easy to identify

fault

Cons: Single point of

failure More cabling still

required

Hub

Page 26: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

26

Bus Topology

Dropline

Tap

Terminator

Page 27: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

27

Bus Topology

A B C D

Page 28: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

28

Bus Topology

Page 29: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

29

Bus Topology Pros:

Little cabling Easy to install

Cons: Difficult to modify Difficult to isolate fault Break in the bus cable stops all

transmission

Page 30: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

30

Ring Topology

A

B

C

D

Page 31: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

31

Ring Topology

Page 32: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

32

Ring Topology

Pros: Easy to install Easy to identify fault

Cons: Delay in large ring Break in the ring stops

all transmission

Page 33: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

33

Hybrid Topologies

ACTACT10M100M

1 2 3 4

13 14 15 16

5 6 7 8

17 18 19 20

9 10 11 12

21 22 23 24

UPLINK

1 2 3 4 5 6 7 8 9 101112

131415161718192021222324COLCOL

PWR

SWITCH

ACTACT10M100M

1 2 3 4

13 14 15 16

5 6 7 8

17 18 19 20

9 10 11 12

21 22 23 24

UPLINK

1 2 3 4 5 6 7 8 9 101112

131415161718192021222324COLCOL

PWR

SWITCH

Page 34: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

34

Network Categories Local Area Network (LAN) Wide Area Network (WAN) Metropolitan Area Network (MAN)

Page 35: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

35

Local Area Networks Network in a single office, building,

or campus

Page 36: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

36

Wide Area Networks Network providing long-distance

communication over a country, a continent, or the whole world

Page 37: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

38

Metropolitan Area Networks Network extended over an entire city

Bangkhen Kampangsaen

Page 38: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

39

Switching Dedicated circuits Circuit switching

Telephone switchesestablish circuitsfor communication

Packet switching Data are put into

packets Each stamped with

source and destinationaddresses

Routers know where toforward packets

telephone

switch

Router

Packet

Page 39: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

40

Network of Networks

Company A

Company D

Network Interface Card (NIC)

Company B

Company C

Page 40: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

41

Internetworking How to allow devices from different

standards to communicate Gateways/routers – devices

capable of communicating in several standards

These become "network of networks"

Page 41: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

42

Internetworks Two or more networks connected

become an internetwork, or internet

Example: The Internet

Network1 Network2

Gateway

Network3

Page 42: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

43

The Internet The largest internetwork (network of

networks) in the world Devices communicating with TCP/IP

protocol suite

UCLA

Stanford

UC Santa Barbara

U. of Utah

Page 43: 1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th.

44

Summary Data communication

Protocols and standards Computer networks

Topologies LAN/MAN/WAN

Internetworks (networks of networks)