computer network no1 introduction from apcoms

36
Computer Networks Major Muhammad Faisal Amjad CS Dept CPS 422 www.jntuworld.com www.jntuworld.com www.jwjobs.net

Upload: sakthidasan-sankaran

Post on 10-Dec-2015

218 views

Category:

Documents


2 download

DESCRIPTION

notes

TRANSCRIPT

Page 1: Computer Network No1 Introduction From APCOMS

Computer Networks

Major Muhammad Faisal AmjadCS Dept

CPS 422

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 2: Computer Network No1 Introduction From APCOMS

Internet………

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 3: Computer Network No1 Introduction From APCOMS

Everyone uses it

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 4: Computer Network No1 Introduction From APCOMS

We want it Everywhere

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 5: Computer Network No1 Introduction From APCOMS

Even at our fingertips

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 6: Computer Network No1 Introduction From APCOMS

We even call and meet each other over the Internet

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 7: Computer Network No1 Introduction From APCOMS

Why should TV be an exception

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 8: Computer Network No1 Introduction From APCOMS

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 9: Computer Network No1 Introduction From APCOMS

World has become a global village because of the InternetSo… What is Internet ???It is a collection of a very large number of “inter-connected NETWORKS” that connect millions of “devices” that can “communicate”with each otherAnd why should we study networks

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 10: Computer Network No1 Introduction From APCOMS

What is this course about?

Introductory (first) course in computer networkingLearn principles and Architecture of computer networkingThis is NOT a course on network building or specific usage, HoweverInternet architecture/protocols will be studied to understand networking principles.

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 11: Computer Network No1 Introduction From APCOMS

What is this course about?Goals:

learn a lot (not just facts, but principles)enjoy learning Computer Networks (Not as a burden)be able to make intelligent decisions about network design, use and managementbe able to pick up and learn details of a particular system as you need itbe able to quickly find protocol descriptions and problemsolutionsbe able to discuss data communication systems with supervisors and co-workers on the job (and may be impress them with high sounding technical jargons)

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 12: Computer Network No1 Introduction From APCOMS

Course InformationWho is this course for?o Undergrads of TE and BESE

Prerequisites:o Willingness to work hard (for survival in this course and ultimately

in your profession)Course materials:o text: Data and Computer Communications By William Stallings

Fifth Editiono text: Data Communications and Networking By Behrouz

Forouzan, Third Editiono Other Ref books (if necessary) will be indicated during the course.o WWW readings.o Class notes

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 13: Computer Network No1 Introduction From APCOMS

Course Information

Coursework amount %ageWritten assignments as needed 10%Announced / unannounced quizzes as needed 10%Midterm Exam 1 30%Final exam 1 50%

Workload:

Credit Hours: 3+1

Missing quizzes / assignments / exam will land you into trouble. DON’T MISS THEM.

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 14: Computer Network No1 Introduction From APCOMS

Course Conduct

Networking is a Vast subject and only key concepts can be covered in the class.You are expected to read the rest from the book and other refs.Feel free to ask questions during the class about any concepts that are not clear.Material covered in the class will include someconcepts from other textbooks. Please pay attention to the class discussion.

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 15: Computer Network No1 Introduction From APCOMS

Course OutlineNetworking OverviewLayered Approach to Network ArchitectureComparison of OSI and TCP/IP architecturePhysical Layer (Will not be covered in detail since Analog & Digital Comm has already been studied)o Analog / Digital Communicationo Transmission Mediao Data Encodingo Interfacingo Multiplexingo Packet Switching / Circuit Switching

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 16: Computer Network No1 Introduction From APCOMS

Course Outline (Contd…)

Data Link Layero Error Detection / Correction / Controlo Elementary Data Link Protocolso Sliding Window Protocolso MAC Sub-layer

MAC Protocols (CSMA, ALOHA, WLANs etc.)IEEE 802 Standards for LANsBridgesHigh Speed LANs

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 17: Computer Network No1 Introduction From APCOMS

Course Outline (Contd…)

The Network Layero Internetworking Conceptso Internet Addressingo ARPo IP – Connectionless Datagram Deliveryo Routingo IP – Error and Control (ICMP)o Subnet and Subnet Extension

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 18: Computer Network No1 Introduction From APCOMS

Course Outline (Contd…)

The Transport Layero Process – to – Process Deliveryo User Datagram Protocol (UDP)o Transmission Control Protocol (TCP)o Congestion Controlo Quality of Service (QoS)

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 19: Computer Network No1 Introduction From APCOMS

Course Outline (Contd…)

The Application Layero Client-Server Model and the Socket Interfaceo Domain Name System (DNS)o E-mail (SMTP) and File Transfer (FTP)o HTTP and the WWW

Network Security

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 20: Computer Network No1 Introduction From APCOMS

Networking Overview

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 21: Computer Network No1 Introduction From APCOMS

Data CommunicationData Communication is the exchange of data between two devices via some form of transmission mediumFundamental characteristics of data communication:o Delivery – to correct destinationo Accuracy – without errorso TimelinessComponents of data communication:o Messageo Sendero Receivero Mediumo Protocol

Message

Step 1Step 2Step 3…….

Step 1Step 2Step 3…….

Protocol Protocol

SenderReceiver

Transmission Medium

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 22: Computer Network No1 Introduction From APCOMS

Simplified Communication Model

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 23: Computer Network No1 Introduction From APCOMS

Simplified Data Communication Model

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 24: Computer Network No1 Introduction From APCOMS

Direction / Timing of Data Flow

o Simplex

o Half Duplex

o Full Duplex

Direction of Data

Mainframe

Monitor

Data Direction at time 1Workstation

Workstation

Data Direction at time 2

Data Direction at all timesWorkstation

Workstation

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 25: Computer Network No1 Introduction From APCOMS

Protocol

A protocol is a set of rules that governs data communications. It represents an agreement between the communicating devices.Without protocol, devices may be connected but not communicating.

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 26: Computer Network No1 Introduction From APCOMS

Example protocolsa human protocol and a computer network protocol:

Get http://www.mcs.edu.pk/index.htm

TCP connectionreq.

TCP connectionreply.

<file>time

Hi

HiGot thetime?2:00

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 27: Computer Network No1 Introduction From APCOMS

Network CriteriaPerformanceo e.g. transit time, response timeo Depends upon media, no of users, hardware

capabilities, software efficiency etc.Reliabilityo Freq of failureo Failure recoveryo Robustness in a catastrophe

Security

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 28: Computer Network No1 Introduction From APCOMS

Network TopologiesMeshStarBusRing

Network Topologies

Mesh Star Bus Ring

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 29: Computer Network No1 Introduction From APCOMS

Mesh Topology

•A fully connected mesh network has n(n-1)/2 physical links to connect n devicesIs the network in figure above a fully connected mesh ?

•No of I/O ports required

•Ease of installation / reconfigure

•Link failure

•Availability of link BW

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 30: Computer Network No1 Introduction From APCOMS

Star Topology

HUB / Switch

•No of I/O ports required

•Ease of installation / reconfigure

•Link failure

•Availability of link BW

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 31: Computer Network No1 Introduction From APCOMS

Bus Topology

Tap Tap Tap Tap

•No of I/O ports required

•Ease of installation / reconfigure

•Link failure

•Availability of link BW

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 32: Computer Network No1 Introduction From APCOMS

Ring Topology•No of I/O ports required

•Ease of installation / reconfigure

•Link failure

•Availability of link BW

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 33: Computer Network No1 Introduction From APCOMS

Network CategoriesLocal Area Network (LAN)Metropolitan Area Network (MAN)Wide Area Network (WAN)

Network Categories

LAN MAN WAN

Can you name some other Network Categories ?(Within a few buildings) (Within a city) (Across many cities)

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 34: Computer Network No1 Introduction From APCOMS

An ExampleNetworkingConfiguration

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 35: Computer Network No1 Introduction From APCOMS

Internet StandardsAn Internet Standard is a thoroughly tested specification that is useful to and adhered to by those who work on the Internet.Any specification begins as an Internet Draft which is a working document (work-in-progress) with no official status and a 6-month lifetime.Upon recommendation from Internet authorities, a Draft may be published as a Request For Comment (RFC). Each RFC is edited, assigned a number and made available to all interested parties.

Visit the URL http://www.ietf.org

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net

Page 36: Computer Network No1 Introduction From APCOMS

Assignment # 1 (Due: Thur 27th Mar 2009)

Give advantages / disadvantages of various network topologies studied.Find out and list other network categories (e.g. LAN/MAN). Give a very brief (2-3 lines) explanation of each.Find out Two Internet Drafts and Two RFCs from the Internet, Give their numbers/names, Topics and their author(s) names.

ww

w.jntuw

orld.com

ww

w.jntuw

orld.com

ww

w.jw

jobs.net