chapter 1 9thfeb

38
Department of Electrical Engineering. COMSATS Institute of Information Technology, Islamabad. Department of Electrical Engineering. COMSATS Institute of Information Technology, Islamabad. EEE314:DATA COMMUNICATIONS & COMPUTER NETWORKS & COMPUTER NETWORKS ATIF SHAKEEL (MSc NETWORKS & DISTRIBUTED SYSTEMS, SWEDEN) 1 EEE 314: Data Communications & Computer Networks.

Upload: ishtiaq-ahmed

Post on 12-Nov-2014

7 views

Category:

Documents


0 download

DESCRIPTION

lecture

TRANSCRIPT

Page 1: Chapter 1 9thFeb

Department of Electrical Engineering.COMSATS Institute of Information Technology, Islamabad.Department of Electrical Engineering.COMSATS Institute of Information Technology, Islamabad.

EEE314:DATA COMMUNICATIONS & COMPUTER NETWORKS& COMPUTER NETWORKS

ATIF SHAKEEL(MSc NETWORKS & DISTRIBUTED SYSTEMS, SWEDEN)

1EEE 314: Data Communications & 

Computer Networks.

Page 2: Chapter 1 9thFeb

Department of Electrical Engineering.COMSATS Institute of Information Technology, Islamabad.

COURSE HOME PAGE :    http://groups.yahoo.com/group/DCCN‐Fall2011‐CIIT/

COURSE EMAIL: DCCN‐Fall2011‐[email protected]

INSTRUCTOR EMAIL:[email protected]

EEE 314: Data Communications & Computer Networks.

22EEE 314: Data Communications & 

Computer Networks.

Page 3: Chapter 1 9thFeb

NETWORK SUPPORTING THE WAY WE LIVE

EEE 314: Data Communications & Computer Networks.

3EEE 314: Data Communications & 

Computer Networks.3

Page 4: Chapter 1 9thFeb

EEE 314: Data Communications & Computer Networks.

4EEE 314: Data Communications & 

Computer Networks.4

Page 5: Chapter 1 9thFeb

INTRODUCTIONINTRODUCTION

• What is Communication?What is Communication?

• What is Data Communication?

i i i h h f dData communications is the exchange of databetween two devices via some form of

i i ditransmission medium.

Data refers to information presented inwhatever form that is agreed upon by theparties creating and using the data.

EEE 314: Data Communications & Computer Networks.

5EEE 314: Data Communications & 

Computer Networks.5

Page 6: Chapter 1 9thFeb

FUNDAMENTAL CHARACTERISTICSFUNDAMENTAL CHARACTERISTICS

• Effectiveness of Data communicationsEffectiveness of Data communicationsdepends on following characteristics.– Delivery– Delivery

– Accuracy

Timeliness– Timeliness

– Jitter

EEE 314: Data Communications & Computer Networks.

6

Page 7: Chapter 1 9thFeb

COMPONENTS OF DATA COMMUNICATIONSCOMMUNICATIONS

• Message

• Sender• Sender

• Receiver

T i i di• Transmission medium

• Protocol

EEE 314: Data Communications & Computer Networks.

7

Page 8: Chapter 1 9thFeb

DATA REPRESENTATIONDATA REPRESENTATION

• Information can be sent in different formsInformation can be sent in different forms– Text

Numbers– Numbers

– Images

A di– Audio

– Video

EEE 314: Data Communications & Computer Networks.

8

Page 9: Chapter 1 9thFeb

DATA FLOWDATA FLOW

EEE 314: Data Communications & Computer Networks.

9

Page 10: Chapter 1 9thFeb

DATA FLOWDATA FLOW

• Communication between two devices can be:Communication between two devices can be: – Simplex

Half Duplex– Half‐Duplex

– Full‐Duplex

EEE 314: Data Communications & Computer Networks.

10

Page 11: Chapter 1 9thFeb

NETWORKSNETWORKS

•• AA networknetwork isis aa setset ofof devicesdevices (often(often referredreferred toto asasAA networknetwork isis aa setset ofof devicesdevices (often(often referredreferred toto asasnodes)nodes) connectedconnected byby communicationcommunication linkslinks.. AA nodenodecancan bebe aa computer,computer, printer,printer, oror anyany otherother devicedevicecapablecapable ofof sendingsending and/orand/or receivingreceiving datadata generatedgeneratedbyby otherother nodesnodes onon thethe networknetwork..AA I t t dI t t d tt ff thithi ll•• AnAn InterconnectedInterconnected systemsystem ofof thingsthings oror peoplepeople..

EEE 314: Data Communications & Computer Networks.

11

Page 12: Chapter 1 9thFeb

• Distributed Processing– Most Networks uses distributed processing, inwhich task is divided among multiple computers.

• Network Criteria– A network must be able to meet certain numberof criteria, the most important are:

• Performance

R li bili• Reliability

• Security

EEE 314: Data Communications & Computer Networks.

12

Page 13: Chapter 1 9thFeb

TYPES OF PHYSICAL CONNECTION• Point‐to‐Point Connection

• Multipoint ConnectionMultipoint Connection

EEE 314: Data Communications & Computer Networks.

13

Page 14: Chapter 1 9thFeb

PHYSICAL TOPOLOGYPHYSICAL TOPOLOGY

• Way in which network is laid out physicallyWay in which network is laid out physically.Two or more devices connect to a link; two ormore links from a topologymore links from a topology.

EEE 314: Data Communications & Computer Networks.

14

Page 15: Chapter 1 9thFeb

MESH TOPOLOGY– Every device has a dedicated point to point link to every other device.

– A fully connected mesh network has n(n‐1)/2 physical channels to linkn devicen device.

– Every device must have n‐1 I/O ports.

– Advantages:

– Eliminating traffic problems due to dedicated links.

– Robust.

– Privacy or security.

– Easy for fault identification and isolation.

– Disadvantages:

– High cost due to amount of cabling and the network I/O portsHigh cost due to amount of cabling and the network I/O portsrequired.

– Difficult and complex installment.

EEE 314: Data Communications & Computer Networks.

15

Page 16: Chapter 1 9thFeb

FULLY CONNECTED MESH TOPOLOGY ( )(FIVE DEVICES)

EEE 314: Data Communications & Computer Networks.

16

Page 17: Chapter 1 9thFeb

STAR TOPOLOGYSTAR TOPOLOGY

• Each device has a dedicated point‐to‐point link only to a central controller,usually called hub.

• Does not allow direct traffic between devices, the controller acts as anexchange.

• Advantages:

• Less expensive then mesh topology.

• Easy to install and reconfigureEasy to install and reconfigure.

• Robust

• Easy fault identification and fault isolation.

Di d• Disadvantages:

• Could be costly due to Hub but still highly recommended due to itsadvantages over other topologies.

EEE 314: Data Communications & Computer Networks.

17

Page 18: Chapter 1 9thFeb

Star Topology with four stationsStar Topology with four stations

EEE 314: Data Communications & Computer Networks.

18

Page 19: Chapter 1 9thFeb

BUS TOPOLOGY• One long cable acts as a backbone (Bus) to link all other

devices (nodes) in a network. Nodes are connected to the buscable by drop lines and tapscable by drop lines and taps.

• Mesh, Star are point to point. Bus is multipoint.• Propagating signal through the bus starts fading due to loss of

energy as heat. Thus there is a limit on the number of tapsand the distance between those taps.

• Advantages:g– Ease of installation.

• Disadvantages:Difficult reconnection– Difficult reconnection.

– Difficult fault isolation.– A fault or break in the bus cable stops all transmission to the further

segment

EEE 314: Data Communications & Computer Networks.

19

segment.

Page 20: Chapter 1 9thFeb

Bus Topology Connecting three stations.

EEE 314: Data Communications & Computer Networks.

20

Page 21: Chapter 1 9thFeb

RING TOPOLOGY• Each device has a dedicated point‐to‐pointconnection only with the two devices on either sideof it A signal is passed along the ring in oneof it. A signal is passed along the ring in onedirection, from device to device, until it reaches itsdestination.E h d i i h i i• Each device in the ring incorporates a repeater.

• Advantages:– Easy to install and reconfigure with considerations likeEasy to install and reconfigure with considerations likemaximum ring length and number of devices.

– Simplified fault isolation.• Disadvantage:• Disadvantage:

– Due to unidirectional traffic, a break in the ring can disablethe entire network.

EEE 314: Data Communications & Computer Networks.

21

Page 22: Chapter 1 9thFeb

Ring Topology connecting six stations.Ring Topology connecting six stations.

EEE 314: Data Communications & Computer Networks.

22

Page 23: Chapter 1 9thFeb

HYBRID TOPOLGYHYBRID TOPOLGY

EEE 314: Data Communications & Computer Networks.

23

Page 24: Chapter 1 9thFeb

CATEGORIES OF NETWORK

Network

Metropolitan Wide areaLocal area Metropolitan area network 

(MAN)

Wide area network (WAN)

Local area network  (LAN)

EEE 314: Data Communications & Computer Networks.

24

Page 25: Chapter 1 9thFeb

LOCAL AREA NETWORK– Usually privately owned and links the devices in asingle office, building or campus.g , g p

– Geographical size is few kilometers.– Designed to allow resources (hardware, softwareg (or data) to be shared between personalcomputers or work stations.I l t f di– In general use one type of media.

– Topologies: bus, ring and star.Data rates: 4 to 16 Mbps Recent advancements– Data rates: 4 to 16 Mbps. Recent advancementssupport up to 100 Mbps and Gbps is indevelopment.

EEE 314: Data Communications & Computer Networks.

25

p

Page 26: Chapter 1 9thFeb

LAN connecting 12 computers in a HubLAN connecting 12 computers in a Hub

EEE 314: Data Communications & Computer Networks.

26

Page 27: Chapter 1 9thFeb

METROPOLITAN AREA NETWORKMETROPOLITAN AREA NETWORK– Designed for the customers who need a high

d i i ll h i dspeed connectivity, normally to the internet andspread over a city or part of city.

M b i l t k b f– Maybe a single network or maybe a means ofconnecting number of LANs into a larger networkso that resources may be shared LAN‐to‐LAN asso that resources may be shared LAN to LAN aswell as device‐to‐device.

– Example: A company can use a MAN to connectExample: A company can use a MAN to connectLANs in all its offices throughout a city.

EEE 314: Data Communications & Computer Networks.

27

Page 28: Chapter 1 9thFeb

Metropolitan Area NetworkMetropolitan Area Network

EEE 314: Data Communications & Computer Networks.

28

Page 29: Chapter 1 9thFeb

WIDE AREA NETWORK– Provides long distance transmission of data, voice, image and video

information over large geographic areas that may comprise a country,a continent or even the whole worlda continent, or even the whole world.

– Switched WAN:• connects the end systems, which usually comprise a router(internetworking connecting device) that connects to another LANor WAN

• complex as the backbones that connect the Internet.

– Point‐to‐Point WAN:• A line leased from a telephone or cable TV provider that connectsa home computer or a small LAN to an Internet service providera home computer or a small LAN to an Internet service provider(lSP).

• simple as a dial‐up line that connects a home computer to theInternet

EEE 314: Data Communications & Computer Networks.

29

Internet

Page 30: Chapter 1 9thFeb

A Switched WAN & Point‐to‐Point WAN

EEE 314: Data Communications & Computer Networks.

30

Page 31: Chapter 1 9thFeb

A Heterogeneous Network made of 4 WANs and 2 LANsWANs and 2 LANs

EEE 314: Data Communications & Computer Networks.

31

Page 32: Chapter 1 9thFeb

INTERNETINTERNET

EEE 314: Data Communications & Computer Networks.

32

Page 33: Chapter 1 9thFeb

Hierarchical Organization of Internet

EEE 314: Data Communications & Computer Networks.

33

Page 34: Chapter 1 9thFeb

PROTOCOLS

• PROTOCOLA l i f l h d– A protocol is a set of rules that govern datacommunications; the key Elements of a protocolare syntax semantics and timingare syntax, semantics and timing.

• Syntax– Structure or format of the data.

• Semantics– Meaning of each section of bits.

Ti i• Timing– When data should be sent, and how fast data can be sent.

EEE 314: Data Communications & Computer Networks.

34

Page 35: Chapter 1 9thFeb

STANDARDSSTANDARDS

• Standard are necessary to ensure thatStandard are necessary to ensure thatproducts from different manufacturers canwork together as expectedwork together as expected.

• Data Communication Standards fall in to twocategoriescategories.– De facto

D j– De jure

EEE 314: Data Communications & Computer Networks.

35

Page 36: Chapter 1 9thFeb

STANDARD ORGANIZATIONSSTANDARD ORGANIZATIONS

• International Organization for StandardizationInternational Organization for Standardization (ISO)

• International Telecommunication Union• International Telecommunication Union‐Telecommunication Standards Sector (ITU‐T)

A i N i l S d d I i (ANSI)• American National Standards Institute (ANSI)

• Institute of Electrical and Electronics Engineers(IEEE)

• Electronics Industries Association (EIA)

EEE 314: Data Communications & Computer Networks.

36

( )

Page 37: Chapter 1 9thFeb

To‐Do ListTo Do List

• At least go through all the slides once in orderAt least go through all the slides once in order to grasp the concept before the next lecture.

• Join the Group Home page as soon asJoin the Group Home page as soon as possible.

• Lecture Slides for the next lecture will beLecture Slides for the next lecture will beuploaded on the group home page before thelecture.

• Any concern regarding the course, email onthe DCCN‐Fall2011‐[email protected]

EEE 314: Data Communications & Computer Networks.

37

Page 38: Chapter 1 9thFeb

THANK YOU FOR YOURTHANK YOU FOR YOUR 

ATTENTION.

EEE 314: Data Communications & Computer Networks.

38