Network Infrastructures

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

Multimedia in the Internet

Need For Protocol Architecture

Need For Protocol Architecture

TSIN02 - Internetworking

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

TSIN02 - Internetworking

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

The Internet Protocol (IP)

The Interconnection Structure of. The Internet. EECC694 - Shaaban

IP Protocols. ALTTC/Oct

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

in the Internet Andrea Bianco Telecommunication Network Group Application taxonomy

6.1 Internet Transport Layer Architecture 6.2 UDP (User Datagram Protocol) 6.3 TCP (Transmission Control Protocol) 6. Transport Layer 6-1

TSIN02 - Internetworking

5105: BHARATHIDASAN ENGINEERING COLLEGE NATTARMPALLI UNIT I FUNDAMENTALS AND LINK LAYER PART A

ETSF10 Internet Protocols Transport Layer Protocols

Module objectives. Integrated services. Support for real-time applications. Real-time flows and the current Internet protocols

Introduction to Internetworking

Chapter 7. Local Area Network Communications Protocols

What is the difference between unicast and multicast? (P# 114)

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.

EEC-484/584 Computer Networks. Lecture 16. Wenbing Zhao

OSI Transport Layer. objectives

TCP /IP Fundamentals Mr. Cantu

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

Network Layer: Control/data plane, addressing, routers

Data Communications and Networks Spring Syllabus and Reading Assignments

TSIN02 - Internetworking

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

EEC-684/584 Computer Networks

Real-Time Protocol (RTP)

UNIT 2 TRANSPORT LAYER

Networking: Network layer

Vorlesung Kommunikationsnetze

Data & Computer Communication

Protocols. End-to-end connectivity (host-to-host) Process-to-Process connectivity Reliable communication

Chapter 5. The Network Layer

Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,

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

Lecture 3: The Transport Layer: UDP and TCP

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

TCP/IP THE TCP/IP ARCHITECTURE

OSI Layer OSI Name Units Implementation Description 7 Application Data PCs Network services such as file, print,

CMPE 80N: Introduction to Networking and the Internet

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

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

Chapter 09 Network Protocols

TCPIP Protocol Suite & Utilities. Revision no.: PPT/2K403/02

EEC-682/782 Computer Networks I

Lecture 3 Protocol Stacks and Layering

Introduction to Protocols

Internetworking. different kinds of network technologies that can be interconnected by routers and other networking devices to create an internetwork

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

Next Steps Spring 2011 Lecture #18. Multi-hop Networks. Network Reliability. Have: digital point-to-point. Want: many interconnected points

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

Internetworking Part 2

Internet Services & Protocols. Quality of Service Architecture

Defining Networks with the OSI Model. Module 2

Introduction to Networking. Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.

Introduction to Open System Interconnection Reference Model

06/02/ Local & Metropolitan Area Networks 0. INTRODUCTION. 1. History and Future of TCP/IP ACOE322

Topics for This Week

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

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

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

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

SYED AMMAL ENGINEERING COLLEGE

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

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

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

Multimedia Networking

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

Examination 2D1392 Protocols and Principles of the Internet 2G1305 Internetworking 2G1507 Kommunikationssystem, fk SOLUTIONS

Fundamentals of IP Networking 2017 Webinar Series Part 4 Building a Segmented IP Network Focused On Performance & Security

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

Chapter 4: network layer

Internetwork Protocols

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

II. Principles of Computer Communications Network and Transport Layer

Guide To TCP/IP, Second Edition UDP Header Source Port Number (16 bits) IP HEADER Protocol Field = 17 Destination Port Number (16 bit) 15 16

CHAPTER-2 IP CONCEPTS

Networking interview questions

Reti di Calcolatori I

Just enough TCP/IP. Protocol Overview. Connection Types in TCP/IP. Control Mechanisms. Borrowed from my ITS475/575 class the ITL

Internet. 1) Internet basic technology (overview) 3) Quality of Service (QoS) aspects

ECE4110 Internetwork Programming. Introduction and Overview

Router Architecture Overview

Transporting Voice by Using IP

CompSci 356: Computer Network Architectures. Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch & 3.2. Xiaowei Yang

Multicast and Quality of Service. Internet Technologies and Applications

Interconnecting Networks with TCP/IP. 2000, Cisco Systems, Inc. 8-1

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

Why dynamic route? (1)

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Basics (cont.) Characteristics of data communication technologies OSI-Model

Introduction to routing in the Internet

4 rd class Department of Network College of IT- University of Babylon

Transcription:

Network Infrastructures A.A. 2014-2015 Prof. Francesca Cuomo Review on Data Networking and the Internet 2 Lecture 2 pag. 1

Inter-Networks: Networks of Networks What is it? Connect many disparate physical networks and make them function as a coordinated unit - Douglas Comer Many => scale Disparate => heterogeneity Result: Universal connectivity! The inter-network looks like one large switch, User interface is sub-network independent 3 The Internet: A vision by domain 4 Lecture 2 pag. 2

Inter-Networks: Networks of Networks host IP host IP INTERNET Router host IP Router Sub-net 1 Sub-net 2 non IP host Adding of TCP/IP protocol suite Router Sub-net 6 non IP host non IP host ì Sub-net 5 Router Router non IP host Sub-net 3 Sub-net 4 Router host IP host IP host IP host IP 5 Inter-Networks: Networks of Networks Internetworking involves two fundamental problems: heterogeneity and scale Concepts: Translation, overlays, address & name resolution, fragmentation: to handle heterogeneity Hierarchical addressing, routing, naming, address allocation, congestion control: to handle scaling 6 Lecture 2 pag. 3

Internet protocol suite Application Presentation Session Transport Telnet FTP SMTP SNMP TCP e/o UDP NFS XDR RPC Network Data Link Physical OSI ICMP IP ARP RARP Non Specificati Protocolli di routing Internet Protocol Suite 7 IP: Internet Protocol Layer 3 protocol Defines Packet format Address format Data (named datagram) forwarding procedures Best-effort service connectionless unrealiable With no QoS guarantess Specified in RFC 791 (november 1981) 8 Lecture 2 pag. 4

IP protocol Connectionless delivery Stateless approach» No state information on datagram kept in routers» No connection concept at IP layer Each datagram routed independently» Two packets with the same source and destination can follow two different paths» In practice, most packets follow a fixed route, unless Link faiulure Parallel links among routers No QoS guarantees All packets treated fairly Extensions to the traditional IP QoS model 9 IP protocol: unreliable delivery In case of: Failure (ex. out of service router, link failure)» Datagram dropped end error message sent to the source Buffer shortage» Datagram dropped (no error message sent, since the datagram cannot be stored) Checksum error (error control only over the header!)» Datagram dropped» No error message sent, since address may be wrong 10 Lecture 2 pag. 5

IP packet header 0 4 8 16 19 24 31 Version HLE N Service Type Total Length Identification Flags Fragment Offset Time To Live Protocol Header Checksum Source IP Address Destination IP Address Options PAD Standard size: 20 byte 11 Scalable Forwarding, Structured Addresses Address has structure which aids the forwarding process. Address assignment is done such that nodes which can be reached without resorting to L3 forwarding have the same prefix (network ID) Network ID Host ID Demarcator 12 Lecture 2 pag. 6

Scalable Forwarding, Structured Addresses A simple comparison of network ID of destination and current network (broadcast domain) identifies whether the destination is directly connected I.e. Reachable through L2 forwarding only Within L3 forwarding, further structure can aid hierarchical organization of routing domains (because routing algorithms have other scalability issues) 13 Internet Routing Drivers Technology and economic aspects: Internet built out of cheap, unreliable components as an overlay on top of leased telephone infrastructure for WAN transport.» Cheaper components => fail more often => topology changes often => needs dynamic routing Components (including end-systems) had computation capabilities.» Distributed algorithms can be implemented Cheap overlaid inter-networks => several entities could afford to leverage their existing (heterogeneous) LANs and leased lines to build inter-networks.» Led to multiple administrative clouds which needed to interconnect for global communication. 14 Lecture 2 pag. 7

Internet Routing Model 2 key features: Dynamic routing Intra- and Inter-AS routing, AS = locus of admin control Internet organized as autonomous systems (AS). AS is internally connected Interior Gateway Protocols (IGPs) within AS. Eg: RIP, OSPF, HELLO Exterior Gateway Protocols (EGPs) for AS to AS routing. Eg: EGP, BGP-4 15 Hierarchical routing Ideal (conceptually simpler) case All routers are identical Flat network, no hierarchy Not useable in practice Scalability: with 100 million of destination :» All destinations in a single routing rable?» Routing info exchange would require too much bandwidth Administrative autonomy» Internet = network of networks» Each network administrator is willing to control rotuing functions within its domain 16 Lecture 2 pag. 8

Hierarchical routing: route aggregation Hierarchical addressing permits more efficient announcements of routing infos Organization 0 200.23.16.0/23 Organization 1 200.23.18.0/23 Organization 2 200.23.20.0/23. Organization 7 200.23.30.0/23.. ISP B ISP A Send me any datagram with address starting with 200.23.16.0/20 Internet Send me any datagram with address starting with 199.31.0.0/16 17 Hierarchical routing: route aggregation If ISP A has a more specific path to Organization 1 Organization 0 200.23.16.0/23 Organization 2 200.23.20.0/23. Organization 7 200.23.30.0/23.. ISP B Send me any datagram with address starting with 200.23.16.0/20 Internet Organization 1 200.23.18.0/23 ISP A Send me any datagram with address starting with 199.31.0.0/16 or 200.23.18.0/23 18 Lecture 2 pag. 9

Hierarchical routing Router aggregated in Autonomous System (AS) Networks with complex structure (many subnets and routers) but with the same administrative authority Router within the same AS use the same routing protocol Intra-AS routing protocols: (IGP: Interior Gateway Protocol)» Routers belonging to different AS may use different IGP protocols 19 Hierarchical routing In each AS there exist gateway routers Responsible to route to destinations external to the AS Run intra-as routing protocols with all other AS routers Run also inter-as routing protocols (EGP: Exterior Gateway Protocol) We can identify an internal routing (IGP) and an external routing (EGP) 20 Lecture 2 pag. 10

Intra-AS and Inter-AS routing a C.b b C d A A.a a b A.c c B.a a B c Gateways: perform inter-as routing amongst themselves b perform intra-as routers with other routers in their AS inter-as, intra-as routing in gateway A.c network layer link layer physical layer 21 Intra-AS and Inter-AS routing a Host h1 C C.b b A.a Inter-AS routing between A and B A.c a d A b c Intra-AS routing within AS A B.a Host c h2 a b B Intra-AS routing within AS B 22 Lecture 2 pag. 11

Requirements for Intra-AS Routing Should scale for the size of an AS. Low end: 10s of routers (small enterprise) High end: 1000s of routers (large ISP) Different requirements on routing convergence after topology changes Low end: can tolerate some connectivity disruptions High end: fast convergence essential to business (making money on transport) Operational/Admin/Management (OAM) Complexity Low end: simple, self-configuring High end: Self-configuring, but operator hooks for control Traffic engineering capabilities: high end only 23 Requirements for Inter-AS Routing Should scale for the size of the global Internet. Focus on reachability, not optimality Use address aggregation techniques to minimize core routing table sizes and associated control traffic At the same time, it should allow flexibility in topological structure (eg: don t restrict to trees etc) Allow policy-based routing between autonomous systems Policy refers to arbitrary preference among a menu of available options (based upon options attributes) In the case of routing, options include advertised AS-level routes to address prefixes Extensible to meet the demands for newer policies. 24 Lecture 2 pag. 12

The Congestion Problem Problem: demand outstrips available capacity If information about i, and is known in a central location where control of i or can be effected with zero time delays, the congestion problem is solved! Unfortunately, we have incomplete info, require a distributed solution with time-varying timedelays i 1 Demand i Capacity n 25 Congestion: A Close-up View knee point after which throughput increases very slowly delay increases fast cliff point after which throughput starts to decrease very fast to zero (congestion collapse) delay approaches infinity Throughput Delay knee cliff Load packet loss congestion collapse Note (in an M/M/1 queue) delay = 1/(1 utilization) Load 26 Lecture 2 pag. 13

Congestion Control vs. Congestion Avoidance Congestion control goal stay left of cliff Congestion avoidance goal stay left of knee Right of cliff: Congestion collapse Throughput knee cliff congestion collapse Load 27 Goals of Congestion Control To guarantee stable operation of packet networks Sub-goal: avoid congestion collapse To keep networks working in an efficient status Eg: high throughput, low loss, low delay, and high utilization To provide fair allocations of network bandwidth among competing flows in steady state For some value of fair 28 28 Lecture 2 pag. 14

Quality of Service: What is it? Multimedia applications: network audio and video QoS network provides application with level of performance needed for application to function. 29 QoS Challenges TCP/UDP/IP suite provides best-effort, no guarantees on expectation or variance of packet delay Streaming applications delay of 5 to 10 seconds is typical and has been acceptable, but performance deteriorate if links are congested (transoceanic) Real-Time Interactive requirements on delay and its jitter have been satisfied by overprovisioning (providing plenty of bandwidth), what will happen when the load increases?... 30 Lecture 2 pag. 15

QoS Challenges Most router implementations use only First- Come-First-Serve (FCFS or FIFO) packet processing and transmission scheduling To mitigate impact of best-effort protocols, we can: Use UDP to avoid TCP and its slow-start phase Buffer content at client and control playback to remedy jitter Adapt compression level to available bandwidth 31 Fundamental QoS Problems FIFO Scheduling Discipline B B In a FIFO service discipline, the performance assigned to one flow is convoluted with the arrivals of packets from all other flows! Cant get QoS with a free-for-all Need to use new scheduling disciplines which provide isolation of performance from arrival rates of background traffic 32 Lecture 2 pag. 16

Solution Approaches in IP Networks Just add more bandwidth and enhance caching capabilities (over-provisioning)! Need major change of the protocols : Incorporate resource reservation (bandwidth, processing, buffering), and new scheduling policies Set up service level agreements with applications, monitor and enforce the agreements, charge accordingly Need moderate changes ( Differentiated Services ): Use two traffic classes for all packets and differentiate service accordingly Charge based on class of packets Network capacity is provided to ensure first class packets incur no significant delay at routers 33 QoS Big Picture: Control/Data Planes Control Plane: Signaling + Admission Control or SLA (Contracting) + Provisioning/Traffic Engineering Router Workstation Router Internetwork or WAN Router Workstation Data Plane: Traffic conditioning (shaping, policing, marking etc) + Traffic Classification + Scheduling, Buffer management 34 Lecture 2 pag. 17

Internet transport layer Two alternative protocols: TCP e UDP Different service models: TCP is connection oriented, reliable, it provides flow and congestion control, it is stateful, it supports only unicast traffic UDP is connectionless, unreliable, stateless, it supports multicast traffic Common characteristics: Multiplexing and demultiplexing of application processes through the port mechanism Error detection over header and dati (optional in UDP) 35 Mux/demux: ports Final destination of data is not the host but an application process running in the host Interface between application processes and the network architecture is named port Integer number over 16 bit There is an association between ports and processes» Public server process are statically associated to well-know ports, with an identifier smaller than 1024 (e.g.: 80 for WWW, 25 for email)» Client processes use ports dynamically assigned by the operating system, with an identifier larger than 1024 Each client process on a given host has a unique port number within that host 36 Lecture 2 pag. 18

UDP: User Datagram Protocol Connectionless transport protocol No delivery guarantee Two main functions: Application process multiplexing through port abstraction checksum (optional) to verify data integrity Applications using UDP should solve (if interested) Reliability issues» Data loss, data duplication Sequence control Flow and congestion control Standardized in RFC 768 37 UDP: packet format 0 4 8 16 19 24 31 UDP Source Port UDP Message Length UDP Destination Port UDP Checksum DATA 38 Lecture 2 pag. 19

UDP: applicability UDP is useful when: Operating in local area, a reliable network (NFS) All application data are contained in a single packet, so that there is no need to open a connection for a single packet (DNS) Full reliability is not fundamental (some intercative video/audio service) A fast protocol is needed» Connection opening overhead avoided» Retransmission mechanisms to ensure reliability cannot be used due to strict timing constraints Application manages retransission mechanisms (DNS) Need to send data at constant rate or at a rate independent from the network (some interactive video-audio services) 39 TCP protocol TCP (Transmission Control Protocol ) is Connection oriented Reliable (through retransmission)» Correct and in-order delivery of stream of data Flow control Congestion control Used by applications requiring reliability telnet (remote terminal) ftp (file transfer protocol) smtp (simple mail transfer protocol) http (hypertext transfer protocol) 40 Lecture 2 pag. 20

TCP Multiplexing/demultiplexing through ports Connection opened between two TCP entities (service similar to a virtual circuit) bidirectional (full duplex) With error and sequence control It is more complex than UDP, it requires more CPU and memory, state information (port numbers, window size, etc) must be kept in each host for each TCP connection 41 TCP TCP freely segments and reassembles data: Manages byte stream generated by application protocols; unstructured data at TCP level A FIFO buffer byte oriented is the interface between TCP and application processes Window protocol to ensure reliability Flow control and congestion control operates on the transmitter window size Flow control executed by the TCP receiver exploiting the window field in the TCP header Congestion control autonomously executed by the TCP transmitter 42 Lecture 2 pag. 21

TCP: connection identification A TCP connection is identified uniquely by: Source and destination IP addresses (layering principle violation) Source and destination port numbers Example: TCP connection identifed by porta 15320 on host with IP address 130.192.24.5 and port 80 on host with IP address 193.45.3.10 Note that TCP and UDP use port numbers are independent 43 TCP: header 0 4 8 16 19 24 32 bit Source Port Destination Port Sequence Number Acknowledgment Number HLE N Resv Control flag Checksum Window Urgent Pointer Options Padding 44 Lecture 2 pag. 22

RTP Real-Time Transport Protocol is an Internet protocol standard to manage real-time transmission of multimedia data RTP is commonly used in Internet telephony applications. RTP combines its data transport with a control protocol (RTCP), which makes it possible to monitor data delivery for large multicast RTP runs on top of UDP 45 RTP RTP includes: a sequence number, which is used to detect lost packets; payload identification, which describes the specific media encoding so that it can be changed if it has to adapt to a variation in bandwidth; frame indication, which marks the beginning and end of each frame; source identification, which identifies the originator of the frame; intramedia synchronization, which uses timestamps to detect different delay jitter within a single stream and compensate for it 46 Lecture 2 pag. 23

RTPC includes: RTPC quality of service (QoS) feedback, which includes the numbers of lost packets, round-trip time, and jitter, so that the sources can adjust their data rates accordingly; session control, which uses the RTCP BYE packet to allow participants to indicate that they are leaving a session; identification, which includes a participant's name, e-mail address, and telephone number for the information of other participants; intermedia synchronization, which enables the synchronization of separately transmitted audio and 47 video streams. Lecture 2 pag. 24