33
CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque ([email protected]) Book: Data Communications and Networking Behrouz A. Forouzan, 4 th Edition McGraw-Hill Course slides: http://gnr.cse.univdhaka.edu Green Networking Research Group Dept. of Computer Science and Engineering, University of Dhaka Dr. Md. Abdur Razzaque Green Networking Research Group Dept. of Computer Science and Engineering, University of Dhaka

CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque ([email protected]) Book: Data Communications and Networking Behrouz A. Forouzan,

Embed Size (px)

Citation preview

Page 1: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

CSE - 3102Data and Telecommunications

CSE - 3102Data and Telecommunications

Dr. Md. Abdur Razzaque ([email protected])

Book: Data Communications and Networking

Behrouz A. Forouzan, 4th Edition

McGraw-Hill

Course slides: http://gnr.cse.univdhaka.edu

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 2: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

NBPM High School, PakseyIshurdi Govt. College

NBPM High School, PakseyIshurdi Govt. College

APECE, DUCSE, DU

CIT, IUTCIT, IUT

CSE, DUMember of IEEE, IEEE ComSoc,

ISOC, KIPS

Major in Wireless Networking

CSE, DUMember of IEEE, IEEE ComSoc,

ISOC, KIPS

Major in Wireless Networking

Page 3: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Networking LabKyung Hee University

Global Campus

Page 4: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

SyllabusSyllabusChapter 1 Introduction

Chapter 2 Network Models

Chapter 3 Data and Signals

Chapter 4 Digital Transmission

Chapter 5 Analog Transmission

Chapter 6 Bandwidth Utilization

Chapter 7 Transmission Media

Chapter 8 Switching

Chapter 9 High Speed Transmission Lines

Chapter 10 Error Detection and Correction

Chapter 11 Data Link Control

Chapter 12 Multiple Access Technologies

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 5: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Marks DistributionMarks Distribution

Final Examination – 60 Marks

Class Test – 20 Marks

Sudden Test – 10 Marks

Attendance – 5 Marks

Assignments – 5 Marks

Total: 100 Marks

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 6: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Chapter 1. IntroductionChapter 1. Introduction

1. Data communications

2. Networks

3. The Internet

4. Protocols and standards

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 7: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Data CommunicationsData Communications

DataInformation presented in whatever form is agreed upon by the parties creating and using the data

Data communicationExchange of data between two devicesVia some form of transmission medium

Fundamental characteristics of data communicationDeliveryAccuracyTimelinessJitter : Variation in the packet arrival time

Telecommunication: communication at a distance (‘tele’ in Greek=‘far”)

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 8: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Five Components of Data CommunicationFive Components of Data Communication

Message: Information(data) to be communicatedSenderReceiver Transmission medium: Physical path by which a message travelsProtocol: A set of rules that govern data communication

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 9: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Direction of Data FlowDirection of Data Flow

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 10: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Data FlowData FlowSimplex

UnidirectionalAs on a one-way street

Half-duplexBoth transmit and receive possible, but not at the same timeLike a one-lane road with two-directional trafficWalkie-talkie, CB radio

Full-duplexTransmit and receive simultaneouslyLike a two-way street, telephone networkChannel capacity must be divided between two directions

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 11: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

NetworkNetworkNetwork: A set of devices (nodes) connected by communication linksNode: Computer, printer, or any device capable of sending and/or receiving dataTo be considered effective and efficient, a network must meet a number of criteria

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 12: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Type of ConnectionType of Connection

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 13: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Type of ConnectionType of ConnectionPoint-to-point

Dedicated link between two devices

The entire capacity of the channel is reserved

Ex) Microwave link, TV remote control

Multipoint More than two devices share a single link

Capacity of the channel is either

Spatially shared: Devices can use the link simultaneously

Timeshare: Users take turns

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 14: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Physical TopologyPhysical Topology

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 15: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Mesh TopologyMesh TopologyDedicated point-to-point link to every other nodes

A mesh network with n nodes has n(n-1)/2 links. A node has n-1 I/O ports (links)

Advantages: No traffic problems, robust, security, easy fault identification & isolation

Disadvantages: Difficult installation/reconfiguration, space, cost

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 16: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Star TopologyStar TopologyDedicated point-to-point link only to a central controller, called a hub

Hub acts as an exchange: No direct traffic between devices

Advantages: Less expensive, robust

Disadvantages: dependency of the whole on one single point, the hub

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 17: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Bus TopologyBus TopologyOne long cable that links all nodes

tap, drop line, cable end

limit on the # of devices, distance between nodes

Advantages: Easy installation, cheap

Disadvantages: Difficult reconfiguration, no fault isolation, a fault or break in the bus stops all transmission

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 18: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Ring TopologyRing TopologyDedicated point-to-point link only with the two nodes on each sides

One direction, repeater

Advantages: Easy reconfiguration, fault isolation

Disadvantage: Unidirectional traffic, a break in the ring cab disable the entire network

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 19: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Hybrid TopologyHybrid TopologyExample: Main star topology with each branch connecting several stations in a bus topology

To share the advantages from various topologies

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 20: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Categories of NetworksCategories of Networks

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 21: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

LANLANUsually privately ownedA network for a single office, building, or campus a few Km Common LAN topologies: bus, ring, star An isolated LAN connecting 12 computers to a hub in a closet

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 22: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

MANMANDesigned to extend to an entire cityCable TV network, a company’s connected LANsOwned by a private or a public company

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 23: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

WANWANLong distance transmission, e.g., a country, a continent, the world

Enterprise network: A WAN that is owned and used by one company

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 24: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

InternetworkInternetworkInternetwork (internet) : two or more networks are connected by internetworking devices Internetworking devices: router, gateway, etc. The Internet: a specific worldwide network

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 25: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Internetwork ExampleInternetwork ExampleA heterogeneous network : four WANs and two LANs

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 26: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

The InternetThe InternetThe Internet has revolutionized many aspects of our daily lives. It has affected the way we do business as well as the way we spend our leisure time. The Internet is a communication system that has brought a wealth of information to our fingertips and organized it for our use.1967: ARPANET proposed by DoD’s ARPA(Advanced Research Project Agency)

1969: ARPANET in a reality: UCLA, UCSB, SRI, U. of Utah

1973: Vint Cerf and Bob Kahn propose TCP,

To split TCP into two protocols TCP and IP

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 27: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Internet Internet TodayToday

• ISP (Internet service providers)

• NISP (national ISP)

• NAP (network access point)

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 28: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

ProtocolsProtocols

Protocol : ruleA set of rules that govern data communication

For communication to occur, entities must agree upon a protocol

Key elements of a protocolSyntax: structure or format of data

Semantics: meaning of each section in the structure

Timing: when and how fast data should be sent

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 29: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Standards: agreed-upon rulesStandards: agreed-upon rules

Standards is essential inCreating/maintaining open and competitive markets

Guaranteeing national/international interoperability

Two categoriesDe jure (“by law” or “by regulation’) standards

De facto (“by fact” or ‘by convention’) standardsProprietary standards: closed standards

Nonproprietary standards: open standards

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 30: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Standards OrganizationsStandards Organizations

Standards are developed byStandards creation committees

Forums

Regulatory agencies

Standards committees & forumsStandards committees are slow moving

Forums are made up of interested corporations

Forum are able to speed acceptance of a particular technology

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 31: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Standards CommitteesStandards Committees

ISOVoluntary international organization

ITU-TFormerly, CCITT formed by UN

ANSIPrivate non-profit corporation in the US

IEEEThe largest engineering society in the world

EIANon-profit organization in the US

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 32: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Internet StandardsInternet Standards

IETF (Internet Engineering Task Force)

Internet Draftworking document with no official status

with a 6-month lifetime

RFC (Request for Comment)Edited, assigned a number, and made available to all interested parties

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka

Page 33: CSE - 3102 Data and Telecommunications Dr. Md. Abdur Razzaque (razzaque@cse.univdhaka.edu) Book: Data Communications and Networking Behrouz A. Forouzan,

Home WorksHome Works

Submission due on: Sunday, 29 January 2012

(Must be Handwritten)Page 24

Problems – 15, 16, 17, 19

Page 25Problems – 20, 22, 25, 26, 28, 29

Green Networking Research GroupDept. of Computer Science and Engineering, University of Dhaka

Dr. Md. Abdur RazzaqueGreen Networking Research Group

Dept. of Computer Science and Engineering, University of Dhaka