Computer Communication & Networks / Data Communication & Computer Networks Week # 03

Similar documents
Chapter 2 Network Models 2.1

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

Network Models. Behrouz A. Forouzan Data communication and Networking Fourth edition

Chapter 2 Network Models 2.1

Chapter 2 Network Models 2.1

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

Network Models. Presentation by Dr.S.Radha HOD / ECE SSN College of Engineering

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

ITEC 3800 Data Communication and Network. Introducing Networks

QUESTION BANK UNIT-I

Lecture 2. Computer Networks Models. Network Models 1-1

Operating Systems CS 571

Layering in Networked computing. OSI Model TCP/IP Model Protocols at each layer

Data Communication and Network. Introducing Networks

Network Model: Each layer has a specific function.

CS1302 / Computer Networks

TCP/IP THE TCP/IP ARCHITECTURE

Introduction... xiii Chapter 1: Introduction to Computer Networks and Internet Computer Networks Uses of Computer Networks...

Networking Applications

SUBJECT: DATA COMMUNICATION AND NETWORK SEMESTER: V SEMESTER COURSE: BCA SUBJECT TEACHER: Dr.K.Chitra Assistant Professor, Department of Computer

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

Defining Networks with the OSI Model. Module 2

ES623 Networked Embedded Systems

Chapter 2 Network Models

Chapter 7. Local Area Network Communications Protocols

Reference Models. 7.3 A Comparison of the OSI and TCP/IP Reference Models

1: Review Of Semester Provide an overview of encapsulation.

Chapter 16 Networking

CS-461 Internetworking. Dr. Mohamed Aboutabl

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

TCP/IP protocol suite

Lecture-4. TCP/IP-Overview:

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

E&CE 358: Tutorial 1. Instructor: Sherman (Xuemin) Shen TA: Miao Wang

Copyleft 2005, Binnur Kurt. Objectives

IP Address Assignment

Introduction to internetworking, OSI, TCP/IP and Addressing.

TCP/IP Protocol Suite and IP Addressing

Communicating over the Network

BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU 2017

Network Reference Models

Chapter 2 Communicating Over the Network

Objectives. Upon completion you will be able to: Understand how the Internet came into being

ACL Rule Configuration on the WAP371

The Client Server Model and Software Design

Chapter -4 OSI Reference Model

products. OSI is an ISO Standard: OSI was officially adopted as an international standard by the International Organisation of Standards (ISO).

CPEG514 Advanced Computer Networks. Atef Abu Salim University of Nizwa Spring 2013/2014

6 Computer Networks 6.1. Foundations of Computer Science Cengage Learning

Need For Protocol Architecture

Need For Protocol Architecture

B.Sc. (Hons.) Computer Science with Network Security B.Eng. (Hons) Telecommunications B.Sc. (Hons) Business Information Systems

Network Architecture Models

Cisco Interconnecting Cisco Networking Devices Part 1.

Networking and Internetworking 1

The OSI Model and the TCP/IP Protocol Suite Outline: 1. Protocol Layers 2. OSI Model 3. TCP/IP Model 4. Addressing

Computer Networks (Introduction to TCP/IP Protocols)

MEBS Utilities services M.Sc.(Eng) in building services Faculty of Engineering University of Hong Kong

Computer Networks. More on Standards & Protocols Quality of Service. Week 10. College of Information Science and Engineering Ritsumeikan University

Hands-On TCP/IP Networking

CS3600 SYSTEMS AND NETWORKS

MODULE: NETWORKS MODULE CODE: CAN1102C. Duration: 2 Hours 15 Mins. Instructions to Candidates:

Data Communication & Computer Networks MCQ S

Chapter 2. Communicating Over The Network. CCNA1-1 Chapter 2

Fundamentals of Networking. OSI & TCP/IP Model. Kuldeep Sonar 1

Faculty of Science and IT Course title. Pre-requisite/corequisite

Additional Material. Suguru Yamaguchi Nara Institute of Science and Technology Department of Information Science Information Network I/No.

A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e. Chapter 8 Networking Essentials

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

Layered Architecture

TCP /IP Fundamentals Mr. Cantu

Imi :... Data:... Nazwisko:... Stron:...

Subnetting and addresses revisited

Frequency: it refers to the number of periods in 1 s. It is formally expressed in Hertz (Hz)

OSI and TCP/IP Models

Outline. Inter-Process Communication. IPC across machines: Problems. CSCI 4061 Introduction to Operating Systems

Lecture Outline. Lecture 2. OSI model and networking. The OSI model and networking. The OSI model and networking. The OSI model and networking

ROYAL INSTITUTE OF INFORMATION & MANAGEMENT

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

NT1210 Introduction to Networking. Unit 10

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Module 2 Overview of Computer Networks

Module 2 Overview of. Computer Networks

Business Data Communications and Networking

Introduction to Open System Interconnection Reference Model

Chapter 11: Wide-Area Networks and the Internet

Networking interview questions

Revision of Previous Lectures

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

INTRODUCTORY INFORMATION TECHNOLOGY COMMUNICATING OVER NETWORKS. Faramarz Hendessi

Assignment - 1 Chap. 1 Wired LAN s

Chapter 3 Protocols and the TCP/IP Suite

Solved MCQ of Computer networking. Set-1

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

1. IPv6 is the latest version of the TCP/IP protocol. What are some of the important IPv6 requirements?

infrared Disadvantage: 1. cannot use for long-range communication or outside a building due to sun s rays.

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

Computer Networking: A Top Down Approach Featuring the. Computer Networks with Internet Technology, William

DATA COMMUNICATION AND NETWORKS

CS164 Final Exam Winter 2013

Transcription:

Computer Communication & Networks / Data Communication & Computer Networks Week # 03 M.Nadeem Akhtar CS & IT Department The University of Lahore Email: nadeem.akhtar@cs.uol.edu.pk URL-https://sites.google.com/site/nadeemuolcsccn/home Powerpoint Templates 1

The OSI Reference Model (minus physical medium) The TCP/IP Protocol Suit Used in all WANs, the ARPANET, worldwide Internet Another: Cisco three layer model Layers model: A theoretical approach describing how data is going to be transmit over the network 2

3

APPLICATION LAYER IN THE OSI MODEL The application layer is responsible to allow access to network resources It provides platform to send and receive data over the network All applications and utilities communicating with the network fall in this layer Examples: Browsers, Email clients (outlook express, Opera mail), FTP clients (WinSCP, Filezila, The two application layers exchange messages between each other as though there were a bridge between the two layers. However, the communication is done through all the layers. 4

APPLICATION LAYER PROTOCOLS The Hypertext Transfer Protocol (HTTP): a vehicle for accessing the World Wide Web (WWW) The Simple Mail Transfer Protocol (SMTP): the main protocol used in electronic mail (e-mail) service The File Transfer Protocol (FTP): used for transferring files from one host to another SNMP (Simple Network Management Protocol) Used to control the connected networking devices at global and local levels 5

APPLICATION LAYER PROTOCOLS DNS (Domain Naming System) Used to translate the name with IP address and vice versa DHCP (Dynamic Host Configuration Protocol) Used to assign IP address and DNS information automatically to hosts Telnet used to connect remote devices 6

PRESENTATION LAYER IN THE OSI MODEL The presentation layer is concerned with syntax and semantics of information transmitted (how information is formatted); responsible for translation, compression, and encryption 7

SESSION LAYER IN THE OSI MODEL The session layer is responsible for dialog (connection) control: keeping track of whose turn it is to transmit; responsible for graceful close of sessions Synchronization: checkpointing long transmissions to allow them to pick up from where they left off in the event of a crash and subsequent recovery There may be many users communicating with a web server at a given time. Session layer keeps track of which user communicates on which path 8

TRANSPORT LAYER IN THE OSI MODEL The transport layer is responsible for the delivery of a message from one process to another; true end-toend layer What type of services to be provided to sessions layer and network users; message broadcast to multiple destinations; 9

Reliable process-to-process delivery of a message 10

NETWORK LAYER IN THE OSI MODEL The network layer is responsible for the delivery of individual packets from the source host to the destination host. It controls the operations of the subnet How packets are routed from source to destination; congestion control (too many packets at subnet at the same time can form bottlenecks); QoS issues(delay, transit time, jitter); how to allow heterogeneous networks to be interconnected (due to different addressing used in networks) 11

Source-to-destination delivery 12

DATA LINK LAYER IN THE OSI MODEL The data link layer is responsible for moving frames from one hop (node) to the next. Error control (masking the real errors from the network layer);how to keep a fast transmitter from drowning a slow receiver in data (flow control); how to control access to the shared channel (MAC) 13

Hop-to-hop delivery 14

PHYSICAL LAYER IN THE OSI MODEL The physical layer is responsible for movements of individual bits from one hop (node) to the next. Concerned with Physical characteristics of interfaces and medium; Representation of bits; data rate; physical topology 15

Summary of layers 16

TCP/IP PROTOCOL SUITE Transmission Control Protocol/Internet Protocol (TSP/IP) is a set of protocols organized in different layers used in the Internet today. It is Hierarchical protocol: made up of interactive modules (each module provides specific functionality) Hierarchical means that each upper level protocol is supported by the services provided by one or more lower level protocols. The layers in the TCP/IP protocol suite do not exactly match those in the OSI model. 17

TCP/IP PROTOCOL SUITE The original TCP/IP protocol suite was defined as having four layers: host-to-network, internet, transport, and application. However, when TCP/IP is compared to OSI, we can say that the TCP/IP protocol suite is made of five layers: physical, data link, network, transport, and application. 18

TCP/IP Layered Architecture Consider a small internet of three LANs (each with a link layer switch). Further, assume that links are connected by one router 19

TCP/IP Layered Architecture The two hosts are involved in all five layers Source host creates a message in the application layer and sends it down the layer for physical delivery to the destination host Destination host receives the communication at physical and then deliver to the application layer through other layers Router is involved three layers Involved in only one network layer; but involved in n (number of links) combinations of link and physical layers Each link may use its own data link and physical protocol Link layer switch is involved in only two layers It is involved only in one data-link and one physical layer 20

LAYERS IN THE TCP/IP Protocol Suit Logical connections make easier to think about the duty of each layer. The duty of the application, transport, and network layers is end-to-end (so domain is internet). However, the duty of the data-link and physical layers is hopto-hop, a hop being a host or router (domain is link). 21

LAYERS IN THE TCP/IP Protocol Suit Logical connections may be though of as data unit created at each layer, a hop being a host or router. In top three layers Data unit (packets) should not be changed by any router or link-layer switch. In the bottom two layers, the packet created by the host is changed only by the routers, not by the link-layer switches. 22

INTERFACE BETWEEN LAYERS The passing of the data and network information down through the layers of the sending device and back up through the layers of the receiving device is made possible by an interface between each pair of adjacent layers. Each interface defines the information and services a layer must provide for the layer above it. Well-defined interfaces and layer functions provide modularity to a network. 23

PHYSICAL LAYER IN THE TCP/IP responsible for carrying individual bits in a frame across the link. Transmission medium does not carry bits; it carries electrical or optical signals. So the bits received in a frame from the data-link layer are transformed and sent through the transmission media, but we can think that the logical unit between two physical layers in two devices is a bit. There are several protocols that transform a bit to a signal. 24

DATA-LINK LAYER IN THE TCP/IP (1) Several overlapping sets of links for datagram to travel from source to the destination. The routers are responsible for choosing the best links. When the next link to travel is determined by the router, the data-link layer takes datagram and moves across the link. The link can be a wired LAN with a link-layer switch, a wireless LAN, a wired WAN, or a wireless WAN. In each case, the data-link layer is responsible for moving the packet (frame) through the link. 25

DATA-LINK LAYER IN THE TCP/IP (2) The data-link layer takes a datagram and encapsulates it in a packet called a frame. Each link-layer protocol may provide a different service. Some link-layer protocols provide complete error detection and correction, some provide only error correction. 26

NETWORK LAYER IN THE TCP/IP (1) Responsible for creating a connection between the source and the destination. The communication at the network layer is host-to-host. Routers in the path are responsible for choosing the best route for each packet. So, network layer is responsible for host-to-host communication and routing the packet through possible routes. In the Internet, it includes the main protocol, Internet Protocol (IP), that defines the format of the packet, called a datagram at the network layer. the format and the structure of addresses used in this layer. 27

NETWORK LAYER IN THE TCP/IP (3) IP is also responsible for routing a packet from its source to its destination, achieved by each router forwarding the datagram to the next router in its path. It includes unicast and multicast routing protocols Routing is duty of IP (not of routing protocol) Routing protocol helps routers in routing process By creating forward tables for routers 28

TRANSPORT LAYER IN THE TCP/IP (1) The logical connection at the transport layer is also end-to-end. It encapsulates message from the application layer in a packet (called a segment or a user datagram) and sends it, through the logical connection, to the transport layer at the destination host. So transport layer is responsible for giving services to the application layer: to get a message from an application program running on the source host and deliver it to the corresponding application program on the destination host. There are more than one protocol in the transport layer, Thus, each application program can use the protocol that best matches its requirement. 29

TRANSPORT LAYER IN THE TCP/IP (2) Transmission Control Protocol (TCP), is a connection-oriented protocol that first establishes a logical connection between transport layers at two hosts before transferring data. Connection-oriented means a connection must be established between both ends of a transmission before either can transmit data. Provides flow control, error control, congestion control User Datagram Protocol (UDP), is a connectionless protocol that transmits user datagrams without first creating a logical connection. Connectionless means each user datagram is independent without being related to previous or next one Stream Control Transmission Protocol (SCTP) is designed to respond to new applications that are emerging in the multimedia. 30

Encapsulation and Decapsulation Encapsulation at the Source Host Decapsulation and Encapsulation at the router Decapsulation at the Destination Host Message -----segment/user datagram --- datagram --- frame 31

ADDRESSING Any communication that involves two parties needs two addresses: source address and destination address Four levels of addresses are used in an internet employing the TCP/IP protocols: physical, logical, port, and specific. No address required at physical layer as the unit of data exchange is a bit which definitely cannot have any address There is a relationship between the layer, the address used in that layer, and the packet name at that layer. 32

ADDRESSING There is a relationship between the layer, the address used in that layer, and the packet name at that layer. 33

SPECIFIC ADDRESSING Specific Address: Some applications have user-friendly addresses that are designed for that specific address. At the application layer, we normally use names (Specific address) to define the site that provides services, such as someorg.com, or the e-mail address, such as somebody@coldmail.com. These addresses, however, get changed to the corresponding port and logical addresses by the sending computer. 34

TRANSPORT LAYER ADDRESSING Transport layers addresses are called port numbers, and Port numbers are local addresses that distinguish between several programs running at the same time. Each application runs with a port no.(logically) on the computer. This port no. for application is decided by the Kernel of the OS. This port no. is called port address (address at transport layer). A port address is a 16-bit address represented by one single decimal number like 753 35

LOGICAL ADDRESSING At the network-layer, the addresses are global, with the whole Internet as the scope. A network-layer address uniquely defines the connection of a device to the Internet Logical addresses are necessary for universal communications that are independent of underlying physical networks Physical addresses are not adequate in an internetwork environment where different networks can have different address formats. 36

LOGICAL ADDRESSING A universal addressing system is needed in which each host can be identified uniquely, regardless of the underlying physical network. The logical addresses are designed for this purpose. A logical address in the Internet is currently a 32-bit address (IPv4) that can uniquely define a host connected to the Internet. 37

PHYSICAL ADDRESSING Physical Address (also known as the link address /MAC address) is the address of a node as defined by its LAN or WAN is included in the frame used by the data link layer is the lowest-level address The size and format of these addresses vary depending on the network. For example, Ethernet uses a 6-byte (48-bit) physical address that is imprinted on the network interface card (NIC) written as 12 hexadecimal digits; every byte (2 hexadecimal digits) is separated by a colon: 07:01:02:01:2C:4B 38

Example 1 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. 39

Multiplexing and Demultiplexing Multiplexing means that a protocol at a layer can encapsulate a packet from several next-higher layer protocols (one at a time); Demultiplexing means that a protocol can decapsulate and deliver a packet to several next-higher layer protocols 40