Networks and Protocols CE00997-3 Week 1b. OSI 7 layer model Vs TCP/IP.

Slides:



Advertisements
Similar presentations
Introduction to TCP/IP
Advertisements

Cisco 2 - Routers Perrine. J Page 14/30/2015 Chapter 10 TCP/IP Protocol Suite The function of the TCP/IP protocol stack is to transfer information from.
CCNA – Network Fundamentals
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
1-1 Introduction to Computer Networks and Data Communications.
Lesson 7 – THE BUSINESS OF NETWORKING. TCP/IP and UDP Other Internet protocols Important Internet protocols OVERVIEW.
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
TCP/IP TCP/IP Basics Alvin Kwan. TCP/IP What is TCP/IP?  It is a protocol suite governing how data can be communicated in a network environment, both.
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Lecturer: Tamanna Haque Nipa
1 TCP/IP architecture A set of protocols allowing communication across diverse networks Out of ARPANET Emphasize on robustness regarding to failure Emphasize.
1 Protocol Interaction (ISO’s Open Systems Interconnection (OSI model)) the 7 layers.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Process-to-Process Delivery:
Workshop 1: Introduction to TCP/IP
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
Chapter 9.
Chapter 2 Network Models
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Copyright 2003 CCNA 1 Chapter 9 TCP/IP Transport and Application Layers By Your Name.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Examining TCP/IP.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary
© McLean HIGHER COMPUTER NETWORKING Lesson 1 – Protocols and OSI What is a network protocol Description of the OSI model.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Component 9 – Networking and Health Information Exchange Unit 1-1 ISO Open Systems Interconnection (OSI) This material was developed by Duke University,
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 OSI Transport Layer Network Fundamentals – Chapter 4.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
OV Copyright © 2011 Element K Content LLC. All rights reserved. Networking Models  The OSI Model  The TCP/IP Model.
Networks and Protocols CE Week 3b. Peer to Peer, Client Server.
The Transport Layer application transport network data link physical application transport network data link physical application transport network data.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
1 TCP/IP, Addressing and Services S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Networks and Protocols CE Week 3a. DHCP, ARP, DNS, TCP/UDP.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
William Stallings Data and Computer Communications
Cisco Networking Academy S2 C9 TCP/IP. ensure communication across any set of interconnected networks Stack components such as protocols to support file.
1 Chapter Overview Network Communications The OSI Reference Model.
1 Chapter Overview Network Communications The OSI Reference Model.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
1 Bus topology network. 2 Data is sent to all computers, but only the destination computer accepts 02608c
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Protocol Suits and Layering Models OSI Model Dr. Abraham UTPA.
Transmission Control Protocol (TCP) Internet Protocol (IP)
Enterprise Network Systems TCP Mark Clements. 3 March 2008ENS 2 Last Week – Client/ Server Cost effective way of providing more computing power High specs.
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
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.
What the OSI Protocol Layers Do
Networking for Home and Small Businesses – Chapter 6
Networking for Home and Small Businesses – Chapter 6
Process-to-Process Delivery:
TCP/IP Protocol Suite: Review
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Network Architecture Models
Networking for Home and Small Businesses – Chapter 6
OSI Reference Model Unit II
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Presentation transcript:

Networks and Protocols CE Week 1b

OSI 7 layer model Vs TCP/IP

Introduction – Data and Signals

Analog versus Digital Analog - continuous waveform Examples: (naturally occurring) music and voice

Analog versus Digital Harder to separate noise from an analog signal than from a digital signal

Analog versus Digital Digital - discrete or non-continuous waveform Examples : computer 1s and 0s

Analog versus Digital Despite noise in this digital signal You can still discern a high voltage from a low voltage

Analog versus Digital If there is too much noise You cannot discern a high voltage from a low voltage

OSI Vs TCP/IP Application Internet Transport Network Access Protocols Networks TCP/IP model Application Presentation Session Network Transport Data Link Physical Application Layers Data Flow Layers OSI 7 layer model

ISO basic model AP Application-oriented functions Network-dependant functions AP Real systems environment OSI environment Network Environment Data Network Computer AComputer B

ISO 7 layer model AP Real systems environment OSI environment Network Environment Data Network Application Presentation Session Network Link Physical Transport AP App. (7) Pres. (6) Sess. (5) Net. (3) Link. (2) Phys. (3) Trans. (4) Comp A Comp B

Application Physical Network Data link Session Presentation Transport APDU TPDU SPDU Packet Bit Frame PPDU Host B Name of Unit Exchanged Application Physical Network Data link Session Presentation Transport Host A Layer Interface Application protocol Presentation protocol Session protocol Transport protocol Communication subnet boundary Internal subnet protocol Network Data link Physical Router Network layer host-router protocol Data link layer host-router protocol Physical layer host-router protocol

Encapsulation

Protocol layer overview Transfer syntax negotiation, data representation transformations Presentation (6) Data Communication Network End user application process Distributed information services File transfer, access & management, Document & message interchange,job transfer & manipulation Syntax-independent message interchange service Application (7) Physical connection to network termination equipment Mech. & elec. Network interface definitions Physical (1) End-to-end message transfer (connection management, error control, fragmentation, flow control) Transport (4) Data link control (framing, data transparency, error control) Link (2) Dialog & synchronisation control for application entities Network-independent message interchange service Session (5) Network routing, addressing, call set-up and clearing Network (3)

7 Layer model summary Application Presentation Session Network Transport Data Link Physical FTP, TFTP, HTTP, SMTP, DNS, TELNET, SNMP TCP (the internet) IP (the internet) Ethernet (common LAN technology)

The Open Systems Interconnection (OSI) model Application layer - where the application using the network resides Common network applications include remote login, file transfer, , and web page browsing Presentation layer - performs series of miscellaneous functions necessary for presenting the data package properly to the sender or receiver

The Open Systems Interconnection (OSI) model Session layer - responsible for establishing sessions between users Transport layer - provides end-to-end error-free network connection Makes sure data arrives at destination exactly as it left the source Network layer - responsible for creating, maintaining and ending network connections Transfers a data packet from node to node within the network

The Open Systems Interconnection (OSI) model Data link layer - responsible for taking data and transforming it into a frame with header, control and address information, as well as error detection code Physical layer - handles the transmission of bits over a communications channel Includes voltage levels, connectors, media choice, modulation techniques

The Open Systems Interconnection (OSI) model

7 Layer protocol

7 layer operation

What is TCP/IP? Industry standard suite of Protocols Routable enterprise networking protocol Technology for connecting dissimilar systems Robust, scaleable, cross-platform client/server framework Method for gaining access to the internet

TCP Transmission Control Protocol Service – Guarantees end to end delivery of packets, re-sends anything not received – Controls the flow of data from host to host and host into the network – Multiplexing, the TCP header has a port number which is used to determine which application should receive the packet – Connection-orientated, reliable – Divides outgoing messages into segments, reassembles at destination

IP network The IP protocol is not dependent on any particular hardware and is ideally suited to integrate LANs and WANs into 1 network

IP (Internet Protocol) Service – responsible for moving packets from source to destination across the network – fragmentation and re-assembly of packets across small packet sub-nets IP is a Datagram protocol, it does not – guarantee delivery – guarantee sequence of delivery – control flow of packets into network

MAC Addressing Without a name computers cannot be accessed At the data link layer, a header, and possibly a trailer, is added to upper layer data. Header and trailer contain control information intended for the data link layer entity in the destination system. Data from upper layer entities is encapsulated in the data link layer header and trailer.

MAC Address Organisational Unique Identifier OUI Vendor assigned (NIC Cards, Interfaces) 24 bits 6 hex digits F Cisco 24 bits 6 hex digits 3A 07 BC Particular device

Flat structure MAC addresses provide a way for computers to identify themselves. They give hosts a permanent, unique name. The number of possible addresses is extremely large (over 2 trillion!) possible MAC addresses. One major disadvantage, they have no structure, and are considered flat address spaces. Different vendors have different OUIs, but they're like personal identification numbers. As your network grows to more than a few computers, this disadvantage becomes a real problem.

Deterministic MAC

Non-Deterministic MAC

TCP/IP development APANET commissioned by DOD Telnet 1972 FTP 1973 TCP 1974 IP 1981 TCP/IP Protocol Suite 1982 DNS 1984

TCP/IP Utilities LPQ FTP TFTP RCP Telnet RSH REXEC LPR NBTSTAT ROUTE TRACERT ARP Finger PING IPCONFIG NSLOOKUP HOSTNAME NETSTAT LPD

Protocol Graph TCPUDP IP HTTPFTPSMTPDNS TFTP InternetYour LAN Many LANs and WANs

TCP/IP protocol suite Transport TCP UDP LAN Technologies: Ethernet, Token Ring, FDDI LAN Technologies: Ethernet, Token Ring, FDDI WAN Technologies: Serial Lines, Frame Relay, ATM WAN Technologies: Serial Lines, Frame Relay, ATM Network Application Windows ® Sockets Applications Windows ® Sockets Applications NetBIOS Applications NetBIOS Applications NetBIOS NetBIOS over TCP/IP Sockets TDI IP ICMP ARP Internet IGMP

TCP Segment Format

Protocols & port numbers Port numbers T E L N E T 23 F T P 21 S M T P 25 D N S 53 T F T P 69 S N M P 161 TCPUDP Transport layer Application layer

TCP client ports Q. If you have a computer running an e- mail package, 2 web browsers (Netscape and IE) how does the computer know, when a TCP/IP packet arrives which application should receive the packet ? A. Each application sets up its connection using a different port number, when the replies come back from the server the port number is used to send the packet to the correct connection.

TCP ports (cont.) Note : Each application is allocated a different port number by the TCP software

TCP server ports The server must respond to client requests Q. How does the client know which port to send its request to ? A. “Well known port numbers” are assigned to particular services.

TCP Error control – The acknowledgment and sequence number fields are used to guarantee delivery of packets to the destination. – For each packet sent out an acknowledgment must be sent back. – If no acknowledgment is sent back within a certain time the packet is sent again. – Each new packet to be transmitted is allocated a new sequence no., the returning acknowledgment no. informs the sender of the next expected sequence no. – The sequence no. is used to keep the packets in order.

TCP flow control The window size field is used by the receiver to control the flow of packets from the sender. If the receiver sets the window size to 400 the sender is only allowed to send 400 bytes before stopping. The receiver can stop the sender by setting the window size to 0.

UDP (User Datagram Protocol) Service – connectionless – provides port allocations the same as TCP – Unreliable, does NOT guarantee delivery – does not guarantee sequencing – useful when speed is more important than reliability e.g. Internet telephony – Transmits messages called datagrams – Does not reassemble incoming messages – No flow control – uses not acknowledments

UDP segment format Destination Port LengthCheck Sum Data…Source Port n16 # of bits

IP network and host id. An example with Class A addressing First digit is network id, last 3 digits host id Note the routers use the network id to route the packets across the internet