IP Protocol CSE 6590. TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.

Slides:



Advertisements
Similar presentations
Computer Networks with Internet Technology William Stallings
Advertisements

Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
1 IPv6. 2 Problem: 32-bit address space will be completely allocated by Solution: Design a new IP with a larger address space, called the IP version.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
CS 408 Computer Networks Chapter 08: Internet Protocols.
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
Network Layer Pertemuan 17 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
William Stallings Data and Computer Communications 7 th Edition Chapter 18 Internet Protocols.
1 K. Salah Module 5.2: Internet Protocol CO vs. CL protocols IP Features –Fragmentation –Routing IP Datagram Format IPv6.
1 14. Internetworking. Prof. Sang-Jo Yoo 2 Contents  Internetworking Terms  Principles of Internetworking  Connectionless Internetworking  The Internet.
Internet Control Message Protocol (ICMP). Introduction The Internet Protocol (IP) is used for host-to-host datagram service in a system of interconnected.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 18 – Internet Protocols.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
EEE449 Computer Networks Internetworking.
Semester Copyright USM EEE442 Computer Networks Internetworking En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
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.
Data and Computer Communications
Internet Command Message Protocol (ICMP) CS-431 Dick Steflik.
Chapter Overview TCP/IP Protocols IP Addressing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Fall 2010CEG CEG-4188 Lecture 2: Internetworking and the Internet Protocol (IP) Prof. Gregor v. Bochmann SITE - University of Ottawa These course.
1 CMPT 471 Networking II ICMP © Janice Regan, 2012.
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Guide to TCP/IP, Third Edition
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer ICMP and fragmentation.
IP (Internet Protocol) –the network level protocol in the Internet. –Philosophy – minimum functionality in IP, smartness at the end system. –What does.
TELE202 Lecture 9 Internet Protocols (1) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Congestion control »Source: chapter 12 ¥This Lecture »Internet.
1 Business Telecommunications Data and Computer Communications Chapter 15 Internetwork Protocols.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
10/13/20151 TCP/IP Transmission Control Protocol Internet Protocol.
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.
Protocols 1 Objective: Build a protocol foundation for Client / Server programming in an Internet Environment Note: RFCs available from
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
CSC 581 Communication Networks II Chapter 8a: Internetworking and Internet Protocol(IP) Dr. Cheer-Sun Yang.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Internet Protocols. Address Resolution IP Addresses are not recognized by hardware. If we know the IP address of a host, how do we find out the hardware.
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
 The Internet Control Message Protocol (ICMP) is one of the core protocols of the Internet protocol suite. It is chiefly used by networked computers'
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
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.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 18 – Internet Protocols.
CSCI 465 D ata Communications and Networks Lecture 24 Martin van Bommel CSCI 465 Data Communications & Networks 1.
THE CLASSIC INTERNET PROTOCOL (RFC 791) Dr. Rocky K. C. Chang 20 September
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.
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Network Layer - IP.
CSCI 465 D ata Communications and Networks Lecture 25 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Packet Switch Network Server client IP Ether IPTCPData.
Network Layer IP Address.
Data and Computer Communications Eighth Edition by William Stallings Chapter 18 – Internet Protocols.
IPv6 Internet Protocol, Version 6 Yen-Cheng Chen NCNU
CS 408 Computer Networks Chapter 08: Internet Protocols.
IP: Addressing, ARP, Routing
Network Layer Protocols
Net 431: ADVANCED COMPUTER NETWORKS
Chapter 14 The Internet Protocol
CS 457 – Lecture 10 Internetworking and IP
Chapter 20 Network Layer: Internet Protocol
CPEG512 Advanced Computer Networks
William Stallings Data and Computer Communications 7th Edition
Chapter 08: Internet Protocols
University of Houston Internetwork Protocols Datacom II Lecture 2
Chapter 15. Internet Protocol
Fred Kuhns Applied Research Laboratory
Presentation transcript:

IP Protocol CSE 6590

TCP/IP Concepts

Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol (IP) IP initially developed for the DARPA internet project protocol is needed to access a particular network

Connectionless Internetworking Connectionless internet facility is flexible IP provides a connectionless service between end systems. – Advantages: is flexible can be made robust does not impose unnecessary overhead

IP Operation

IP Design Issues routing datagram lifetime fragmentation and reassembly error control flow control

Routing indicate next router to which datagram is sent static dynamic ES / routers maintain routing tables source specifies route to be followed can be useful for security & priority source routingroute recording

Datagram Lifetime datagrams could loop indefinitely – consumes resources – transport protocol may need upper bound on lifetime of a datagram can mark datagram with lifetime when lifetime expires, datagram discarded

Fragmentation and Re-assembly protocol exchanges data between two entities lower-level protocols may need to break data up into smaller blocks, called fragmentation reasons for fragmentation: – network only accepts blocks of a certain size – more efficient error control & smaller retransmission units – fairer access to shared facilities – smaller buffers disadvantages: – greater overhead (headers) – more interrupts & processing time

Fragmentation and Re-assembly issue of when to re- assemble at destination packets get 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

IP Fragmentation IP re-assembles at destination only uses fields in header – Data Unit Identifier (ID) identifies end system originated datagram – 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) indicates that this is not the last fragment

Fragmentation Example

Error and Flow Control Error control – discarded datagram identification is needed – reasons for discarded datagrams include: lifetime expiration congestion FCS error Flow control – allows routers to limit the rate they receive data – send flow control packets requesting reduced data flow

Internet Protocol (IP) v4 defined in RFC 791 part of TCP/IP suite two parts specification of interface with a higher layer specification of actual protocol format and mechanisms

IP Parameters source and destination addresses protocol type of service identification don’t fragment indicator time to live data length option data user data

IP Options security source routing route recording stream identification timestamping

IPv4 header

IPv4 Address Formats

IP Addresses - Class A start with binary 0 all 0 reserved (127) reserved for loopback range 1.x.x.x to 126.x.x.x

IP Addresses - Class B start with binary 10 range 128.x.x.x to 191.x.x.x second octet also included in network address 2 14 = 16,384 class B addresses

IP Addresses - Class C start with binary 110 range 192.x.x.x to 223.x.x.x second and third octet also part of network address 2 21 = 2,097,152 addresses nearly all allocated – see IPv6

Subnets and Subnet Masks allows arbitrary complexity of internetworked LANs within organization insulate overall internet from growth of network numbers and routing complexity site looks to rest of internet like single network each LAN assigned subnet number host portion of address partitioned into subnet number and host number local routers route within subnetted network subnet mask indicates which bits are subnet number and which are host number

IP Addresses and Subnet Masks

Internet Control Message Protocol (ICMP) RFC 792 transfer messages from routers and hosts to hosts provides feedback about problems datagram cannot reach its destination router does not have buffer capacity to forward router can send traffic on a shorter route encapsulated in IP datagram – hence not reliable

ICMP Message Format

Common ICMP Messages destination unreachable time exceeded parameter problem source quench redirect echo and echo reply timestamp and timestamp reply address mask request and reply

Address Resolution Protocol (ARP) need MAC address to send to LAN host manual included in network address use central directory use address resolution protocol ARP (RFC 826) provides dynamic IP to Ethernet address mapping source broadcasts ARP request destination replies with ARP response

IP Versions IP v 1-3 defined and replaced IP v4 - current version IP v5 - streams protocol IP v6 - replacement for IP v4 – during development it was called IPng (IP Next Generation)

Why Change IP? requirements for new types of service address configuration routing flexibility traffic support address space exhaustion: two level addressing (network and host) wastes space network addresses used even if not connected growth of networks and the Internet extended use of TCP/IP single address per host

IPv6 RFCs RFC Recommendations for the IP Next Generation Protocol – requirements – PDU formats – addressing, routing security issues RFC overall specification RFC addressing structure

IPv6 Enhancements expanded 128 bit address space improved option mechanism – most not examined by intermediate routes dynamic address assignment increased addressing flexibility – anycast & multicast support for resource allocation – labeled packet flows

IPv6 PDU (Packet) Structure

IPv6 header

IP v6 Flow Label related sequence of packets special handling identified by source and destination address + flow label router treats flow as sharing attributes may treat flows differently alternative to including all information in every header have requirements on flow label processing

IPv6 Addresses 128 bits long assigned to interface single interface may have multiple unicast addresses unicast - single interface address anycast - one of a set of interface addresses multicast - all of a set of interfaces three types of addresses:

Reading Chapter 18, Stallings