Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Size: px
Start display at page:

Download "Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology"

Transcription

1 Indian Institute of Technology Kharagpur TCP/IP Part I Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology Kharagpur Lecture 3: TCP/IP Part I On completion, the student will be able to: 1. Explain how the TCP/IP protocol stack functions. 2. Define the basic functionalities of the transport layer protocols TCP and UDP. 3. Define the basic functionalities of the network layer protocol IP. 4. Explain the various header fields in IP packets, and their functions. 1

2 Introduction TCP/IP is the first set of protocols used in Internet. Allows computers to communicate / share resources across a network. Work on TCP/IP started in the 1970s. Funded by US Military. Advanced Research Project Agency (ARPA). Network protocols of ARPANET were upgraded. TCP/IP and the Internet The modern Internet sits on top of the TCP/IP technology. Used as a standard. To bridge the gap between noncompatible platforms. All computers connected to the Internet understands TCP/IP. 2

3 Network Layering in TCP/IP In 1978, International Standards Organization (ISO) proposed a 7- layer reference model for network services and protocols. Known as the OSI model. TCP/IP does not strictly follow this 7- layer model. TCP/IP follows a simplified 4-layer model. Why Layering? To provide well-defined interfaces between adjacent layers. A change in one layer does not affect the other layers. Interface must remain the same. Allows a structured development of network software. 3

4 The 7-layer OSI Model Application Presentation Session Host-to-host Transport Network Datalink Point-to-point Physical The Simplified 4-layer Model Application Transport Runs on top of layers 1,2 and 3 End-to-end message transfer Network Packet delivery across Internet Datalink Frame transmission over link 4

5 Data Flow in 4-layer Model Application Application Transport Transport Network Network Network Datalink Datalink Datalink A B C TCP/IP Protocol Suite Refers to a family of protocols. The protocols are built on top of connectionless technology. Data sent from one node to another as a sequence of datagrams. Each datagram sent independently. The datagrams corresponding to the same message may follow different routes. Variable delay, arrival order at destination. 5

6 TCP/IP Family Members FTP TFTP SMTP SNMP DNS User Process Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Internet Protocol (IP) ICMP IGMP ARP RARP Datalink and Hardware Layer (e.g., Ethernet) Typical Scenario User Process User Process TCP UDP IP Datalink and Hardware Layer (e.g., Ethernet) 6

7 What does IP do? IP transports datagrams (packets) from the source node to the destination node. Responsible for routing the packets. Breaks a packet into smaller packets, if required. Unreliable service. A packet may be lost in transit. Packets may arrive out of order. Duplicate packets may be generated. What does TCP do? TCP provides a connection-oriented, reliable service for sending messages. Split a message into packets. Reassemble packets at destination. Resend packets that were lost in transit. Interface with IP: Each packet forwarded to IP for delivery. Error control is done by TCP. 7

8 What does UDP do? UDP provides a connectionless, unreliable service for sending datagrams (packets). Messages small enough to fit in a packet (e.g., DNS query). Simpler (and faster) than TCP. Never split data into multiple packets. Does not care about error control. Interface with IP: Each UDP packet sent to IP for delivery. Addresses in TCP/IP User Process User Process TCP UDP Port Address (16 bits) IP Ethernet Layer Internet Address (32 bits) Physical Address (48 bits) 8

9 Encapsulation Basic concept: As data flows down the protocol hierarchy, headers (and trailers) get appended to it. As data moves up the hierarchy, headers (and trailers) get stripped off. An example to illustrate: Trivial file transfer protocol (TFTP). TFTP client transfers 200 bytes of data. 4 bytes of TFTP header gets added. TFTP over Ethernet TFTP client TFTP server UDP UDP IP IP Ethernet Ethernet 9

10 Encapsulation in TFTP Data H-TFTP Data TFTP message H-UDP H-TFTP Data UDP packet H-IP H-UDP H-TFTP Data IP packet H-Eth H-IP H-UDP H-TFTP Data T-Eth Ethernet frame IP Datagrams 10

11 The IP Layer IP layer provides a connectionless, unreliable delivery system for packets. Mentioned before. Each packet is independent of one another. IP layer need not maintain any history. Each IP packet must contain the source and destination addresses. The IP Layer (contd.) IP layer does not guarantee delivery of packets. IP layer encapsulation Receives a data chunk from the higher layer (TCP or UDP). Prepends a header of minimum 20 bytes. Containing relevant information for handling routing and flow control. 11

12 Illustration Data 20 bytes IP header Data Format of IP Datagram VER HLEN Service type Total Length Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source IP Address Destination IP Address Options HEADER DATA 12

13 VER (4 bits) IP Header Fields Version of the IP protocol in use (typically 4). HLEN (4 bits) Length of the header, expressed as the number of 32-bit words. Minimum size is 5, and maximum 15. Total Length (16 bits) Length in bytes of the datagram, including headers. Maximum datagram size :: 2 16 = bytes. IP Header Fields (contd.) Service Type (8 bits) Allows packet to be assigned a priority. Router can use this field to route packets. Not universally used. Time to Live (8 bits) Prevents a packet from traveling in a loop. Senders sets a value, that is decremented at each hop. If it reaches zero, packet is discarded. Protocol (8 bits) Identifies the higher layer protocol being used. 13

14 IP Header Fields (contd.) Source IP address (32 bits) Internet address of the sender. Destination IP address (32 bits) Internet address of the destination. Identification, Flags, Fragment Offset Used for handling fragmentation. To be discussed later. Options (variable width) Can be given provided router supports. Source routing, for example. IP Header Fields (contd.) Header Checksum (16 bits) Covers only the IP header. How computed? Header treated as a sequence of 16-bit integers. The integers are all added using ones complement arithmetic. Ones complement of the final sum is taken as the checksum. A mismatch in checksum causes the datagram to be discarded. 14

15 SOLUTIONS TO QUIZ QUESTIONS ON LECTURE 2 15

16 Quiz Solutions on Lecture 2 1. With respect to speed of data transfer, which of LAN or WAN is faster? LAN 2. What is the typical speed of a modern Ethernet backbone LAN? 1 to 10 Gbps Quiz Solutions on Lecture 2 3. Why is circuit switching not suitable for computer-to-computer traffic? Because computer traffic is bursty in nature. Link utilization is poor. 4. What are the three steps that are required for data communication using circuit switching? Connection establishment, data transfer, and connection termination. 16

17 Quiz Solutions on Lecture 2 5. With respect to sharing of links, which of circuit switching or packet switching is more suitable? Packet switching. 6. Among virtual circuit and datagram, which approach requires less information in the packet header? Virtual circuit. Quiz Solutions on Lecture 2 7. Which of virtual circuit and datagram makes better utilization of the links? Datagram. 8. Which of virtual circuit and datagram will guarantee ordered delivery of packets in the absence of any errors? Virtual circuit. 17

18 Quiz Solutions on Lecture 2 9. Under what circumstances will the datagram method of packet delivery prove useful? Small messages, reliable network. 10. Five packets need to be sent from a host A to another host B. Which of virtual circuit or datagram would be faster? Datagram. Quiz Solutions on Lecture For a 5 Kbytes packets sent over a 10 Mbps transmission link, what is the transmission time of the packet? (5K x 8) / 10M = 4 msec 12. A 600-byte packet is sent over a 20 Kbps point-to-point link whose propagation delay is 10 msec. After how much delay will the packet reach the destination? 10 msec + (600 x 8) / 20K = 250 msec 18

19 Quiz Solutions on Lecture Which layers in the OSI model are hostto-host layers? Transport, Session, Presentation, Application 14. What is the responsibility of the network layer in the OSI model? To route packets from one node to another on its way to the final destination. Quiz Solutions on Lecture What is the responsibility of the data link layer in the OSI model? To ensure reliable data transmission over point-to-point links in units of frames. 16. What is the basic difference between a bridge and a router? Bridge connects LANs, while router connects WANs (with LANs or WANs). Bridge works at datalink layer level, while router works at network layer level. 19

20 Quiz Questions on Lecture 3 1. How many bits are there in the IP address? 2. How many bits are there in the Ethernet address? 3. What does the Ethernet address signify? 4. What does the IP address signify? 5. What does the port number signify? 6. What does the various layers in the simplified TCP/IP protocol stack correspond to with respect to the OSI seven-layer model? Quiz Questions on Lecture 3 7. Why is the transport layer called end-toend or host-to-host layer? 8. IP is unreliable, and TCP uses IP. How does TCP provide reliable service to the application layer? 9. List two common applications that use UDP. 10. Why is the IP protocol considered unreliable? 11. What does TCP do if the message to be sent is larger that what a single datagram can handle? 20

21 Quiz Questions on Lecture If a 1000 byte data message is sent using TFTP, what will be the size in bytes of the corresponding Ethernet packet? 13. What are the minimum and maximum header sizes of an IP packet? 14. What is the purpose of the Time to live field in the IP header? 15. If the IP header is 192 bytes long, what will be the value of the HLEN field? 16. What is the maximum size of data that can be accommodated in an IP datagram? Indian Institute of Technology Kharagpur 21

(Refer Slide Time: 01:33)

(Refer Slide Time: 01:33) Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No # 03 TCP/IP- Part-I And this lecture is entitled TCP IP part

More information

Indian Institute of Technology Kharagpur. TCP/IP Part II

Indian Institute of Technology Kharagpur. TCP/IP Part II Indian Institute of Technology Kharagpur TCP/IP Part II Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology Kharagpur Lecture 4: TCP/IP Part II On completion, the student

More information

Indian Institute of Technology Kharagpur. TCP/IP Part III

Indian Institute of Technology Kharagpur. TCP/IP Part III Indian Institute of Technology Kharagpur TCP/IP Part III Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology Kharagpur Lecture 5: TCP/IP Part III On completion, the student

More information

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9. Lecture 17 Overview Last Lecture Wide Area Networking (2) This Lecture Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.2 Next Lecture Internet Protocol (2) Source: chapters 19.1, 19.2, 22,1

More information

Transmission Control Protocol (TCP) / Internet Protocol (IP)

Transmission Control Protocol (TCP) / Internet Protocol (IP) Transmission Control Protocol (TCP) / Internet Protocol (IP) Overview of TCP/IP Oldest networking standard developed for US department s ARPANET Most popular network protocol Allows reasonably efficient

More information

Internet Protocol (IP)

Internet Protocol (IP) Chapter 8 CSC465 Computer Networks Spring 2004 Dr. J. Harrison These slides were produced almost entirely from material by Behrouz Forouzan for the text TCP/IP Protocol Suite (2 nd Edition), McGraw Hill

More information

Chapter 8. Internet Protocol (IP)

Chapter 8. Internet Protocol (IP) Chapter 8 Internet Protocol (IP) The McGraw-Hill Companies, Inc., 2000 1 CONTENTS DATAGRAM FRAGMENTATION OPTIONS CHECKSUM IP PACKAGE The McGraw-Hill Companies, Inc., 2000 2 Introduction to IP Connectionless

More information

Chapter 7 Internet Protocol

Chapter 7 Internet Protocol Chapter 7 Internet Protocol Datagram Fragmentation Options Checksum IP Design 7-1 Figure 7-1 IP datagram 20-65536 bytes 20-60 bytes Header Data VER 4 bits HLEN 4 bits Time to live 8 bits Identification

More information

Module 6. Internetworking. Version 2 CSE IIT, Kharagpur

Module 6. Internetworking. Version 2 CSE IIT, Kharagpur Module 6 Internetworking Lesson 2 Internet Protocol (IP) Specific Instructional Objectives At the end of this lesson, the students will be able to: Explain the relationship between TCP/IP and OSI model

More information

Chapter 7. Internet Protocol Version4 (IPv4)

Chapter 7. Internet Protocol Version4 (IPv4) Chapter 7 Internet Protocol Version4 (IPv4) TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter Outline TCP/IP Protocol Suite 2 7-1

More information

TCP/IP and OSI Model. Lecture 9 IP. TCP/IP and OSI Model (Continued) The Internet. IP Addressing

TCP/IP and OSI Model. Lecture 9 IP. TCP/IP and OSI Model (Continued) The Internet. IP Addressing TCP/IP and OSI Model Lecture 9 IP Kuang-hua Chen Department of Library and Information Science National Taiwan University Network Access layer This layer corresponds to the Physical and Data Link layers

More information

Network Layer (1): Network Layer and IPv4 Protocol

Network Layer (1): Network Layer and IPv4 Protocol 1 Network Layer (1): Network Layer and IPv4 Protocol Required reading: Kurose 4.1, 4.2, 4.3, 4.4.1 CSE 3214, Winter 2011 Instructor: N. Vlajic 1. Introduction 2. Network Layer Protocols in the Internet

More information

Chapter 20. IP and Address Mapping

Chapter 20. IP and Address Mapping Chapter 20 Network klayer IP and Address Mapping Network layer in an internetwork 20.2 1 Taxonomy of switched networks Connectionless Connection-oriented A datagram network with four switches (routers)

More information

Lecture Computer Networks

Lecture Computer Networks Prof. Dr. Hans Peter Großmann mit M. Rabel sowie H. Hutschenreiter und T. Nau Sommersemester 2012 Institut für Organisation und Management von Informationssystemen Lecture Computer Networks TCP and UDP

More information

OSI Network Layer. Network Fundamentals Chapter 5. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved.

OSI Network Layer. Network Fundamentals Chapter 5. ITE PC v4.0 Chapter Cisco Systems, Inc. All rights reserved. OSI Network Layer Network Fundamentals Chapter 5 1 Objectives Identify the role of the Network Layer, as it describes communication from one end device to another end device Examine the most common Network

More information

The OSI Model and the TCP/IP Protocol Suite. Pritee Parwekar ANITS 1

The OSI Model and the TCP/IP Protocol Suite. Pritee Parwekar ANITS 1 The OSI Model and the TCP/IP Protocol Suite Pritee Parwekar ANITS 1 To study To discuss the idea of multiple layering in data communication and networking and the interrelationship between layers. To discuss

More information

(Refer Slide Time: 01:26)

(Refer Slide Time: 01:26) Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No. # 05 TCP/IP Part-III In our last lecture if you recall within

More information

Chapter 2 OSI Model and TCP/IP

Chapter 2 OSI Model and TCP/IP Chapter OSI Model and TCP/IP The OSI Model Layers in the OSI Model TCP/IP Protocol Suite Addressing TCP/IP Versions - Figure - The OSI model - Figure - OSI s Device A Intermediate node Intermediate node

More information

Internet Protocol Suite. Srinidhi Varadarajan

Internet Protocol Suite. Srinidhi Varadarajan Internet Protocol Suite Srinidhi Varadarajan Internet Protocol Suite: Transport TCP: Transmission Control Protocol Byte stream transfer Reliable, connection-oriented service Point-to-point (one-to-one)

More information

Understand the OSI Model

Understand the OSI Model Understand the OSI Model Part 2 Lesson Overview In this lesson, you will learn information about: Frames Packets Segments TCP TCP/IP Model Well-known ports for most-used purposes Anticipatory Set Review

More information

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP CSCE 515: Computer Network Programming TCP/IP IP Network Layer Wenyuan Xu Department of Computer Science and Engineering University of South Carolina IP Datagrams IP is the network layer packet delivery

More information

Cisco CCNA IP Addressing and Subnetting Part I

Cisco CCNA IP Addressing and Subnetting Part I Cisco CCNA IP Addressing and Subnetting Part I Cisco CCNA IP Addressing & Subnetting One of the most important topics in any discussion of TCP/IP is IP addressing. An IP address is a numeric identifier

More information

Layered Architecture & Protocols. Week 7 Layered Architecture & Protocols

Layered Architecture & Protocols. Week 7 Layered Architecture & Protocols Layered Architecture & Protocols Week 7 Layered Architecture & Protocols Introduction The concept of layers is used to describe communication from one computer to another. Most networks are organized as

More information

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst Data communication in reality In reality, the source and destination hosts are very seldom on the same network, for

More information

IP Internet Protocol. Based on notes from D. Hollinger. Netprog 2002 TCP/IP. Netprog 2002 TCP/IP 1

IP Internet Protocol. Based on notes from D. Hollinger. Netprog 2002 TCP/IP. Netprog 2002 TCP/IP 1 IP Internet Protocol Based on notes from D. Hollinger 1 Recall the OSI Model: 7 Application 6 Presentation 5 Session 4 Transport 3 Network 2 Data-Link 1 Physical High level protocols Low level protocols

More information

Lecture 5. Different Kinds of Networks. Multiaccess vs Point-to-Point. Multiaccess vs. Point-to-Point. Local Area Networks. Wide Area Networks

Lecture 5. Different Kinds of Networks. Multiaccess vs Point-to-Point. Multiaccess vs. Point-to-Point. Local Area Networks. Wide Area Networks Different Kinds of Networks Lecture 5 Computer Networks January 24, 2005 Circuit switching: One electrical circuit assigned to each communication. Example: phone network. Guaranteed constant quality of

More information

TCP/IP and OSI model. TCP/IP Protocol (2) B.2

TCP/IP and OSI model. TCP/IP Protocol (2) B.2 TCP/IP Protocol TCP/IP Transmission Control Protocol/Internetworking Protocol (TCP/IP) standard for the Internet five layers = physical = data link = network = transport = application B.1 TCP/IP and OSI

More information

TCP/IP Tutorial. Transmission Control Protocol Internet Protocol

TCP/IP Tutorial. Transmission Control Protocol Internet Protocol TCP/IP Tutorial Transmission Control Protocol Internet Protocol 1 TCP/IP & OSI In OSI reference model terminology -the TCP/IP protocol suite covers the network and transport layers. TCP/IP can be used

More information

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX APPENDIX A Introduction Understanding TCP/IP To fully understand the architecture of Cisco Centri Firewall, you need to understand the TCP/IP architecture on which the Internet is based. This appendix

More information

part 2 : packet formats, routing, routing Computer Networks II IP : internet protocol, tables, ICMP CS4550

part 2 : packet formats, routing, routing Computer Networks II IP : internet protocol, tables, ICMP CS4550 CS4550 Computer Networks II IP : internet protocol, part 2 : packet formats, routing, routing tables, ICMP IP topics IP topics brief history (1) basic function (1) names and addresses (1) packet format

More information

William Stallings Data and Computer Communications. Chapter 15 Internetwork Protocols

William Stallings Data and Computer Communications. Chapter 15 Internetwork Protocols William Stallings Data and Computer Communications Chapter 15 Internetwork Protocols Internetworking Terms (1) Communications Network Facility that provides data transfer service An internet Collection

More information

Network Layer: Network Layer and IP Protocol

Network Layer: Network Layer and IP Protocol 1 Network Layer: Network Layer and IP Protocol Required reading: Garcia 7.3.3, 8.1, 8.2.1 CSE 3213, Winter 2010 Instructor: N. Vlajic 2 1. Introduction 2. Router Architecture 3. Network Layer Protocols

More information

E The TCP/IP Protocol Architecture

E The TCP/IP Protocol Architecture APPENDIX E The TCP/IP Protocol Architecture E.1 TCP/IP LAYERS...2 E.2 TCP AND UDP...3 E.3 OPERATION OF TCP/IP...4 E.4 TCP/IP APPLICATIONS...6 William Stallings Copyright 2008 Supplement to Computer Security:

More information

Chapter 1 Communication Networks and Services

Chapter 1 Communication Networks and Services Chapter 1 Communication s and Services What is a communication network? A communication network is a set of equipment (hardware & software) and facilities that provide the basic communication service A

More information

18 - Internet Protocols

18 - Internet Protocols 18 - Internet Protocols Computer Communication & Networking Department of Computer Engineering, SSUET 1 Protocol Functions Small set of functions that form basis of all protocols Not all protocols have

More information

CS3250 Distributed Systems

CS3250 Distributed Systems CS3250 Distributed Systems Lecture 5 More on TCP/IP The Internet Protocol (IP) is a network level protocol which provides an unreliable connection-less service which delivers packets (called datagrams)

More information

Computer Networks. Chapter 1 Reference models (OSI and TCP/IP)

Computer Networks. Chapter 1 Reference models (OSI and TCP/IP) Computer Networks Chapter 1 Reference models (OSI and TCP/IP) Network structure Reduce network design complexity organize networks as stacks of layers (levels) Network layers Use of layers data hiding,

More information

Network Layer Network Layer

Network Layer Network Layer IP Suite Dr. Ayman Abdel-Hamid, CS4254 Spring 2006 1 CS4254 Computer Network Architecture and Programming Internet Protocol Suite Outline Dr. Ayman A. Abdel-Hamid Computer Science Department Virginia Tech

More information

Internet Protocols. Supporting Protocols and Framing. Updated: 9/30/14

Internet Protocols. Supporting Protocols and Framing. Updated: 9/30/14 Internet Protocols Supporting Protocols and Framing Updated: 9/30/14 Supporting Protocols ARP / RARP BOOTP ICMP DHCP NAT IP Supporting Protocols IP protocol only deals with the data transfer (best-effort)

More information

Solution. Assignment # 1. (Chapter 2) Dr. Hasan Qunoo. The Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department

Solution. Assignment # 1. (Chapter 2) Dr. Hasan Qunoo. The Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department The Islamic University of Gaza Faculty of Engineering Computer Engineering Department Data Communications ECOM 4314 Assignment # 1 (Chapter 2) Solution Dr. Hasan Qunoo Eng. Wafaa Audah Eng. Waleed Mousa

More information

Communication Models and Protocols

Communication Models and Protocols Communication Models and Protocols 1.1 ISO/OSI Network Model and Internet protocol ISO /OSI Network Model Open System Interconnection, an ISO standard for worldwide communications that defines a networking

More information

Internet Protocol. IP Datagram, Fragmentation and Reassembly

Internet Protocol. IP Datagram, Fragmentation and Reassembly Internet Protocol IP Datagram, Fragmentation and Reassembly IP Datagram Header Data Data (variable length) IP Packet Header number of IP protocol Current version is 4 6 has different header format IP Packet

More information

Data Communications and Networks

Data Communications and Networks Data Communications and Networks Deirdre O Donovan Email : Deirdre.odonovan@gmit.ie Ext : 2142 Data Comms & Networks 1 Module Content ISO Model 5% Function of various layers Comparison with TCP/IP layers

More information

LAN Protocols. Learning Objectives. What is a protocol? Explain how the most used LAN protocols work.

LAN Protocols. Learning Objectives. What is a protocol? Explain how the most used LAN protocols work. LAN Protocols (Week 3, Wednesday 9/10/2003) Abdou Illia, Fall 2003 1 Learning Objectives Explain how the most used LAN protocols work. TCP UDP IP 2 What is a protocol? Set of rules that govern data communication

More information

IP - The Internet Protocol. Magda El Zarki Dept. of CS UC Irvine

IP - The Internet Protocol. Magda El Zarki Dept. of CS UC Irvine 1 IP - The Internet Protocol Magda El Zarki Dept. of CS UC Irvine Email: elzarki@uci.edu http://www.ics.uci.edu/~magda 2 Overview IP (Internet Protocol) is a Network Layer Protocol. Several versions most

More information

TCP/IP Protocol Suite and Internetworking

TCP/IP Protocol Suite and Internetworking TCP/IP Protocol Suite and Internetworking Professor of CIS Columbus, OH 43210 Jain@ACM.Org This presentation is available on-line at: http://www.cis.ohio-state.edu/~jain/cis677-00/ 8-1 Overview Key Philosophical

More information

Internet Protocol. Objectives. Chapter 8. Upon completion you will be able to:

Internet Protocol. Objectives. Chapter 8. Upon completion you will be able to: Chapter 8 Internet Protocol Objectives Upon completion you will be able to: Understand the format and fields of a datagram Understand the need for fragmentation and the fields involved Understand the options

More information

TCP/IP Protocol Suite (Internet Model)

TCP/IP Protocol Suite (Internet Model) The Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4314: Data Communication Instructor: Dr. Aiman Abu Samra T.A.: Eng. Alaa O. Shama Discussion Chapter#2 TCP/IP

More information

Objectives of Lecture. Network Architecture. Protocols. Contents

Objectives of Lecture. Network Architecture. Protocols. Contents Objectives of Lecture Network Architecture Show how network architecture can be understood using a layered approach. Introduce the OSI seven layer reference model. Introduce the concepts of internetworking

More information

IP - The Internet Protocol

IP - The Internet Protocol IP - The Internet Protocol Based on the slides of Dr. Jorg Liebeherr, University of Virginia Orientation IP (Internet Protocol) is a Network Layer Protocol. IP: The waist of the hourglass IP is the waist

More information

RARP: Reverse Address Resolution Protocol

RARP: Reverse Address Resolution Protocol SFWR 4C03: Computer Networks and Computer Security January 19-22 2004 Lecturer: Kartik Krishnan Lectures 7-9 RARP: Reverse Address Resolution Protocol When a system with a local disk is bootstrapped it

More information

2-1 LAYERED TASKS. Topics discussed in this section: Sender, Receiver, and Carrier Hierarchy 2.2

2-1 LAYERED TASKS. Topics discussed in this section: Sender, Receiver, and Carrier Hierarchy 2.2 2.1 Network Models 2-1 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

More information

Network Architecture Models

Network Architecture Models School of Business Eastern Illinois University Architecture Models (Week 2, Thursday 1/18/2007) Abdou Illia, Spring 2007 Learning Objectives 2 Discuss the OSI reference Model Discuss the Internet Model

More information

Chapter 9. IP Secure

Chapter 9. IP Secure Chapter 9 IP Secure 1 Network architecture is usually explained as a stack of different layers. Figure 1 explains the OSI (Open System Interconnect) model stack and IP (Internet Protocol) model stack.

More information

Chapter 2 NETWORK LAYER

Chapter 2 NETWORK LAYER Chapter 2 NETWORK LAYER This chapter provides an overview of the most important and common protocols associated with the TCP/IP network layer. These include: Internet Protocol (IP), Routing protocols Routing

More information

IP Datagram Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1

IP Datagram Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 IP Datagram 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Topics Covered Introduction Connectionless Service Virtual Packets The IP Datagram The IP Datagram Header Format

More information

OSI Transport Layer. Network Fundamentals Chapter Cisco Systems, Inc. All rights reserved. Cisco Public ١

OSI Transport Layer. Network Fundamentals Chapter Cisco Systems, Inc. All rights reserved. Cisco Public ١ OSI Transport Layer Network Fundamentals Chapter 4 ١ Objectives Explain the role of Transport Layer protocols and services in supporting communications across data networks Analyze the application and

More information

Lecture 3: IPv4 cont d, ICMP, and UDP

Lecture 3: IPv4 cont d, ICMP, and UDP Internetworking Lecture 3: IPv4 cont d, ICMP, and UDP Literature: Forouzan, TCP/IP Protocol Suite: Ch 8-9, 11 IPv4 Options IPv4 options are intended for network testing or debugging Options are variable

More information

IP: Connectionless Datagram Delivery. IP: Connectionless Datagram Delivery

IP: Connectionless Datagram Delivery. IP: Connectionless Datagram Delivery IP: Connectionless Datagram Delivery This presentation considers the services provided by the Internet Protocol (IP) to network / e-commerce applications. IP sits in the middle (at the network layer) and

More information

Internetworking. Problem: There is more than one network (heterogeneity & scale)

Internetworking. Problem: There is more than one network (heterogeneity & scale) Internetworking Problem: There is more than one network (heterogeneity & scale) Hongwei Zhang http://www.cs.wayne.edu/~hzhang Internetworking: Internet Protocol (IP) Routing and scalability Group Communication

More information

Network Architecture and the OSI Reference Model

Network Architecture and the OSI Reference Model Network Architecture and the OSI Reference Model Advanced Computer Networks D12 Architecture Outline The Internet and IP Network Architecture Protocols and s Encapsulation The OSI Reference Model The Seven

More information

TCP/IP MODEL. Upendra Sharma

TCP/IP MODEL. Upendra Sharma 1 TCP/IP MODEL Upendra Sharma Introduction to TCP/IP Model The current Internet is based on a TCP/IP reference model. 2 TCP and IP are two protocols of this model. TCP stands for Transmission Control Protocol

More information

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet Basic Networking Concepts 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet 1 1. Introduction -A network can be defined as a group of computers and other devices connected

More information

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2 Network-Oriented Software Development Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2 Topics Layering TCP/IP Layering Internet addresses and port numbers Encapsulation

More information

(Refer Slide Time: 01:08)

(Refer Slide Time: 01:08) Internet Technology Prof. I. Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No. #02 Review of Network Technologies In today lecture we would be

More information

Internet Control Message Protocol (ICMP), RFC 792. Prof. Lin Weiguo Copyleft 2009~2015, College of Computing, CUC

Internet Control Message Protocol (ICMP), RFC 792. Prof. Lin Weiguo Copyleft 2009~2015, College of Computing, CUC Internet Control Message Protocol (ICMP), RFC 79 Prof Lin Weiguo Copyleft 009~05, College of Computing, CUC Nov 05 Overview } The IP (Internet Protocol) relies on several other protocols to perform necessary

More information

IPv4 Options. Lecture 3: IPv4 cont d, ICMP, and UDP. IP Options Encoding. Categories of IP Options. IP options types. IP Options: Record Route

IPv4 Options. Lecture 3: IPv4 cont d, ICMP, and UDP. IP Options Encoding. Categories of IP Options. IP options types. IP Options: Record Route Internetworking Lecture 3: IPv4 cont d, ICMP, and Literature: Forouzan, TCP/IP Protocol Suite: Ch 8-9, 11 IPv4 Options IPv4 options are intended for network testing or debugging Options are variable size

More information

Introduction OSI Model Open Systems Interconnection OSI OSI Seven Layer Model

Introduction OSI Model Open Systems Interconnection OSI OSI Seven Layer Model OSI MODEL 1 Introduction Open Systems Interconnection Basic Reference Model (OSI Reference Model or OSI Model) is an abstract description for layered communications and computer network protocol design.

More information

OPTIMIZATION OF IPV4 PACKET S HEADERS

OPTIMIZATION OF IPV4 PACKET S HEADERS OPTIMIZATION OF IPV4 PACKET S HEADERS 1 FAHIM A. AHMED GHANEM, 2 VILAS M. THAKARE 1 Research Student, School of Computational Sciences, Swami Ramanand Teerth Marathwada University, Nanded, India, 2 Professor

More information

IP - The Internet Protocol

IP - The Internet Protocol IP - The Internet Protocol Based on the slides of Dr. Jorg Liebeherr, University of Virginia Orientation IP (Internet Protocol) is a Network Layer Protocol. IP: The waist of the hourglass IP is the waist

More information

Ethernet. Ethernet. Network Devices

Ethernet. Ethernet. Network Devices Ethernet Babak Kia Adjunct Professor Boston University College of Engineering ENG SC757 - Advanced Microprocessor Design Ethernet Ethernet is a term used to refer to a diverse set of frame based networking

More information

Network Programming TDC 561

Network Programming TDC 561 Network Programming TDC 561 Lecture # 1 Dr. Ehab S. Al-Shaer School of Computer Science & Telecommunication DePaul University Chicago, IL 1 Network Programming Goals of this Course: Studying, evaluating

More information

This tutorial explains OSI Reference Model in detail with examples including its protocols and functions in easy language.

This tutorial explains OSI Reference Model in detail with examples including its protocols and functions in easy language. This tutorial explains OSI Reference Model in detail with examples including its protocols and functions in easy language. Layers model is a theoretical approach that describe how data is going to be transmit

More information

IP - The Internet Protocol

IP - The Internet Protocol Orientation IP - The Internet Protocol IP (Internet Protocol) is a Network Layer Protocol. IP s current version is Version 4 (IPv4). It is specified in RFC 891. TCP UDP Transport Layer ICMP IP IGMP Network

More information

100% REAL EXAM QUESTIONS ANSWERS

100% REAL EXAM QUESTIONS ANSWERS Pass Cisco 100-101 Cisco Interconnecting Cisco Networking Devices Part 1 (ICND) exam in just 24 HOURS! 100% REAL EXAM QUESTIONS ANSWERS Cisco 100-101 - Cisco Interconnecting Cisco Networking Devices Part

More information

Lecture slides prepared by Dr Lawrie Brown for Data and Computer Communications, 8/e, by William Stallings, Chapter 2 Protocol

Lecture slides prepared by Dr Lawrie Brown for Data and Computer Communications, 8/e, by William Stallings, Chapter 2 Protocol Lecture slides prepared by Dr Lawrie Brown (UNSW@ADFA) for Data and Computer Communications, 8/e, by William Stallings, Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications. 1 This

More information

IP (Internet Protocol) -Offered Services -Packet Format -ICMP

IP (Internet Protocol) -Offered Services -Packet Format -ICMP IP (Internet Protocol) -Offered Services -Packet Format -ICMP IP Communication Service Connectionless packet-oriented (or datagram) paradigm Two packets meant for the same destination may be handled in

More information

Transport Layer Protocols

Transport Layer Protocols Transport Layer Protocols Version. Transport layer performs two main tasks for the application layer by using the network layer. It provides end to end communication between two applications, and implements

More information

Layer 4: UDP, TCP, and others

Layer 4: UDP, TCP, and others Layer 4: UDP, TCP, and others based on Chapter 9 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers Concepts application set transport set High-level, "Application Set" protocols deal only with how handled

More information

Protocols and Architecture. Protocol Architecture.

Protocols and Architecture. Protocol Architecture. Protocols and Architecture Protocol Architecture. Layered structure of hardware and software to support exchange of data between systems/distributed applications Set of rules for transmission of data between

More information

Internet Protocol. Raj Jain. Washington University in St. Louis.

Internet Protocol. Raj Jain. Washington University in St. Louis. Internet Protocol Raj Jain Washington University Saint Louis, MO 63131 Jain@cse.wustl.edu These slides are available on-line at: http://www.cse.wustl.edu/~jain/cse473-05/ 13-1 Overview! Internetworking

More information

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol 1 TCP/IP protocol suite A suite of protocols for networking for the Internet Transmission control protocol (TCP) or User Datagram protocol

More information

Principle of TCP/IP stack

Principle of TCP/IP stack Application note Principle of TCP/IP stack Explanation of TCP/IP stack used in this application Author : CHASSAING Jonathan GE5 2013-2014 Summary Introduction:... 2 History of TCP/IP... 2 How TCP/IP stack

More information

Transport and Network Layer

Transport and Network Layer Transport and Network Layer 1 Introduction Responsible for moving messages from end-to-end in a network Closely tied together TCP/IP: most commonly used protocol o Used in Internet o Compatible with a

More information

9025- TCP/IP Networking. History and Standards. Review of Numbering Systems. Local Signaling. IP Addressing

9025- TCP/IP Networking. History and Standards. Review of Numbering Systems. Local Signaling. IP Addressing 9025- TCP/IP Networking History and Standards ARPA NCP TCP, IP, ARPANET PARC Collaborative Network Requirements One Protocol? Peer-to-Peer Protocols Documentation and RFCs RFC Categories Where to Find

More information

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network. Course Name: TCP/IP Networking Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network. TCP/IP is the globally accepted group of protocols

More information

Network Models and Protocols

Network Models and Protocols 669-5ch01.fm Page 1 Friday, April 12, 2002 2:01 PM C H A P T E R Network Models and Protocols 1 EXAM OBJECTIVES 1.1 Layered Network Models 1.2 The Layers of the TCP/IP 5-Layer Model 1.3 Network Protocols

More information

User Datagram Protocol (UDP)

User Datagram Protocol (UDP) Content User Datagram Protocol () Linda Wu protocol Process-to-process communication Port number assignment User datagram operation (CMPT 471 2003-3) Reference: chapter 12 Notes-8 CMPT 471 2003-3 2 Protocol

More information

TCP/IP And Unix Network Tools. TCP/IP Networking Review Unix Network Tools

TCP/IP And Unix Network Tools. TCP/IP Networking Review Unix Network Tools TCP/IP And Unix Network Tools TCP/IP Networking Review Unix Network Tools History of the Internet U.S. ARPANet (Advanced Research Projects Agency) in the Defense Department Design a Reliable, Robust Network

More information

IP and Networking Basics. Origins of TCP/IP. Distributed Network Design. Simplified view of the Internet

IP and Networking Basics. Origins of TCP/IP. Distributed Network Design. Simplified view of the Internet and ing Basics Outline Origins of TCP/ OSI Stack & TCP/ Architecture Client Server Architecture Addressing & Numbering Rules Forwarding and default route Troubleshooting Tools Origins of TCP/ 1950 s 1960

More information

Internet Architecture and Philosophy

Internet Architecture and Philosophy Internet Architecture and Philosophy Conceptually, TCP/IP provides three sets of services to the user: Application Services Reliable Transport Service Connectionless Packet Delivery Service The underlying

More information

CPS221 Lecture: Layered Network Architecture

CPS221 Lecture: Layered Network Architecture CPS221 Lecture: Layered Network Architecture Objectives last revised 9/10/12 1. To discuss the OSI layered architecture model 2. To discuss the specific implementation of this model in TCP/IP Materials:

More information

CS 457 Lecture 10 Internetworking and IP. Fall 2011

CS 457 Lecture 10 Internetworking and IP. Fall 2011 CS 457 Lecture 10 Internetworking and IP Fall 2011 The Network layer Transport layer: TCP, UDP Network layer Routing protocols path selection RIP, OSPF, BGP Forwarding table IP protocol addressing conventions

More information

Computer Networks By Bahaa Q. AL-Mussawi Port Numbers The Internet Layer Protocols

Computer Networks By Bahaa Q. AL-Mussawi Port Numbers The Internet Layer Protocols Port Numbers TCP and UDP must use port numbers to communicate with the upper layers because they re what keep track of different conversations crossing the network simultaneously. Originating-source port

More information

Networking Test 4 Study Guide

Networking Test 4 Study Guide Networking Test 4 Study Guide True/False Indicate whether the statement is true or false. 1. IPX/SPX is considered the protocol suite of the Internet, and it is the most widely used protocol suite in LANs.

More information

TCP/IP and the Internet

TCP/IP and the Internet TCP/IP and the Internet Massachusetts Institute of Technology Slide 1 The TCP/IP Protocol Suite Transmission Control Protocol / Internet Protocol Developed by DARPA to connect Universities and Research

More information

After completing this lesson, you will be able to do the following: Describe the basic process of IP routing.

After completing this lesson, you will be able to do the following: Describe the basic process of IP routing. Lesson 3-2: Routing At a Glance Routers perform many functions on a network, from segmenting large networks so that they work more efficiently to interconnecting networks that use different LAN or WAN

More information

INTERNET ENABLED SYSTEMS NETWORK PROTOCOLS

INTERNET ENABLED SYSTEMS NETWORK PROTOCOLS DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK Lesson-24: INTERNET ENABLED SYSTEMS NETWORK PROTOCOLS 1 Internet enabled embedded system Communication to other on the Internet. Use html (hyper text

More information

Transport Layer. Gursharan Singh Tatla. 1

Transport Layer. Gursharan Singh Tatla.  1 Transport Layer Gursharan Singh Tatla mailme@gursharansingh.in 1 Introduction The transport layer is the fourth layer from the bottom in the OSI reference model. It is responsible for message delivery

More information