Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary

Slides:



Advertisements
Similar presentations
Data Communications System By Ajarn Preecha Pangsuban.
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.
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.
The OSI Model A layered framework for the design of network systems that allows communication across all types of computer systems regardless of their.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Chapter 2 Network Models Dr. Mznah Al-Rodhaan.
Computer Communication & Networks
Data Communications Network Models.
Chapter 2 Network Models
Lecturer: Tamanna Haque Nipa
The OSI Model and the TCP/IP Protocol Suite
Computer Networks Lecture 1 & 2 Introduction and Layer Model Approach Lahore Leads University.
HW for Chapter 1 Review Questions: 3, 4, 5, 6, 7, 8, and 11 Exercises: 16, 18, 21, 22, 23, and
NDSL, Chang Gung University, 2.1 Chapter 2 Network Models 長庚大學資訊工程學系 陳仁暉 副教授 Tel: (03) Ext: 5990
Chapter 2 Network Models
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Chapter 2 Network Models
THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE CS 1202 Lectur3 part2.
TCP/IP Protocol.
Service Primitives Six service primitives that provide a simple connection-oriented service 4/23/2017
Data Comm. & Networks Instructor: Ibrahim Tariq Lecture 3.
The OSI Model and the TCP/IP Protocol Suite Outline: 1.Protocol Layers 2.OSI Model 3.TCP/IP Model 4.Addressing 1.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
NET 221D:Computer Networks Fundamentals
The OSI Model.
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,
©Brooks/Cole, 2003 Model and protocol  A model is the specification set by a standards organization as a guideline for designing networks.  A protocol.
Prof. Hosny Ibrahim.  Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011  Text book (TX2): Data Communications.
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.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
8/28/ Network Models - Lin 1 CPET/ECET Network Models Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical and.
Chapter 2. Network Models
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Computer Communication & Networks Lecture 3 Layering and Protocol Stacks (contd.) Waleed Ejaz.
Data Communication Network Models
THE OSI REFERENCE MODEL
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Lecturer: Mrs. Rohani bt Hassan
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
Computer Networking. Text books B.A. Forouzan, Data Communications and Networking, 4th Edition, McGraw Hill, 2007 Peterson and Davie,Computer Networks:
Network Models.
Chapter 2 Network Models.
Chapter 3 Understanding the OSI Model
Chap. 2 Network Models.
The OSI Model and the TCP/IP Protocol Suite
ADDRESSING Before you can send a message, you must know the destination address. It is extremely important to understand that each computer has several.
Net 431: ADVANCED COMPUTER NETWORKS
The OSI Model and the TCP/IP Protocol Suite
Layered Task, OSI Model, TCP/IP Model
Chapter 2 Network Models
Layered Task, OSI Model, TCP/IP Model
The OSI Model and the TCP/IP Protocol Suite
The OSI Model and the TCP/IP Protocol Suite
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 Network Models
Chapter 2 Network Models
The OSI Model and the TCP/IP Protocol Suite
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Presentation transcript:

Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary

Layering & Protocol Stacks

Reference Models OSI reference model TCP/IP

OSI Reference model Open System Interconnection 7 layers 1. Crate a layer when different abstraction is needed 2. Each layer performs a well define function 3. Functions of the layers chosen taking internationally standardized protocols 4. Number of layers – large enough to avoid complexity

Seven layers of the OSI model

Exchange using OSI Model

Peer-to-peer Processes 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

The interaction between layers in the OSI model

OSI Layers

Physical layer Transporting bits from one end node to the next - type of the transmission media (twisted-pair, coax, optical fiber, air) - bit representation (voltage levels of logical values) - data rate (speed) - synchronization of bits (time synchronization) - deals with the optical, mechanical and electrical features - transmission modes ( half duplex, full duplex) physical connection

The physical layer is responsible for movements of individual bits from one hop (node) to the next. Note

Protocols: - Modems - Optical Cables, Connectors Network Devices: - Hubs, Repeaters, and Amplifier.

Data Link layer Transporting frames from one end node to the next one logical connection - framing - physical addressing - flow control - error control - access control

Data Link layer - hop-to-hop delivery-

Data Link layer - example-

The data link layer is responsible for moving frames from one hop (node) to the next. Note

Data Link layer Network Devices: -Bridge, Switch, ISDN Router, Intelligent Hub, NIC, Advanced Cable Tester

Data Link layer Protocols: Logical Link Control error correction and flow control manages link control and defines SAPs Media Access Control controls the type of media being used: CSMA/CD (Ethernet) Token Bus (ARCnet) Token Ring Demand Priority

Network Layer The network layer is responsible for the delivery of individual packets from the source host to the destination host.

20 Network layer End-to-End packet delivery  From the original source to a destination Needed when 2 devices are attached to different networks  What is the network definition here? Main duties: 1. Logical addressing 2. Routing 3. Switching 4. Congestion control and QoS Not a message

21 Source to destination delivery Data Link Network layer

22 Network layer - example - Network layer addresses Data Link layer addresses

23 The network layer is responsible for the delivery of individual packets from the source host to the destination host. Note

Network Layer Router works as the post office and network layer stamps the letters (data) for the specific destinations. Protocols: These protocols work on the network layer IP, ICMP, ARP, RIP, OSI, IPX and OSPF. Network Devices: Network devices including Router, Frame Relay device and ATM switch devices work on the network layer.

25 Transport layer Process-to-Process delivery of the entire message  From the original source to a destination Needed when several processes (running programs) active at the same time Main tasks:  Port addressing  Segmentation and reassembly  Congestion control  Flow control  Error control

Transport Layer  The transport layer is responsible for the delivery of a message from one process to another.

27 Transport Layer

28 Transport layer -an example of a reliable delivery -

29 The transport layer is responsible for the delivery of a message from one process to another. Note

Transport Layer Protocols: These protocols work on the transport layer TCP, UDP, SPX, NETBIOS, ATP and NWLINK. Network Devices: The Brouter, Gateway and Cable tester work on the transport layer.

31 The session layer is responsible for dialog control and synchronization. Note

Session Layer The session layer is responsible for dialog control and synchronization.

Presentation Layer

Presentation layer is a best layer for cryptography.

35 The presentation layer is responsible for translation, compression, and encryption. Note

Application Layer The application layer is responsible for providing services to the user.

Application Layer Services provided by Application layer: - File transfer, Access - Mail services

38 Application layer Enables user to access the network Provides services to a user   Remote file access and transfer (Telnet, FTP)  Access to WWW (HTTP)

39 The application layer is responsible for providing services to the user. Note

Application Layer Protocols: FTP, DNS, SNMP, SMTP, FINGER, TELNET, TFTP, BOOTP and SMB protocol are operated on the application layer. Network Devices: Gateway network device is operated on the application layer.

41 OSI Reference Model A convenient aid for remembering the OSI layer names is to use the first letter of each word in the phrase: All People Seem To Need Data Processing

42 Summary of layers and protocols Low-level protocols define the electrical and physical standards to be observed, bit- and byte-ordering and the transmission and error detection and correction of the bit stream High-level protocols deal with the data formatting, including the syntax of messages, the terminal to computer dialogue, character sets, sequencing of messages

43 TCP/IP Protocol

44 TCP/IP Vs OSI Model

45 Four Level of Addresses

46 Relationship of Layers & Addresses in TCP/IP

47 The physical addresses will change from hop to hop, but the logical addresses usually remain the same. Note

In Figure 2.19 a node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link (bus topology LAN). As the figure shows, the computer with physical address 10 is the sender, and the computer with physical address 87 is the receiver. Example 2.1

Figure 2.19 Physical addresses

most local-area networks use a 48-bit (6-byte) physical address written as 12 hexadecimal digits; every byte (2 hexadecimal digits) is separated by a colon, as shown below: Example :01:02:01:2C:4B A 6-byte (12 hexadecimal digits) physical address.

Figure 2.20 shows a part of an internet with two routers connecting three LANs. Each device (computer or router) has a pair of addresses (logical and physical) for each connection. In this case, each computer is connected to only one link and therefore has only one pair of addresses. Each router, however, is connected to three networks (only two are shown in the figure). So each router has three pairs of addresses, one for each connection. Example 2.3

Figure 2.20 IP addresses

Figure 2.21 shows two computers communicating via the Internet. The sending computer is running three processes at this time with port addresses a, b, and c. The receiving computer is running two processes at this time with port addresses j and k. Process a in the sending computer needs to communicate with process j in the receiving computer. Note that although physical addresses change from hop to hop, logical and port addresses remain the same from the source to destination. Example 2.4

Figure 2.21 Port addresses

Example 2.5 A port address is a 16-bit address represented by one decimal number as shown. 753 A 16-bit port address represented as one single number.

56 Readings Chapter 2 (B. A Forouzan)  Section 2.2,2.3, 2.4, 2.5

Q & A