1 computer communication & networks lecture 1 introduction waleed ejaz...

32
1 Computer Communication & Networks Lecture 1 Introduction http://web.uettaxila.edu.pk/CMS/coeCCNbsSp0 9/index.asp Waleed Ejaz [email protected]

Upload: phyllis-hart

Post on 31-Dec-2015

225 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

1

Computer Communication & Networks

Lecture 1

Introduction

http://web.uettaxila.edu.pk/CMS/coeCCNbsSp09/index.asp

Waleed [email protected]

Page 2: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

2

Overview

Administrative Networking: An Overview of Ideas and

Issues

Page 3: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

3

Who’s Who

Instructor Engr. Waleed Ejaz

2006 -2008 MS (Computer Engineering) from NUST Area of Specialization: Communication & Computer

Networks 2003-2006 BE (Computer Engineering) from UET Taxila

Lab Engineer Engr. Noshina Ishaq

Page 4: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

4

Web Resources

Course web• http://web.uettaxila.edu.pk/CMS/coeCCNbsS

p09/index.asp

• This website and email will serve as a communication medium between you and me besides the lecture timing.

Do visit the course website regularly and see Recent Announcements for updates.

Page 5: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

5

Grading Policy

Final Exam: 100 Grand Quiz 10 Assignments 5 Quizzes: 10 Labs 25

Page 6: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

6

Answers to FAQs

All home works are due at the beginning of the class indicated on the course calendar After that 10% penalty: only if submitted before solutions

are posted.

Exams are closed-book and extremely time limited. Exams consist of design questions, numerical,

maybe true-false and short answer questions. More about Exams you can see Past Exams from

WEB.

Page 7: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

7

Reading Text book:

Data Communications and Networking, 4/e B.A. Forouzan,

McGraw-Hill, 2003, ISBN 0-07-292354-7.

Reference books: Computer Networking, a top-down approach

featuring the Internet (3rd edition), J.K.Kurose, K.W.Ross,

Addison-Wesley, 2005, ISBN 0-321-26976-4.

Computer Networks, A Systems Approach

L. Peterson & Davie

Page 8: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

8

Required Skills

The course does not assume prior knowledge of networking.

Page 9: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

9

My Requirement from YOU

I require YOU to take active part during lectures

Which means Lot of Questioning in the class – (Interactive session)

Page 10: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

10

Aim of the Course

Aim of the course is to introduce you to the world of computer networks, so that you could know the science being used in running this

network Use this knowledge in your professional field

Page 11: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

11

Network design

Before looking inside a computer network, first agree on what a computer network is

Page 12: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

12

Computer network ?

Set of serial lines to attach terminals to mainframe ?

Telephone network carrying voice traffic ?

Cable network to disseminate video signals ?

Specialized to handle:

Keystrokes

Voice

Video

Page 13: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

13

What distinguishes a Computer network ?

Generality Built from general purpose

programmable hardware Supports wide range of applications

Page 14: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

14

Information, Computers, Networks Information: anything that is represented in bits

Form (can be represented as bits) vs Substance (cannot be represented as bits)

Properties: Infinitely replicable Computers can “manipulate” information Networks create “access” to information

Page 15: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

15

Networks

Potential of networking: move bits everywhere, cheaply, and with desired

performance characteristics Network provides “connectivity”

Page 16: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

16

What is “Connectivity” ?

Direct or indirect access to every other node in the network

Connectivity is the magic needed to communicate if you do not have a direct pt-pt physical link. Tradeoff: Performance characteristics worse than true physical

link!

Page 17: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

17

Building Blocks

Nodes: PC, special-purpose hardware… hosts switches

Links: coax cable, optical fiber… point-to-point

multiple access…

Page 18: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

18

Why not connect each node with every other node ? Number of computers that can be

connected becomes very limited Number of wires coming out of each

node becomes unmanageable Amount of physical hardware/devices

required becomes very expensive Solution: indirect connectivity using

intermediate data forwarding nodes

Page 19: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

19

Switched Networks

two or more nodes connected by a link

white nodes (switches) implement the network

colored nodes (hosts) use the network

A network can be defined recursively as...

Page 20: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

20

Switched Networks

two or more networks connected by one or more nodes: internetworks

white nodes (router or gateway) interconnects the networks

a cloud denotes “any type of independent network”

A network can be defined recursively as...

Page 21: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

21

A Network

A network can be defined recursively as

two or more nodes connected by a physical link

Or

two or more networks connected by one or more nodes

Page 22: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

22

Switching Strategies

Circuit switching: carry bit streams

a. establishes a dedicated circuit

b. links reserved for use by communication channel

c. send/receive bit stream at constant rate

d. example: original telephone network

• Packet switching: store-and-forward messagesa. operates on discrete

blocks of datab. utilizes resources

according to traffic demand

c. send/receive messages at variable rate

d. example: Internet

Page 23: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

23

What next ?

Hosts are directly or indirectly connected to each other Can we now provide host-host connectivity ?

Nodes must be able to say which host it wants to communicate with

Page 24: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

24

Addressing and Routing

Address: byte-string that identifies a node usually unique

Routing: forwarding decisions process of determining how to forward messages

to the destination node based on its address Types of addresses

unicast: node-specific broadcast: all nodes on the network multicast: some subset of nodes on the network

Page 25: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

25

Wrap-up

A network can be constructed from nesting of networks

An address is required for each node that is reachable on the network

Address is used to route messages toward appropriate destination

Page 26: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

26

What next ?

Hosts know how to reach other hosts on the network

How should a node use the network for its communication ?

All pairs of hosts should have the ability to exchange messages: cost-effective resource sharing for efficiency

Page 27: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

27

Multiplexing Physical links and nodes are shared among users

(synchronous) Time-Division Multiplexing (TDM) Frequency-Division Multiplexing (FDM)

L1

L2

L3

R1

R2

R3Switch 1 Switch 2

Multiple flows on a single link

Do you see any problem with TDM / FDM ?

Page 28: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

28

What Goes Wrong in the Network?

Reliability at stake

Bit-level errors (electrical interference) Packet-level errors (congestion)

distinction between lost and late packet Link and node failures

distinction between broken and flaky link distinction between failed and slow node

Page 29: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

29

What Goes Undesirable in the Network?

Required performance at stake

Messages are delayed Messages are delivered out-of-order Third parties eavesdrop

The challenge is to fill the gap between application expectations and hardware capabilities

Page 30: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

30

Research areas in Networking Routing Security Ad-hoc networks Wireless networks Protocols Quality of Service …

Page 31: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

31

Readings

Chapter 1: 1.1, 1.2 Computer Networks, A Systems Approach

L. Peterson & Davie

Page 32: 1 Computer Communication & Networks Lecture 1 Introduction  Waleed Ejaz waleed.ejaz@uettaxila.edu.pk

32