N ETWORK P ROGRAMMING CSC- 341 Instructor: Junaid Tariq, Lecturer, Department of Computer Science.

Slides:



Advertisements
Similar presentations
INTRODUCTION TO COMPUTER NETWORKS Zeeshan Abbas. Introduction to Computer Networks INTRODUCTION TO COMPUTER NETWORKS.
Advertisements

2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 Network Models.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 Network Models.
2.1 Background Information Network Models LAYERED TASKS We use the concept of layers in our daily life. As an example, let us consider two friends.
Introduction to Networks and the Internet
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 The OSI Model and the TCP/IP.
Chapter 2 Network Models.
INTRODUCTION TO COMPUTER NETWORKS INTRODUCTION Lecture # 1 (
Data Communications Network Models.
NETWORK MODELS T.Najah Al_Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
Chapter 2 Network Models
Lecturer: Tamanna Haque Nipa
CHAPTER 3 1. THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE  Outline: 1. Protocol Layers 2. OSI Model 3. TCP/IP Model 4. Addressing 2.
NETWORKING CONCEPTS. OSI MODEL Established in 1947, the International Standards Organization (ISO) is a multinational body dedicated to worldwide agreement.
The OSI Model and the TCP/IP Protocol Suite
Computer Networks Lecture 1 & 2 Introduction and Layer Model Approach Lahore Leads University.
NDSL, Chang Gung University, 2.1 Chapter 2 Network Models 長庚大學資訊工程學系 陳仁暉 副教授 Tel: (03) Ext: 5990
Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary
Service Primitives Six service primitives that provide a simple connection-oriented service 4/23/2017
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Powerpoint Templates Computer Communication and Networks Lecture # 04 Muhammad Waseem Iqbal.
Internet Model. Interfaces Between Layers The passing of the data and network information down through the layers of the sending device and back up.
NET 221D:Computer Networks Fundamentals
Computer network is a collection of computing devices that are connected in various ways in order to communicate and share resources Usually, the connections.
University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department INTRODUCTION TO COMPUTER NETWORKS Dr. Abdelhamid.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 2 Network Models.
1 Kyung Hee University Chapter 2 Network Models. 2 Kyung Hee University 2.1 LAYERED TASKS We use the concept of layers in our daily life. As an example,
1 ECE453 - Introduction to Computer Networks Lecture 1: Introduction.
Reference model. Goal: 2 message exchange between application processes.
Chapter 2. Network Models
BZUPAGES.COM 2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 Network Models
Network Models.
Ch 2. Network Models. 1. LAYERED TASKS Concept of layers – Consider two friends who communicate through mail – What happens when one sends a letter to.
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Overview of Data Communications and Networking
1/15 Chapter 5 Open Systems Interconnection Model.
OSI Model. Open Systems Interconnection (OSI) is a set of internationally recognized, non proprietary standards for networking and for operating system.
Dr. John P. Abraham Introduction to Computer Networks INTRODUCTION TO COMPUTER NETWORKS.
TCP/IP Protocol Suite Suresh Kr Sharma 1 The OSI Model and the TCP/IP Protocol Suite Established in 1947, the International Standards Organization (ISO)
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Computer Network Lab. 1 3 장 OSI 기본 참조 모델 n OSI : Open System Interconnection n Basic Reference Model : ISO-7498 n Purpose of OSI Model ~ is to open communication.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
Computer Engineering and Networks, College of Engineering, Majmaah University INTRODUCTION TO COMPUTER NETWORKS Mohammed Saleem Bhat
Chapter 4 : Network models. Lecture 8. Layered Tasks - We use the concept of layers in our daily life. As an example, let us consider 2 friends who communicate.
INTRODUCTION TO COMPUTER NETWORKS BY: SAIKUMAR III MSCS, Nalanda College.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Lecture 3 : Network Architectures 1.
Network Models.
Chapter 2 Network Models.
The OSI Model Prof. Choong Seon HONG.
INTRODUCTION TO COMPUTER NETWORKS
Chap. 2 Network Models.
Chapter 3.
Chapter 3.
Layered Task, OSI Model, TCP/IP Model
INTRODUCTION TO COMPUTER NETWORKS
Topics discussed in this section:
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Model.
INTRODUCTION TO COMPUTER NETWORKS
INTRODUCTION TO COMPUTER NETWORKS
Chapter 2 Network Models
Data Transmission And Digital Communication
Lec 4 Network Models Computer Networks Al-Mustansiryah University
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Presentation transcript:

N ETWORK P ROGRAMMING CSC- 341 Instructor: Junaid Tariq, Lecturer, Department of Computer Science

Lecture 3

N ETWORK C OMPONENTS Physical Media Interconnecting Devices Computers Networking Software Applications

N ETWORKING M EDIA Networking media can be defined simply as the means by which signals (data) are sent from one computer to another (either by cable or wireless means). Wide variety of transmission links: Copper Twisted pair Coaxial Cable Optical Fiber Wireless media Introduction to Computer Networks

N ETWORKING D EVICES HUB, Switches, Routers, Wireless Access Points, Modems etc. Introduction to Compute Networks

C OMPUTERS : C LIENTS AND S ERVERS In a client/server network arrangement, network services are located in a dedicated computer whose only function is to respond to the requests of clients. The server contains the file, print services, application, security, and other services in a central computer that is continuously available to respond to client requests. Introduction to Computer Networks

A PPLICATIONS Searchable Data (Web Sites) E-Commerce News Groups Internet Telephony (VoIP) Video Conferencing Chat Groups Instant Messengers Internet Radio

A DDRESSING AND R OUTING 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

W RAP - 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

LAYERED TASKS LAYERED TASKS We use the concept of layers in our daily life. As an example, let us consider two friends who communicate through postal mail. The process of sending a letter to a friend would be complex if there were no services available from the post office.

L AYERED T ASKS Sender, Receiver and Carrier

L AYERED T ASKS Hierarchy  Higher Layer  Middle Layer  Lower Layer Services  The Each layer uses the services of the layer immediately below it.

O RGANIZATION OF AIR TRAVEL ticket (purchase) baggage (check) gates (load) runway takeoff airplane routing ticket (complain) baggage (claim) gates (unload) runway landing airplane routing Although this course is about network programming (and not about networking in general), an understanding of a complete network model is essential.

O RGANIZATION OF AIR TRAVEL : A DIFFERENT VIEW Layers: each layer implements a service  via its own internal-layer actions  relying on services provided by layer below ticket (purchase) baggage (check) gates (load) runway takeoff airplane routing ticket (complain) baggage (claim) gates (unload) runway landing airplane routing

D ISTRIBUTED IMPLEMENTATION OF LAYER FUNCTIONALITY ticket (purchase) baggage (check) gates (load) runway takeoff airplane routing ticket (complain) baggage (claim) gates (unload) runway landing airplane routing Departing airport arriving airport intermediate air traffic sites airplane routing

THE OSI MODEL Established in 1947, the International Standards Organization (ISO) is a multinational body dedicated to worldwide agreement on international standards. An ISO standard that covers all aspects of network communications is the Open Systems Interconnection (OSI) model. It was first introduced in the late 1970s. ISO is the organization. OSI is the model.

L AYERED A RCHITECTURE The OSI model is composed of seven layers ; Physical (layer1), Data link (layer2), Network (layer3) Transport (layer4), Session (layer5), Presentation (layer6), Application (layer7) Layer  Designer identified which networking functions had related uses and collected those functions into discrete groups that became the layers.  The OSI model allows complete interoperability between layers.  The Each layer uses the services of the layer immediately below it.

Figure 2.2 Seven layers of the OSI model Layered Architecture (cont’d) All People Seem ToTo Need Data Processing

P EER - TO - PEER P ROCESSES Layer x on one machine communicates with layer x on another machine - called Peer-to-Peer Processes. Interfaces between Layers Each interface defines what information and services a layer must provide for the layer above it. Well defined interfaces and layer functions provide modularity to a network Organizations of the layers  Network support layers : Layers 1, 2, 3  User support layer : Layer 5, 6, 7 It allows interoperability among unrelated software systems  Transport layer (Layer 4) : links the two subgroups

OSI A RCHITECTURE

Figure 2.3 The interaction between layers in the OSI model Peer-to-peer Processes (cont’d)

Figure 2.4 An exchange using the OSI model  The data portion of a packet at level N-1 carries the whole packet from level N. – The concept is called encapsulation. Peer-to-peer Processes (cont’d)

LAYERS IN THE OSI MODEL In this section we briefly describe the functions of each layer in the OSI model. Physical Layer Data Link Layer Network Layer Transport Layer Session Layer Presentation Layer Application Layer Topics discussed in this section:

 OSI Model Physical Layer

P HYSICAL L AYER Physical layer coordinates the functions required transmit a bit stream over a physical medium. The physical layer is responsible for movements of individual bits from one hop (node) to the next.

P HYSICAL L AYER Physical layer is concerned with the following: (deal with the mechanical and electrical specification of the primary connections: cable, connector)  Physical characteristics of interfaces and medium  Representation of bits  Data rate : transmission rate  Synchronization of bits  Line configuration  Physical topology  Transmission mode

 OSI Model Data Link Layer

D ATA L INK L AYER The data link layer is responsible for moving frames from one hop (node) to the next.

D ATA L INK L AYER Major duties  Framing  Physical addressing  Flow control  Error control  Access control

D ATA L INK L AYER Hop-to-hop (node-to-node) delivery