Introduction to Networks and the Internet

Similar documents
Introduction to Networks and the Internet

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

Network Layer: Internet Protocol

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

Network Layer: Control/data plane, addressing, routers

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat no true in practice. administrative autonomy

Chapter 7. Local Area Network Communications Protocols

CMPE 80N: Introduction to Networking and the Internet

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

Revision of Previous Lectures

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

1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24

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

Internet Protocol (IP)

CS 3516: Computer Networks

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 12

Network layer overview

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

CEN445 Network Protocols & Algorithms. Network Layer. Prepared by Dr. Mohammed Amer Arafah Summer 2008

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

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

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

ECE 4450:427/527 - Computer Networks Spring 2017

TCP/IP THE TCP/IP ARCHITECTURE

Network layer: Overview. Network Layer Functions

Lecture 7. Network Layer. Network Layer 1-1

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

Lecture 16: Network Layer Overview, Internet Protocol

TCP/IP protocol suite

cs144 Midterm Review Fall 2010

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

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

EEC-484/584 Computer Networks

Network Models. Behrouz A. Forouzan Data communication and Networking Fourth edition

ARP, IP. Chong-Kwon Kim. Each station (or network interface) should be uniquely identified Use 6 byte long address

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018

Chapter 4 Network Layer

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

HY 335 Φροντιστήριο 8 ο

CIS 551 / TCOM 401 Computer and Network Security. Spring 2006 Lecture 16

CMSC 332 Computer Networks Network Layer

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.

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

CS 3516: Advanced Computer Networks

CS 348 Computer Networks. IP and Routing. Indian Institute of Technology, Bombay

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

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

Chapter 06 IP Address

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

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

CMPE 80N: Introduction to Networking and the Internet

The Internet Protocol (IP)

CSEP 561 Internetworking. David Wetherall

Chapter 4: Network Layer

CSE 3214: Computer Network Protocols and Applications Network Layer

Administrivia CSC458 Lecture 4 Bridging LANs and IP. Last Time. This Time -- Switching (a.k.a. Bridging)

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

CS-461 Internetworking. Dr. Mohamed Aboutabl

CSCI Computer Networks Fall 2016

Lecture 11: Networks & Networking

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

Introduction to TCP/IP networking

EP2120 Internetworking/Internetteknik IK2218 Internets Protokoll och Principer

Chapter 4 Network Layer: The Data Plane. Part A. Computer Networking: A Top Down Approach

OSI Network Layer. Chapter 5

Telecom Systems Chae Y. Lee. Contents. Overview. Issues. Addressing ARP. Adapting Datagram Size Notes

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

Internet Protocols (chapter 18)

Chapter 4 Network Layer

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Chapter 7 Internet Protocol Version 4 (IPv4) Kyung Hee University

Introduction to Information Science and Technology 2017 Networking II. Sören Schwertfeger 师泽仁

Internetworking Part 2

Internet Control Message Protocol

CN1047 INTRODUCTION TO COMPUTER NETWORKING CHAPTER 6 OSI MODEL TRANSPORT LAYER

CIS 551 / TCOM 401 Computer and Network Security. Spring 2007 Lecture 8

CS 3516: Advanced Computer Networks

Router Architecture Overview

NETWORK LAYER DATA PLANE

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

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

CIS 551 / TCOM 401 Computer and Network Security

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

Business Data Communications and Networking

Chapter 4: network layer. Network service model. Two key network-layer functions. Network layer. Input port functions. Router architecture overview

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

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Network Layer: outline

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

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

Chapter 20 Network Layer: Internet Protocol 20.1

Network Reference Models

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

Routing Protocols --- Exterior Gateway Protocol

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

CSC 4900 Computer Networks: Network Layer

Chapter 4: network layer

Transcription:

Introduction to Networks and the Internet CMPE 80N Winter 2004 Lecture 18 Announcements Fourth quiz on Monday, March 1 st. Third HTML discussion session today by Kiran (before class). Summary posted on the Web page. FINAL HTML discussion session by Debasree on Thu 3-4pm in BE 109. Quiz review session on Friday by Kiran in BE 354I from 4:45-5:45. Practice quiz. In order to schedule a second review session, we will wait to hear from you first. 1 2 Networks and IP addressing IP address: Network part + Host part Network: Any host can physically be reached by any other host without intervening router All hosts in the same have the same number Routing Table (revisited) routing table in A Dest. Net. next router Nhops 223.1.1 0 223.1.2 223.1.1.4 1 223.1.3 223.1.1.4 1 3 4

! "! & % Routing Example 1 Routing Example 2 Datagram from A to B: look up net. address of B find B is on same net. as A link layer will send datagram directly to B inside link-layer frame B and A are directly connected Dest. Net. next router Nhops 223.1.1 0 223.1.2 223.1.1.4 1 223.1.3 223.1.1.4 1 Datagram from A to E: look up address of E E on different A, E not directly attached routing table: next hop router to E is 223.1.1.4 link layer sends datagram to router 223.1.1.4 inside link-layer frame datagram arrives at 223.1.1.4 continued.. Dest. Net. next router Nhops 223.1.1 0 223.1.2 223.1.1.4 1 223.1.3 223.1.1.4 1 5 6 Routing Example 2 (cont d) Arriving at 223.1.4, destined for look up address of E E on same as router s interface 223.1.2.9 router, E directly attached link layer sends datagram to inside link-layer frame via interface 223.1.2.9 datagram arrives at!!! (hooray!) # $ Dest. next router Nhops interface 223.1.1-1 223.1.1.4 223.1.2-1 223.1.2.9 223.1.3-1 7 Inter Routing Inters are collections on s. The Internet interconnects autonomous systems (ASs). Hierarchical structure. Regional US European National 8

Inter Routing Inter Routing (cont d) 2-level hierarchy: Routing within each : interior gateway protocol. Routing between s: exterior gateway protocol. Within each, different routing algorithms can be used. Each is autonomously managed and independent of others: autonomous system (AS). Typically, packet starts in its LAN. Gateway receives it (broadcast on LAN to unknown destination). Gateway sends packet to gateway on the destination using its routing table. 9 10 The Intering Layer The Internet Protocol: IP The Internet as a collection on s or autonomous systems (ASs). Hierarchical structure. Regional US European National 11 Glues Internet together. Common -layer protocol spoken by all Internet participating s. Best effort datagram service: No reliability guarantees. No ordering guarantees. 12

IP (cont d) IP is responsible for datagram routing. Important: each datagram is routed independently! Two different datagrams from same source to same destination can take different routes! Why? Implications? IP (cont d) IP provides a best effort delivery mechanism Does not guarantee to prevent duplicate datagrams, delayed and out-of-order delivery, corruption of data or datagram loss Reliable delivery is provided by the transport layer, not the layer (IP) Network layer (IP) can detect and report errors without actually fixing them 13 14 Datagrams IP Datagram Format Transport layer breaks data streams into datagrams which are transmitted over Internet, possibly being fragmented. When all datagram fragments arrive at destination, reassembled by layer and delivered to transport layer at destination host. IP datagram consists of header and data (or payload). Header: 20-byte fixed (mandatory) part. Variable length optional part. 15 16

IP Versions IP(v4) Header Format IPv4: IP version 4. Current, predominant version. 32-bit long addresses. IPv6: IP version 6. Evolution of IPv4. Longer addresses (16-byte long). Payload Header 17 18 Encapsulation Revisited Encapsulation - Example Each datagram is encapsulated within a data link layer frame The whole datagram is placed in the data area of the frame. The data link layer addresses for source and destination included in the frame header. 19 20

Encapsulation Across Multiple Hops Encapsulation Across Multiple Hops - Example Each router in the path from source to destination: Decapsulates datagram from incoming frame. Forwards datagram - determines next hop. Encapsulate datagram in outgoing frame. 21 22 Maximum Transfer Unit Each data link layer technology specifies the maximum size of a frame. Called the Maximum Transfer Unit (MTU). Ethernet: 1,500 bytes. Token Ring: 2048 or 4096 bytes. What happens when large packet wants to travel through with smaller MTU? Maximum payloads (data portion of datagram) range from 48 bytes (ATM cells) to 64Kbytes (IP packets). A possible solution: MTU (cont d) The sender may limit the size of the datagrams to the MTU of the What if there are other s in the path to destination with smaller MTU? 23 24

Fragmentation Keeping Track of Fragments Another solution (used by IP): fragmentation. Gateways break packets into fragments to fit the s MTU; each sent as separate datagram. Gateway on the other side have to reassemble fragments into original datagram. Fragments must be numbered so that original data stream can be reconstructed. Define elementary fragment size that can pass through every. When packet fragmented, all pieces equal to elementary fragment size, except last one (may be smaller). Datagram may contain several fragments. 25 26 Fragmentation - Example 27