Similar documents
Internet Protocols (chapter 18)

SEN366 (SEN374) (Introduction to) Computer Networks

ET4254 Communications and Networking 1

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

Internetwork Protocols

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

Introduction to Internetworking

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

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

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

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

CHAPTER 18 INTERNET PROTOCOLS ANSWERS TO QUESTIONS

TCP/IP Protocol Suite

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

TSIN02 - Internetworking

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

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

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

CHAPTER-2 IP CONCEPTS

Internet Protocol, Version 6

Introduction to routing in the Internet

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

Network layer: Overview. Network Layer Functions

Introduction to routing in the Internet

Router Architecture Overview

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

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

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

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

TSIN02 - Internetworking

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

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

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

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

Chapter 5 TCP/IP SUITE

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

Vorlesung Kommunikationsnetze

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

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

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

ICMP (Internet Control Message Protocol)

The Internet Protocol (IP)

Chapter 4: Network Layer

TCP/IP THE TCP/IP ARCHITECTURE

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

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

TCP /IP Fundamentals Mr. Cantu

IP: Addressing, ARP, Routing

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.

Network Layer (4): ICMP

IP Addressing and Subnetting

Internet Protocol version 6

Chapter Motivation For Internetworking

(Chapters 2 3 in Huitema) E7310/Internet basics/comnet 1

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

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

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

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Master Course Computer Networks IN2097

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

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

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

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

Chapter 5 OSI Network Layer

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

Network Layer PREPARED BY AHMED ABDEL-RAOUF

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

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

Chapter 09 Network Protocols

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

Growth. Individual departments in a university buy LANs for their own machines and eventually want to interconnect with other campus LANs.

Networking for Data Acquisition Systems. Fabrice Le Goff - 14/02/ ISOTDAQ

The Internetworking Problem. Internetworking. A Translation-based Solution

Agenda L2 versus L3 Switching IP Protocol, IP Addressing IP Forwarding ARP and ICMP IP Routing First Hop Redundancy

7010INT Data Communications Lecture 7 The Network Layer

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

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space that is provided.

Introduction to IPv6. IPv6 addresses

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

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

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Chapter 7. Local Area Network Communications Protocols

Network Layer/IP Protocols

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

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

Networking interview questions

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

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

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

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

(ICMP), RFC

IPv6 is Internet protocol version 6. Following are its distinctive features as compared to IPv4. Header format simplification Expanded routing and

Internet Protocol (IP)

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

Auxiliary Protocols. Internet Layer. Address Resolution Protocol. Delivery of IP Packets

IP Address Assignment

Chapter 4 Network Layer: The Data Plane

internet technologies and standards

Transcription:

Unit 5: Internet Protocols skong@itt-tech.edutech.edu

Internet Protocols She occupied herself with studying a map on the opposite wall because she knew she would have to change trains at some point. Tottenham Court Road must be that point, an interchange from the black line to the red. This train would take her there, was bearing her there rapidly now, and at the station she would follow the signs, for signs there must be, to the Central Line going westward. King Solomon's Carpet. Barbara Vine (Ruth Rendell)

Internet Internet an interconnected set of networks where each of the constituent networks retains its identity end systems devices attached to a network intermediate systems provide a communications path and perform the necessary relaying and routing functions bridges acts as a relay of frames between similar networks routers routes packets between potentially different networks

Internetworking t Terms

TCP/IP Concepts

Differences in Networks addressing schemes maximum packet size network access mechanisms timeouts error recovery status reporting routing techniques user access control connection, connectionless

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

The Internet as a Network

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

Fragmentation and Re-assembly protocol exchanges data between two entities lower-level 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 re-assemble need large buffers at routers intermediate reassembly buffers may fill with fragments ll f t t 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 l of 64 bits (8 octets) t 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 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 & destination addresses protocol type of Service identification don t fragment indicator time to live data length option data user data

IP Options security route recording source routing stream identification timestamping

IPv4 Header

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

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 x x to 223.x.x.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 RFC 792 Protocol (ICMP) 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 & echo reply timestamp & timestamp reply address mask request & 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 b d t ARP t 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? address space exhaustion: requirements for new types of service two level addressing (network and host) wastes address configuration space routing flexibility network addresses used traffic support even if not connected growth of networks and the Internet extended use of TCP/IP single address per host

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

IPv6 PDU (Packet) Structure

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

Hop-by 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

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

IPv6 Extension Headers

Virtual Private Network (VPN) set of computers interconnected using an unsecure network e.g. linking corporate LANs over Internet using encryption & special protocols to provide security eavesdropping entry point for unauthorized users proprietary solutions are problematical development of IPSec standard

IPSec RFC 1636 (1994) identified security need encryption and authentication necessary security features in IPv6 designed also for use with current IPv4 applications needing security include: branch office connectivity remote access over Internet extranet and intranet connectivity for partners electronic commerce security

IPSec Functions

IP Security Scenario

Benefits of IPsec provides strong security for external traffic resistant to bypass below transport layer hence transparent to applications can be transparent to end users can provide security for individual users if needed

Summary internetworking principles Internet protocol operation IP design issues, connectionless operation services, addresses, subnets, ICMP, ARP IPv6 structure, header, addresses VPNs and IP Security IPsec applications, benefits, functions