Internet Protocol-IP. Objective l TCP/IP vs. OSI models l CO vs. CL protocols l IP Features »Fragmentation »Routing l IP Datagram Format l IPv6.

Slides:



Advertisements
Similar presentations
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
Advertisements

CE363 Data Communications & Networking Chapter 7 Network Layer: Internet Protocol.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IPv4 - The Internet Protocol Version 4
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
1 IP - The Internet Protocol Relates to Lab 2. A module on the Internet Protocol.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 5-1 Internet Protocol (IP): Packet Format, Fragmentation, Options Shivkumar Kalyanaraman Rensselaer.
1 K. Salah Module 5.2: Internet Protocol CO vs. CL protocols IP Features –Fragmentation –Routing IP Datagram Format IPv6.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
EE 4272Spring, 2003 Chapter 15&16 Internetworking Internetwork Structure & Terms Internetworking Architecture Features  Connection/Connectionless Architecture.
IP Protocol. The Internet Protocol (IP) is a network-layer (Layer 3) protocol that contains addressing information and some control information that enables.
Semester Copyright USM EEE442 Computer Networks Internetworking En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
Oct 19, 2004CS573: Network Protocols and Standards1 IP: Datagram and Addressing Network Protocols and Standards Autumn
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
IP Routing, Format, Fragmentation Chapters 20-21, 23.
Module 10. Internet Protocol (IP) is the routed protocol of the Internet. IP addressing enables packets to be routed from source to destination using.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer ICMP and fragmentation.
TELE202 Lecture 9 Internet Protocols (1) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Congestion control »Source: chapter 12 ¥This Lecture »Internet.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
1 Business Telecommunications Data and Computer Communications Chapter 15 Internetwork Protocols.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
1 IP : Internet Protocol Computer Network System Sirak Kaewjamnong.
Dr. John P. Abraham Professor UTPA
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
ECE 4110 – Internetwork Programming IP Protocol. 2 * From TCP/IP Protocol Suite, B. A. Forouzan, Prentice Hall Position of IP in TCP/IP Protocol Suite.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Communications Services Connection Oriented Service  A connection is established  Data is sent or received over this connection  Connection may be terminated.
CS 4396 Computer Networks Lab
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
Chapter 20 Network Layer: Internet Protocol
CSC 600 Internetworking with TCP/IP Unit 5: IP, IP Routing, and ICMP (ch. 7, ch. 8, ch. 9, ch. 10) Dr. Cheer-Sun Yang Spring 2001.
CSCI 465 D ata Communications and Networks Lecture 24 Martin van Bommel CSCI 465 Data Communications & Networks 1.
1 Computer Communication & Networks Lecture 19 Network Layer: IP and Address Mapping Waleed Ejaz.
William Stallings Data and Computer Communications Chapter 15 Internetwork Protocols.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
1 Review – The Internet’s Protocol Architecture. Protocols, Internetworking & the Internet 2 Introduction Internet standards Internet standards Layered.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
CSCI 465 D ata Communications and Networks Lecture 25 Martin van Bommel CSCI 465 Data Communications & Networks 1.
2016/3/16 1 Network Layer. 2016/3/ Layer 3 Functionalities The Network layer provides services to exchange the individual pieces of data over the.
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IPv4 IPv4 The Internet Protocol version 4 (IPv4) is the delivery mechanism used by the TCP/IP protocols. Datagram Fragmentation Checksum Options Topics.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
IP - The Internet Protocol
TCP/IP Transmission Control Protocol / Internet Protocol
IP - The Internet Protocol
Net 431: ADVANCED COMPUTER NETWORKS
CS 457 – Lecture 10 Internetworking and IP
IP - The Internet Protocol
Dr. John P. Abraham Professor UTPA
Chapter 20 Network Layer: Internet Protocol
Dr. John P. Abraham Professor UTRGV, EDINBURG, TX
IP - The Internet Protocol
Dr. John P. Abraham Professor UTPA
University of Houston Internetwork Protocols Datacom II Lecture 2
Network Layer 2019/1/13.
Net 323 D: Networks Protocols
Chapter 15. Internet Protocol
IP - The Internet Protocol
Introduction to Networks
ITIS 6167/8167: Network and Information Security
IP - The Internet Protocol
NET 323D: Networks Protocols
Presentation transcript:

Internet Protocol-IP

Objective l TCP/IP vs. OSI models l CO vs. CL protocols l IP Features »Fragmentation »Routing l IP Datagram Format l IPv6

Terminology l A Datagram consists of a header and data parts. l A layer provides services to the layer above it. l A protocol is a set of rules or conventions governing the ways in which two entities (layers or applications) cooperate to exchange information. l List of protocols (one protocol per layer) is called a protocol stack.

OSI vs. TCP/IP model

TCP/IP Protocol Architecture Model

Some Protocols in TCP/IP Suite

CO vs. CL l CO – Connection Oriented »Modeled after the telephone system »When PDU are sequenced, I.e. logical connection l CL – Connectionless »Modeled after the postal system »When PDUs are not sequenced. Each PDU is treated independently from each other. l IP is a CL protocol!

CL Internetworking l Advantages »Flexibility »Robust »No unnecessary overhead l Unreliable »Not guaranteed delivery –packets can be lost, duplicated, damaged. »Not guaranteed order of delivery –Packets can take different routes »Reliability is responsibility of next layer up (e.g. TCP)

IP Features l The primary IP function is to accept data from TCP or UDP (User Datagram Protocol), create a datagram, route it through the network, and deliver it to recipient host. l IP is a network layer protocol that contains addressing information and some control information that enables packets to be routed. l IP relies on two tools to help it route datagrams: »Subnet mask »IP routing table

IP Features l If source and destination network and subnet parts are the same, then the destination host is in the same network and the routing is direct. l The datagram is wrapped in a frame and transmitted directly to its destination on the local LAN. l The destination address that is placed in the frame header must be the physical address of the destination. l ARP (Address Resolution Protocol) will be used to find the physical address of the destination.

IP Features l If destination is not on the local subnet, IP must consult its local routing table. l In such a case, the datagram is sent to the router specified in the routing table. l If no router (or default gateway) is found in the routing table, report error.

IP Features l Handling Incoming Datagrams: »The network interface software delivers a packet, stripped of its frame header, to the IP layer. »If it is a host machine, IP layer delivers it to the upper layer. »If the IP does not match that of its own, the host discards it and initiates an ICMP packet to the source of the packet. »If it is gateway, it re-routes the packet.

IP Features l IP has two primary responsibilities: »Providing CL, best-effort delivery of datagrams through an internetwork; and »Providing fragmentation and reassembly of datagrams to support data links with different maximum transmission unit (MTU) sizes.

IP Features »Each LAN and WAN technology imposes a different size limit on its frames. –For example, the maximum frame size of Ethernet (MTU) is 1500 bytes, which is far below the maximum size of an IP datagram. –Maximum IP packet size is (65536) or 2 16 bytes. »IP solves the size problem by chopping the datagram into several smaller datagrams called fragments. –According to the IP, the gateways must be able to handle datagrams of size of at least 576 bytes. »It is up to IP in the destination host to gather up the incoming fragments and rebuild the original datagram, before passing it to the upper layer. »Fragmentation most often is performed in a router. »Fragmentation is a performance killer.

IP Features l When to re-assemble »At destination –Results in packets getting smaller as data traverses internet »Intermediate re-assembly –Need large buffers at routers –Buffers may fill with fragments –All fragments must go through same router l Inhibits dynamic routing l IP re-assembles at destination only

IP Fragmentation l Uses fields in header »Data Unit Identifier (ID) –Identifies end system originated datagram l Source and destination address l Protocol layer generating data (e.g. TCP) l Identification supplied by that layer »Data length –Length of user data in octets »Offset –Position of fragment of user data in original datagram –In multiples of 64 bits (8 octets) »More flag –Indicates that this is not the last fragment

Fragmentation Example

Dealing with Failure l Re-assembly may fail if some fragments get lost l Need to detect failure l Re-assembly time out »Assigned to first fragment to arrive »If timeout expires before all fragments arrive, discard partial data l Use packet lifetime (time to live in IP) »If time to live runs out, kill partial data

IP: Datagram format

Header Fields (1) l Version »Currently 4 »IP v6 - see later l Internet header length »In 32 bit words »Including options l Type of service l Total length »Of datagram, in octets

Header Fields (2) l Identification »Sequence number »Used with addresses and user protocol to identify datagram uniquely l Flags »More bit »Don’t fragment l Fragmentation offset l Time to live l Protocol »Next higher layer to receive data field at destination

Header Field (3) l Header checksum »Reverified and recomputed at each router »16 bit ones complement sum of all 16 bit words in header »Set to zero during calculation l Source address l Destination address l Options l Padding »To fill to multiple of 32 bits long

Type of Service l Precedence »Measurement of packet’s relative importance. »8 levels l Reliability »Try not to drop the packet. »Normal or high l Delay »Try to minimize the delay for this packet. »Normal or low l Throughput »Choose a network with high bandwidth. »Normal or high

Options l Security »Attach classified information level to packet. For DOD military application. RFC l Source routing »List of all routers. l Route recording »List of routers visited. l Stream identification »For special handling of voice and data l Timestamping »Add a timestamp at each router

Data Field l Carries user data from next layer up l Integer multiple of 8 bits long (octet) l Max length of datagram (header plus data) 65,535 octets

IPv6 l IP v 1-3 defined and replaced l IP v4 - current version l IP v5 - streams protocol l IP v6 - replacement for IP v4 »During development it was called IPng »Next Generation

Why Change IP l Address space exhaustion »2 32 different addresses gives over 4 billion addresses is not enough! »Due to growth of wireless, PDA, and Internet. l Other enhancements

IPv6 vs. IPv4 l The changes from IPv4 to IPv6 are primarily in: »expanded addressing capabilities; »header format simplification; »improved support for extensions, options, and QoS; »flow labeling capability; and »consolidated authentication and privacy capabilities.

Status of IPv6 l Smooth transition is key factor in success of IPv6 !!! l In reality, we have a slow adoption of IPv6. This is due to the invention of NAT. l NAT may work only with certain styles of applications, but not adequate for say IP telephony. Also, it does not scale very well. l The urge is not there yet, but surely growing!

Summary l IP is a network layer protocol l IP is a best-effort, CL protocol. l The main two responsibilities of IP is fragmentation and routing. l Deployment of IPv6 has been slowed down by NAT techniques.

BREAK