Network Layer. Introduction Datagrams and Virtual Circuits Routing Traffic Control. Data delivery from source to destination.



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

IP - The Internet Protocol

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

Chapter 9. IP Secure

RARP: Reverse Address Resolution Protocol

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Internet Architecture and Philosophy

Lecture 8. IP Fundamentals

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

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

Network Layer: Network Layer and IP Protocol

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

Protocols. Packets. What's in an IP packet

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

IP Addressing Introductory material.

2. IP Networks, IP Hosts and IP Ports

Internet Protocols Fall Lectures 7-8 Andreas Terzis

Module 7 Internet And Internet Protocol Suite

Transport and Network Layer

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

IP Addressing. IP Addresses. Introductory material.

Ethernet. Ethernet. Network Devices

04 Internet Protocol (IP)

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

CS335 Sample Questions for Exam #2

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

PART OF THE PICTURE: The TCP/IP Communications Architecture

The internetworking solution of the Internet. Single networks. The Internet approach to internetworking. Protocol stacks in the Internet

The Internet. Internet Technologies and Applications

Communications and Computer Networks

UPPER LAYER SWITCHING

NETWORK LAYER/INTERNET PROTOCOLS

MPLS Environment. To allow more complex routing capabilities, MPLS permits attaching a

Overview of TCP/IP. TCP/IP and Internet

Data Link Protocols. TCP/IP Suite and OSI Reference Model

Network layer: Overview. Network layer functions IP Routing and forwarding

Network Layer, Part 1 Internet Architecture. History

The OSI and TCP/IP Models. Lesson 2

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

Architecture and Performance of the Internet

Protocol Architecture

Data Communication Networks and Converged Networks

Based on Computer Networking, 4 th Edition by Kurose and Ross

Internet Protocols. Addressing & Services. Updated:

Exam 1 Review Questions

Internet Protocols. Background CHAPTER

10CS64: COMPUTER NETWORKS - II

Gary Hecht Computer Networking (IP Addressing, Subnet Masks, and Packets)

WAN Data Link Protocols

Lecture Computer Networks

Future Internet Technologies

A PPENDIX L TCP/IP and OSI

enetworks TM IP Quality of Service B.1 Overview of IP Prioritization

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

CHAPTER 0 INTRODUCTION TO TCP/IP

Network Programming TDC 561

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

IPv6 Fundamentals Ch t ap 1 er I : ntroducti ti t on I o P IPv6 Copyright Cisco Academy Yannis Xydas

ELEC3030 (EL336) Computer Networks. How Networks Differ. Differences that can occur at network layer, which makes internetworking difficult:

IP address format: Dotted decimal notation:

Chapter 5: Sample Questions, Problems and Solutions Bölüm 5: Örnek Sorular, Problemler ve Çözümleri Örnek Sorular (Sample Questions):

TCP/IP Protocol Suite. Marshal Miller Chris Chase

Networking Test 4 Study Guide

Quality of Service in the Internet. QoS Parameters. Keeping the QoS. Traffic Shaping: Leaky Bucket Algorithm

Network layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "

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

13 Virtual Private Networks 13.1 Point-to-Point Protocol (PPP) 13.2 Layer 2/3/4 VPNs 13.3 Multi-Protocol Label Switching 13.4 IPsec Transport Mode

Communication Systems Internetworking (Bridges & Co)

ISTANBUL. 1.1 MPLS overview. Alcatel Certified Business Network Specialist Part 2

SUPPORT DE COURS. Dr. Omari Mohammed Maître de Conférences Classe A Université d Adrar Courriel : omarinmt@gmail.com

How To Use A Network Over The Internet (Networking) With A Network (Netware) And A Network On A Computer (Network)

Network Simulation Traffic, Paths and Impairment

How do I get to

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

Software Defined Networking (SDN) - Open Flow

Protocols and Architecture. Protocol Architecture.

8.2 The Internet Protocol

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

Internetworking and Internet-1. Global Addresses

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

Objectives of Lecture. Network Architecture. Protocols. Contents

Introduction to IP v6

PART IV. Network Layer

Lecture 28: Internet Protocols

Savera Tanwir. Internet Protocol

Unix System Administration

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

AERONAUTICAL COMMUNICATIONS PANEL (ACP) ATN and IP

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

RTP / RTCP. Announcements. Today s Lecture. RTP Info RTP (RFC 3550) I. Final Exam study guide online. Signup for project demos

Transport Layer. Chapter 3.4. Think about

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

R2. The word protocol is often used to describe diplomatic relations. How does Wikipedia describe diplomatic protocol?

Region 10 Videoconference Network (R10VN)

Transcription:

Layer Introduction Datagrams and Virtual ircuits Routing Traffic ontrol Main Objective Data delivery from source to destination Node (Router) Application Presentation Session Transport Data Link Data Link Physical Data Link Physical Data Link Physical Application Presentation Session Transport Data Link Physical Physical Data Link Physical Station (Host) 1

Issues at the Layer Addressing IP addresses on the Internet Switching Datagram packet switching Virtual circuit packet switching Routing How to calculate a path from source to destination? Models of the Service The post office model (IP) Simple, unreliable, unordered delivery service Different letters between the same parties are handled independently (connectionless model) Stateless (no record of who s corresponding with whom) Intelligent end-user The phone service model (ATM) oncept of connections between conversing users Reliable delivery (of voice) State is maintained regarding active connections Dumb end-device (phone) 2

onnectionless vs. onnection-oriented Service Layer Solutions onnection-oriented Service (ATM) onnectionless Service (IP) Transport Layer Solutions (assume a connectionless network) onnection-oriented Service (TP) onnectionless Service (UDP) onnectionless Service Each packet is transmitted independently.2.3.1 A.3.2.1.3.2.1 Packet-switched network.1.2.3 3

onnection-oriented Service Logical connection is established 1.3 1.2 1.1 A 1.3 1.2 1.1 2.3 2.2 2.1 Packet-switched network 2.3 2.2 2.1 Datagram Packet-Switching Unreliable, connectionless service Each packet is routed independently 2 1 2 1 2 3 A 1 3 3 6 4 5 4

Virtual-ircuit Packet Switching onnection-oriented service All packets of a V follow the same route V #1 2 3 A 1 6 V #2 4 5 Switches A network switch (or router) is a device that forwards data in the direction of the destination Ethernet Switch (Link layer device) isco Router ( layer device) 5

Forwarding Tables Datagram packet switching Destination Next hop (port) E A A Port 1? Port 0 Port 2 D E D Packet Forwarding of Datagrams When a packet with destination node arrives at an incoming link,... 1. The router looks up the routing table 2. The routing table lookup yields the address of the next node (next hop) 3. The packet is transmitted onto the outgoing link that goes to the next hop Good: The router does not need to know about flows ad: Size of the routing table can grow very large 6

Forwarding Tables Virtual circuit packet switching In Port In VI Out Port Out VI E A Port 1? Port 0 Port 2 D Packet Forwarding of Virtual ircuits When a packet with V in in header arrives from router n in,... 1. The router looks up the routing table for an entry with (V in, n in ) 2. The routing table lookup yields (V out, n out ) 3.The router updates the V# of the header to V out and transmits the packet to n out Good: Routing table is small (how small?) ad: hanging the route is complicated. Routing table changes for each virtual circuit 7

VI Establishment in Virtual ircuit Packet Switching A (Port0,VI1) Port2,VI5 0 VI1 1 2 0 (Port3,VI5) Port1,VI7 VI5 3 A establishes connection to D 2 1 VI7 4 D (Port4,VI7) Source Routing Source determines the entire route of the packet Packet header carries complete route information Switches follow directions in packet header Problems? 8

omparison IP Model (connectionless, unreliable) No connection establishment favors small transactions omplex transport layer Stateless network core Scalable Robust No reservation mechanism No QoS guarantees ATM Model (connection-oriented, reliable) Signalling delay favors large data transfers omplex network layer Per-connection state Scalability is a tough issue Vulnerable to router failure Easy reservation QoS IP Protocol Stack IP (Internet Protocol) is a Layer Protocol TP UDP Transport Layer IMP IP IGMP Layer ARP Access RARP Link Layer Media 9

IP Overview IP is the highest layer protocol that is implemented at both routers and hosts Offers unreliable connectionless service (send and deliver primitives) Application Application protocol Application TP TP protocol TP IP IP protocol IP IP protocol IP IP protocol IP Access Data Link Access Access Data Link Access Access Data Link Access Host Router Router Host IP Addresses Each router or host on the Internet has a unique global address, called the IP address An IP address is 32 bits long. encodes a network number and a host number IP addresses are written in a dotted decimal notation: 128.238.42.112 means 10000000 in 1st yte 11101110 in 2nd yte 00101010 in 3rd yte 01110000 in 4th yte 10

IP Datagrams IP breaks data up into Datagrams limited to 64K bytes each Datagrams prevent long flows from monopolizing the network for a long time In future gigabit networks the 64K limit can be increased Example: For how long will a 1M byte datagram tie up a T1 line (1.5Mbps)? How about a 1 Gbps optical fiber? Datagrams can further be fragmented depending on packet size of the data link layer (e.g., Ethernet) IP Datagram Format >= five 32-bit words version (4 bits) header length Type of Service/TOS (8 bits) Identification (16 bits) flags (3 bits) TTL Time-to-Live (8 bits) Protocol (8 bits) Source IP address (32 bits) Destination IP address (32 bits) Total Length (in bytes) (16 bits) Fragment Offset (13 bits) Header hecksum (16 bits) Options (if any, <40 bytes) DATA 0 31 32-bit word 11

IP Header Version: oexistence of multiple versions (smooth transition) Identification, Fragment offset: 64K datagrams, fragmentation ToS: Allows prioritized or differentiated services TTL: Loop suppression IP Header (ontinued) Protocol: Specifies the higher-layer protocol. Used for demultiplexing to higher layers. Application TP UDP IMP IGMP IP Header checksum: verifies correctness of header. 12

IP Header (ontinued) Options: Security restrictions Record Route: each router that processes the packet adds its IP address to the header. Timestamp: each router that processes the packet adds its IP address and time to the header. (loose) Source Routing: specifies a list of routers that must be traversed. (strict) Source Routing: specifies a list of the only routers that can be traversed. Padding: ensures that header ends on a 4-byte boundary IP Fragmentation Host A sends large IP datagram to host Datagram traverses multiple networks with different MTUs Problem? Host A FDDI Ring Router Ethernet IP Router performs fragmentation Host MTUs: FDDI: 4352 Ethernet: 1500 13

What s involved in Fragmentation? The following fields in the IP header are involved: version (4 bits) header length TTL Time-to-Live (8 bits) Type of Service/TOS Identification Protocol (8 bits)... flags Total Length (in bytes) Fragment Offset Header hecksum (16 bits) Identification is the same in all fragments. Flags contains a more fragments bit (There is also a don t fragment bit that can be set) Fragment offset contains the offset of current fragment in the original datagram Total length is changed by fragmentation 14