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



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

Data Center Networks and Basic Switching Technologies

Chapter 4 Network Layer

Link Layer. 5.6 Hubs and switches 5.7 PPP 5.8 Link Virtualization: ATM and MPLS

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Asynchronous Transfer Mode: ATM. ATM architecture. ATM: network or link layer? ATM Adaptation Layer (AAL)

Network Layer: Network Layer and IP Protocol

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

Overview Computer Networking. IP Address Classes (Some are Obsolete) Outline. Lecture 9 IP Packets. CIDR IP addressing. Forwarding examples

Master Course Computer Networks IN2097

Internet Packets. Forwarding Datagrams

MPLS. Packet switching vs. circuit switching Virtual circuits

Architecture and Performance of the Internet

Top-Down Network Design

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

Answers to Sample Questions on Network Layer

Protocol Architecture

Computer Networks CS321

Protocol Architecture. ATM architecture

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

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

IP addressing and forwarding Network layer

10CS64: COMPUTER NETWORKS - II

Internet Protocol: IP packet headers. vendredi 18 octobre 13

Real-time apps and Quality of Service

Transport and Network Layer

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Internet Architecture and Philosophy

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

IP - The Internet Protocol

Lecture 28: Internet Protocols

WANs and Routers. M.Sc. Aleksandra Kanevce M.Sc. Aleksandra Bogojeska

QoS issues in Voice over IP

Encapsulating Voice in IP Packets

CS335 Sample Questions for Exam #2

Chapter 11. User Datagram Protocol (UDP)

The OSI Model: Understanding the Seven Layers of Computer Networks

Chapter 1 Computer Networks and the Internet

WAN Data Link Protocols

VLAN und MPLS, Firewall und NAT,

Computer Networks: LANs, WANs The Internet

ECE 358: Computer Networks. Solutions to Homework #4. Chapter 4 - The Network Layer

Internet structure: network of networks

Today. Finishing up inter-domain routing. Review of end-to-end forwarding. How we build routers. Economics of peering/settlement

Introduction to LAN/WAN. Network Layer (part II)

Module 2 Overview of Computer Networks

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

Communications and Computer Networks

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

VOICE OVER IP AND NETWORK CONVERGENCE

CH.1. Lecture # 2. Computer Networks and the Internet. Eng. Wafaa Audah. Islamic University of Gaza. Faculty of Engineering

Internet Protocols Fall Lectures 7-8 Andreas Terzis

Distributed Systems 3. Network Quality of Service (QoS)

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

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

QoS Switching. Two Related Areas to Cover (1) Switched IP Forwarding (2) 802.1Q (Virtual LANs) and 802.1p (GARP/Priorities)

Requirements of Voice in an IP Internetwork

NETWORK LAYER/INTERNET PROTOCOLS

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

The Network Layer Functions: Congestion Control

What is CSG150 about? Fundamentals of Computer Networking. Course Outline. Lecture 1 Outline. Guevara Noubir noubir@ccs.neu.

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

Chapter 7 outline. 7.5 providing multiple classes of service 7.6 providing QoS guarantees RTP, RTCP, SIP. 7: Multimedia Networking 7-71

Congestion Control Review Computer Networking. Resource Management Approaches. Traffic and Resource Management. What is congestion control?

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

Final for ECE374 05/06/13 Solution!!

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

SBSCET, Firozpur (Punjab), India

WAN Topologies MPLS. 2006, Cisco Systems, Inc. All rights reserved. Presentation_ID.scr Cisco Systems, Inc. All rights reserved.

Protocol Data Units and Encapsulation

Announcements. Midterms. Mt #1 Tuesday March 6 Mt #2 Tuesday April 15 Final project design due April 11. Chapters 1 & 2 Chapter 5 (to 5.

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

Three Key Design Considerations of IP Video Surveillance Systems

Chapter 3 ATM and Multimedia Traffic

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

Computer Networks and the Internet

Computer Networks & Security 2014/2015

DOCSIS 1.1 Cable Modem Termination Systems

Referring to the above question, the end-to-end delay (transmission delay plus propagation delay) is

Overview of Computer Networks

Introduction. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross

Internet Protocols Fall Outline

VOICE over IP H.323 Advanced Computer Network SS2005 Presenter : Vu Thi Anh Nguyet

This topic lists the key mechanisms use to implement QoS in an IP network.

Avaya ExpertNet Lite Assessment Tool

Does reality matter?: QoS & ISPs

Table of Contents. Cisco How Does Load Balancing Work?

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

Quality of Service (QoS)) in IP networks

CHAPTER 3 STATIC ROUTING

Introduction to Communication Networks Spring Unit 5 Switching Principles

Computer Networks Homework 1

Chapter 4 Network Layer

Network administrators must be aware that delay exists, and then design their network to bring end-to-end delay within acceptable limits.

What is Network Latency and Why Does It Matter?

Multiservice Access Technologies

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Names & Addresses. Names & Addresses. Hop-by-Hop Packet Forwarding. Longest-Prefix-Match Forwarding. Longest-Prefix-Match Forwarding

What s a protocol? What s a protocol? A closer look at network structure: What s the Internet? What s the Internet? What s the Internet?

Cisco Quality of Service and DDOS

Transcription:

CS 78 Computer Networks Internet Protocol (IP) Andrew T. Campbell campbell@cs.dartmouth.edu our focus What we will lean What s inside a router IP forwarding Internet Control Message Protocol (ICMP) IP routing Application Layer Transport Layer Network Layer Link Layer Physical Layer The Network Layer Transport segment from sending to receiving host On sending side encapsulates segments into datagrams On receiving side, delivers segments to layer Network layer protocols in every host, route Router examines header fields in all IP datagrams passing through it Two important functions forwarding: move packets from router s input to appropriate router output routing: determine route taken by packets from source to dest. Interplay between routing and forwarding 1

The Internet Network layer Host, router layer functions: Network layer Routing protocols path selection RIP, OSPF, BGP Transport layer: TCP, UDP forwarding table Link layer layer IP protocol addressing conventions datagram format packet handling conventions ICMP protocol error reporting router signaling Datagram versus virtual circuit s Internet (datagram) data exchange among computers elastic service, strict timing req. smart end systems (computers) can adapt, perform control, error recovery simple inside, complexity at edge many link types different characteristics uniform service difficult Virtual circuits evolved from telephony human conversation: strict timing, reliability requirements need for guaranteed service dumb end systems telephones complexity inside Virtual Circuit Networks First let s talk about virtual circuit s as a contrast to IP s Based on establishing and tearing down connections Ather important function in some architectures:, frame relay, X.25 Before datagrams flow, two end hosts and intervening routers establish virtual connection routers get involved Network vs layer connection service: : between two hosts (may also involve intervening routers in case of VCs) Transport: between two processes Network service model What service model for channel ing datagrams from sender to receiver? Example services for individual datagrams: guaranteed delivery guaranteed delivery with less than 40 msec delay Example services for a flow of datagrams: in-order datagram delivery guaranteed minimum bandwidth to flow restrictions on changes in inter-packet spacing 2

Network Architecture Network layer service models Internet Service Model best effort CBR VBR ABR UBR Bandwidth ne constant rate guaranteed rate guaranteed minimum ne Guarantees? Loss Order Timing Congestion feedback (inferred via loss) congestion congestion Network layer connection and connection-less service Datagram provides -layer connectionless service VC provides -layer connection service Analogous to the -layer services, but: service: host-to-host choice: provides one or the other implementation: in core Virtual circuits source-to-dest path behaves much like telephone circuit performance-wise actions along source-to-dest path call setup, teardown for each call before data can flow each packet carries VC identifier (t destination host address) every router on source-dest path maintains state for each passing connection link, router resources (bandwidth, buffers) may be allocated to VC (dedicated resources = predictable service) VC implementation VC comprises path from source to destination VC numbers, one number for each link along path entries in forwarding tables in routers along path packet belonging to VC carries VC number (rather than dest address) VC number can be changed on each link. New VC number comes from forwarding table 3

Forwarding table VC number 12 22 32 1 3 2 Forwarding table in interface rthwest router: number Incoming interface Incoming VC # Outgoing interface Outgoing VC # Virtual circuits: signaling protocols Used to setup, maintain teardown VC Used in, frame-relay, X.25 Not used in today s Internet 1 12 3 22 2 63 1 18 3 7 2 17 1 97 3 87 5. Data flow begins 6. Receive data 4. Call connected 3. Accept call 1. Initiate call 2. incoming call Routers maintain connection state information! Datagram s No call setup at layer Routers: state about end-to-end connections -level concept of connection Packets forwarded using destination host address packets between same source-dest pair may take different paths Forwarding table - 4 billion possible entries Destination Address Range 11001000 00010111 00010000 00000000 through 0 11001000 00010111 00010111 11111111 Link Interface 1. Send data 2. Receive data 11001000 00010111 00011000 00000000 through 1 11001000 00010111 00011000 11111111 11001000 00010111 00011001 00000000 through 2 11001000 00010111 00011111 11111111 otherwise 3 4

Longest prefix matching Prefix Match Link Interface 11001000 00010111 00010 0 11001000 00010111 00011000 1 11001000 00010111 00011 2 otherwise 3 What s in an IP router? Examples DA: 11001000 00010111 00010110 10100001 Which interface? DA: 11001000 00010111 00011000 10101010 Which interface? Router Architecture Overview Two key router functions: run routing algorithms/protocol (RIP, OSPF, BGP) forwarding datagrams from incoming to outgoing link Input Port Functions Decentralized switching Given datagram dest., lookup output port using forwarding table in input port memory Goal: complete input port processing at line speed Queuing: if datagrams arrive faster than forwarding rate into switch fabric 5

Three types of switching fabrics Switching Via Memory First generation routers: traditional computers with switching under direct control of CPU packet copied to system s memory speed limited by memory bandwidth (2 bus crossings per datagram) Input Port Memory Output Port System Bus Switching Via a Bus Switching via An Interconnection Network datagram from input port memory to output port memory via a shared bus bus contention: switching speed limited by bus bandwidth 1 Gbps bus, Cisco 1900: sufficient speed for access and enterprise routers (t regional or backbone) Overcome bus bandwidth limitations Banyan s, other interconnection nets initially developed to connect processors in multiprocessor Advanced design: fragmenting datagram into fixed length cells, switch cells through the fabric. Cisco 12000: switches Gbps through the interconnection 6

Output Ports Output port queueing Buffering required when datagrams arrive from fabric faster than the transmission rate Scheduling discipline chooses among queued datagrams for transmission buffering when arrival rate via switch exceeds output line speed queueing (delay) and loss due to output port buffer overflow! Input Port Queuing Fabric slower than input ports combined -> queueing may occur at input queues Head-of-the-Line (HOL) blocking: queued datagram at front of queue prevents others in queue from moving forward Queueing delay and loss due to input buffer overflow! 7