1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 OSI Transport Layer Network Fundamentals – Chapter 4.
Advertisements

(4.4) Internet Protocols Layered approach to Internet Software 1.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Chapter Extension 7 How the Internet Works © 2008 Prentice Hall, Experiencing MIS, David Kroenke.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
OSI Model.
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Introduction To Networking
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
COMPUTER NETWORKS.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Understanding Networks Charles Zangla. Network Models Before I can explain how connections are made from across the country, I would like to provide you.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
CS 356 Systems Security Spring Dr. Indrajit Ray
1 TCP/IP architecture A set of protocols allowing communication across diverse networks Out of ARPANET Emphasize on robustness regarding to failure Emphasize.
Lecture 8 Modeling & Simulation of Communication Networks.
1 Protocol Interaction (ISO’s Open Systems Interconnection (OSI model)) the 7 layers.
1.  A protocol is a set of rules that governs the communications between computers on a network.  Functions of protocols:  Addressing  Data Packet.
Process-to-Process Delivery:
Module 10. Internet Protocol (IP) is the routed protocol of the Internet. IP addressing enables packets to be routed from source to destination using.
TCP/IP Protocol Suite - examples
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 3: TCP/IP Architecture.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
1 ELEN602 Lecture 2 Review of Last Lecture Layering.
Computer Networks (CS 132/EECS148) General Networking Example Karim El Defrawy Donald Bren School of Information and Computer Science University of California.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
© McLean HIGHER COMPUTER NETWORKING Lesson 1 – Protocols and OSI What is a network protocol Description of the OSI model.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
CS1Q Computer Systems Lecture 17 Simon Gay. Lecture 17CS1Q Computer Systems - Simon Gay2 The Layered Model of Networks It is useful to think of networks.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Network Protocols n ISO OSI 7-layer model n TCP/IP suite l TCP/UDP l IP l Ethernet/Token Ring l ICMP.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
TCP/IP Protocol Architecture CSE 3213 – Fall
1 Introduction to TCP/IP. 2 OSI and Protocol Stack OSI: Open Systems Interconnect OSI ModelTCP/IP HierarchyProtocols 7 th Application Layer 6 th Presentation.
Institute of Technology Sligo - Dept of Computing Chapter 12 The Transport Layer.
Network Protocols and Standards (Part 2). The OSI Model In 1984, the International Organization for Standardization (ISO) defined a standard, or set of.
Individual Project 1 Sarah Pritchard. Fran, a customer of your company, would like to visit your company’s website from her home computer… How does your.
1 Bus topology network. 2 Data is sent to all computers, but only the destination computer accepts 02608c
1. Layered Architecture of Communication Networks: TCP/IP Model
Slide #1 CIT 380: Securing Computer Systems TCP/IP.
Net 221D:Computer Networks Fundamentals
ISDS 4120 Project 1 DWAYNE CARRAL JR 3/27/15. There are seven layers which make up the OSI (Open Systems Interconnection Model) which is the model for.
Transmission Control Protocol (TCP) Internet Protocol (IP)
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
Data Communication Network Models
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
- 1 - DPNM Review of Important Networking Concepts J. Won-Ki Hong Dept. of Computer Science and Engineering POSTECH Tel:
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
COMPUTER NETWORKS Hwajung Lee. Image Source:
Communication Networks NETW 501 Tutorial 2
Process-to-Process Delivery:
Introduction to TCP/IP networking
Introduction to TCP/IP
Distributed Systems.
The OSI Model and the TCP/IP Protocol Suite
Layered Architectures
Network Architecture Introductory material
The OSI Model and the TCP/IP Protocol Suite
Review of Important Networking Concepts
TCP/IP Protocol Suite: Review
TCP/IP Protocol Suite: Review
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
The OSI Model and the TCP/IP Protocol Suite
Review of Important Networking Concepts
Presentation transcript:

1 OSI and TCP/IP Models

2 TCP/IP Encapsulation (Packet) (Frame)

3 TCP/IP Model and Example Protocols A list of protocols used in TCP/IP: DNSFTPSMTPHTTP TCPUDP IP Application Transport Internet Network Access ARPANETSATNET Packet Radio LAN Physical

4 TCP/IP Protocols

5 TCP/IP Addressing Port (or SAP) numbers of processes at source and destination IP addresses of source and destination Network interface card (NIC) addresses defined by the NIC Port number IP address NIC address

6 IP Addresses Each host in the Internet is identified by a globally unique IP address The IP address identifies the host’s network interface rather than the host itself (usually the host is identified by its physical address within a network). An IP address consists of two parts: network ID and host ID (more on formats of IP addresses later). IP addresses on the Internet are distributed in a hierarchical way. At the top of the hierarchy is ICANN (Internet Corporation for Assigned Names and Numbers). ICANN allocates blocks of IP addresses to regional Internet registries. There are currently three regional Internet registries that cover the Americas, Europe, and Asia. The regional registries then further allocate blocks of IP addresses to local Internet registries within their geographic region. Finally, the local Internet registries assign addresses to end users. Router: a node that is attached to two or more physical networks. Each network interface has its own IP address.

7 Physical Addresses On a physical network, the attachment of a device to the network is often identified by a physical address. The format of the physical address depends on the particular type of network. Example: Ethernet LANs use 48-bit addresses. –Ethernet: protocol for bus LANs, originally designed by Xerox, later developed into IEEE standard. –Every machine in a LAN comes with a NIC that is assigned a physical address.

8 Network Interface Cards (NICs) NICs are adapters installed in a computer that provide the connection point to a network. Each NIC is designed for a specific type of LAN, such as Ethernet, token ring, FDDI. A NIC provides an attachment point for a specific type of cable, such as coaxial cable, twisted-pair cable, or fiber-optic cable. Every NIC has a globally unique identifying node address (globally unique physical address). Token ring and Ethernet card addresses are hardwired on the card. The IEEE (Institute of Electrical and Electronic Engineers) is in charge of assigning addresses to token ring and Ethernet cards. Each manufacturer is given a unique code and a block of addresses.

Example: HTTP and Web Browsing Router LAN PPP (1,1), sServer (1,2), wWorkstation (2,2)PC (1,3), r (2,1) Infrastructure: 1.A LAN comprising of a server and a workstation is connected via a router to a PC. The connection between the router and PC is a point-to-point (PPP) connection. 2.Each machine on the LAN typically have two addresses:  An IP address known globally  An Ethernet address determined by its network interface card (NIC) 3.The router has as many IP addresses as the number of networks connected to it. Server Work station RouterPCRouter IP(1,1)(1,2)(1,3)(2,2)(2,1) Ethernetswrr

Example: HTTP and Web Browsing (2) Router LAN PPP (1,1), sServer (1,2), wWorkstation (2,2)PC (1,3), r (2,1) Protocols: used for an HTTP request made by PC to server HTTP TCP IP Interface IP Interface HTTP TCP IP Interface EthernetPPP Server / workstation PC Router

Example: HTTP and Web Browsing (3) Instruction: Hypertext transfer protocol: Specifies rules by which client / server interact. Uniform Resource locator (URL) of the server: 1st part typically translated to an address by Domain Name Server (DNS), 2 nd part specifies document  HTTP is only concerned with the interaction of the client with the server, not with the actual setting up of connection.  A connection is first set up between the client and the server. For connection-oriented services, this implies setting up of a physical connection.  HTTP requires the service of TCP to provide a reliable service between the two machines. TCP itself requires the service of IP and so on. This leads to a layered approach. HTTP (application) TCP (Transport) IP (Internet)

Example: HTTP and Web Browsing (4) Router LAN PPP (1,1), sServer (1,2), wWorkstation (2,2)PC (1,3), r (2,1) Task: Transfer of an HTML request from PC to Server 1.For simplicity, assume a TCP connection is established between the server and PC (more on connections later). 2.HTTP request is passed on to the TCP layer of PC that creates a TCP segment containing server port number (SP#) and client port number (CP#) 3.TCP segment is passed to IP layer that creates an IP datagram where protocol field (PF) shows that upper layer has asked for the information. IP datagram is passed on to interface layer. CP#HTTP requestSP#…. Header TCP segment(2,2)(1,1)….PF Header

Example: HTTP and Web Browsing (5) Router LAN PPP (1,1), sServer (1,2), wWorkstation (2,2)PC (1,3), r (2,1) 4.Interface layer encapsulates the IP datagram into a PPP frame, and sends the PPP frame to the router. 5.The IP datagram is extracted by the interface layer of the router and passed on to the Internet layer. The Internet layer extracts the destination address (1,1) and checks the routing table for a match. 6.Since a match exists, the Interface layer prepares an Ethernet frame encapsulating the IP datagram plus the Ethernet addresses in the header, and broadcasts the Ethernet frame on the LAN. IP datagram PPP header C Checksum r s…. Header IP datagramC Checksum

Example: HTTP and Web Browsing (6) Router LAN PPP (1,1), sServer (1,2), wWorkstation (2,2)PC (1,3), r (2,1) 4.Interface layer of the Server compares the Ethernet address with the address on its network interface card (NIC). The address matches so the Ethernet frame is accepted. 5.A Checksum is performed to check for errors. In case of no errors, the IP datagram is extracted and passed on to the Internet layer. 6.The Internet layer maps the IP address and sees that the IP datagram is meant for it. It extracts the TCP segment and passes it on to the TCP layer TCP segment(2,2)(1,1)….PF Header CP#HTTP requestSP#…. Header

Example: HTTP and Web Browsing (7) Router LAN PPP (1,1), sServer (1,2), wWorkstation (2,2)PC (1,3), r (2,1) 7. HTTP request is extracted by TCP layer and passed on to specified port number. 8.Recall that the protocol used by the Transport layer is TCP, which is a reliable connection-oriented protocol. An acknowledgment is therefore sent to the PC in exactly the same manner as the request was received.  The Application layer retrieves the HTML document and transmits it to the PC following steps (1-8) in reverse order.

16 Summary of TCP/IP Model

17 TCP Window Management Slow start –awnd = MIN[credit, cwnd] –Start connection with cwnd=1 –Increment cwnd at each ACK, to some max Dynamic windows sizing on congestion –When a timeout occurs –Set slow start threshold to half current congestion window ssthresh=cwnd/2 –Set cwnd = 1 and slow start until cwnd=ssthresh Increasing cwnd by 1 for every ACK –For cwnd >=ssthresh, increase cwnd by 1 for each RTT

18 TCP Slow Start & Congestion Avoidance

19 Connection-oriented versus Connectionless Communications Connectionless: Does not requires a session connection be established before sending data Sender simply starts sending packets (datagrams) to the receiver Different packets may take different routes Data packets may arrive out-of-order. Less reliable than connection-oriented services, but more efficient for data communications

20 Examples of Connection-oriented Connectionless Communications Internet: –One big connectionless packet switching network in which all packet deliveries are handled by IP (unreliable) –TCP adds connection-oriented services on top of IP (for reliable delivery) –UDP provides connectionless services on top of IP ATM: connection-oriented packet switching networks LANs: –Connectionless systems –TCP can be used to provide connection-oriented (reliable) services Reference: