Internet Protocols (chapter 18)

Similar documents

SEN366 (SEN374) (Introduction to) Computer Networks

ET4254 Communications and Networking 1

Internetwork Protocols

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August 1964

Introduction to Internetworking

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

The Internet. The Internet is an interconnected collection of netw orks.

On Distributed Communications, Rand Report RM-3420-PR, Paul Baran, August

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

TSIN02 - Internetworking

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

Lecture 3. The Network Layer (cont d) Network Layer 1-1

This Lecture. BUS Computer Facilities Network Management. Internetworking. Internetworking

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

CHAPTER-2 IP CONCEPTS

CHAPTER 18 INTERNET PROTOCOLS ANSWERS TO QUESTIONS

TCP/IP Protocol Suite

Network layer: Overview. Network Layer Functions

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

TSIN02 - Internetworking

Network Layer (4): ICMP

Lecture 8. Network Layer (cont d) Network Layer 1-1

Position of IP and other network-layer protocols in TCP/IP protocol suite

Each ICMP message contains three fields that define its purpose and provide a checksum. They are TYPE, CODE, and CHECKSUM fields.

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

Router Architecture Overview

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

ICMP (Internet Control Message Protocol)

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

Internet Protocol, Version 6

Introduction to routing in the Internet

TCP /IP Fundamentals Mr. Cantu

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

Introduction. IP Datagrams. Internet Service Paradigm. Routers and Routing Tables. Datagram Forwarding. Example Internet and Conceptual Routing Table

Lecture 11: Fragmentation & Addressing. CSE 123: Computer Networks Stefan Savage

Vorlesung Kommunikationsnetze

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

The Interconnection Structure of. The Internet. EECC694 - Shaaban

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.

Introduction to routing in the Internet

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

Chapter 5 OSI Network Layer

IP: Addressing, ARP, Routing

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local

Master Course Computer Networks IN2097

Chapter 4: Network Layer

Network Layer: Internet Protocol

To make a difference between logical address (IP address), which is used at the network layer, and physical address (MAC address),which is used at

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

CS 457 Lecture 11 More IP Networking. Fall 2011

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

The Internetworking Problem. Internetworking. A Translation-based Solution

Subnets. IP datagram format. The Internet Network layer. IP Fragmentation and Reassembly. IP Fragmentation & Reassembly. IP Addressing: introduction

SEMESTER 1 Chapter 5 OSI Network Layer V What services does the network layer provide?

Chapter Motivation For Internetworking

The Internet Protocol (IP)

IP Address Assignment

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

MODULE: NETWORKS MODULE CODE: CAN1102C. Duration: 2 Hours 15 Mins. Instructions to Candidates:

Chapter 5 Network Layer

Chapter 5 TCP/IP SUITE

PART X. Internetworking Part 1. (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution)

TCP/IP THE TCP/IP ARCHITECTURE

Department of Computer Science and Engineering. COSC 4213: Computer Networks II (Fall 2005) Instructor: N. Vlajic Date: November 3, 2005

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Network Layer/IP Protocols

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

(ICMP), RFC

IP Addressing and Subnetting

EE 610 Part 2: Encapsulation and network utilities

Module 7 Internet And Internet Protocol Suite

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

Internet Protocol (IP)

Internet Protocol version 6

CS519: Computer Networks. Lecture 2: Feb 2, 2004 IP (Internet Protocol)

ICS 451: Today's plan

Computer Networks with Internet Technology William Stallings. Chapter 2 Protocols and the TCP/IP Protocol Suite

Introduction to IPv6. IPv6 addresses

INTERNET SYSTEM. Internet Protocol. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Large Scale Networking

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Lecture 18 Overview. Last Lecture. This Lecture. Next Lecture. Internet Protocol (1) Internet Protocol (2)

Chapter 20 Network Layer: Internet Protocol 20.1

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical

internet technologies and standards

Lecture 9: Internetworking

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Recap. Recap. Internetworking. First mile problem. Internet. End Users. Last mile problem. Direct link networks Packet switching.

ECE4110 Internetwork Programming. Introduction and Overview

CSEP 561 Internetworking. David Wetherall

CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network

ICMP (Internet Control Message Protocol)

User Datagram Protocol

Transcription:

Internet Protocols (chapter 18) CSE 3213 Fall 2011 Internetworking Terms 1

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 2

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 3

IP Design Issues routing datagram lifetime fragmentation and reassembly error control flow control The Internet as a Network 4

Routing indicate next router to which datagram is sent static dynamic ES / routers maintain routing tables source routing source specifies route to be followed can be useful for security & priority route 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 5

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: smaller buffers more interrupts & processing time Fragmentation and Re-assembly at destination packets get smaller as data traverses internet issue of when to reassemble need large buffers at routers intermediate reassembly buffers may fill with fragments all fragments must go through same router 6

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 7

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 8

IP Services Primitives specifies functions to be performed form of primitive implementation dependent Send -request transmission of data unit Deliver -notify user of arrival of data unit Parameters used to pass data and control information IP Parameters source and destination addresses protocol type of service identification don t fragment indicator time to live data length option data user data 9

IP Options security route recording source routing stream identification timestamping IPv4 Header 10

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

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 12

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 13

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 14

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 15

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? 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 requirements for new types of service address configuration routing flexibility traffic support 16

IPv6 RFCs RFC 1752 -Recommendations for the IP Next Generation Protocol requirements PDU formats addressing, routing security issues RFC 2460 - overall specification RFC 4291 - 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 17

IPv6 PDU (Packet) Structure IP v6 Header 18

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 three types of addresses: unicast - single interface address anycast -one of a set of interface addresses multicast -all of a set of interfaces 19

Hop-by-Hop Options must be examined by every router if unknown discard/forward handling is specified next header header extension length options Pad1 PadN Jumbo payload Router alert Fragmentation Header fragmentation only allowed at source no fragmentation at intermediate routers node must perform path discovery to find smallest MTU of intermediate networks set source fragments to match MTU otherwise limit to 1280 octets 20

Routing Header contains a list of one or more intermediate nodes to be visited on the way to a packet s destination header includes Type 0 routing provides a list of addresses next header header extension length routing type segments left initial destination address is first on list current destination address is next on list final destination address will be last in list Destination Options Header carries optional information for destination node format same as hop-by-hop header 21

IPv6 Extension Headers Chapter 18, Stallings Reading Next lecture: Internetworking Operation (Chapter 19) 22