Common network/protocol functions. Common but already covered

Similar documents
Common network/protocol functions

Signaling. Stefan Schmid - 1

Multimedia networking: outline

Mohammad Hossein Manshaei 1393

Real-Time Control Protocol (RTCP)

Master Kurs Rechnernetze Computer Networks IN2097

Multimedia networking: outline

Multimedia Applications. Classification of Applications. Transport and Network Layer

Video Streaming and Media Session Protocols

COMP 249 Advanced Distributed Systems Multimedia Networking. The Resource Reservation Protocol RSVP

Intserv: QoS guarantee scenario. IETF Integrated Services. Call Admission. Intserv QoS: Service models [rfc2211, rfc 2212] Arriving session must :

ITTC Communication Networks The University of Kansas EECS 780 Multimedia and Session Control

Multicast. Midterm. EECS 122: Lecture 16. University of California Berkeley. Exam was not meant to be easy

Chapter 7 Multimedia Networking

Voice over IP (VoIP)

Lecture 9: Media over IP

Chapter 7 Multimedia Networking

CSC 4900 Computer Networks: Multimedia Applications

Computer Networks. Wenzhong Li. Nanjing University

Chapter 9. Multimedia Networking. Computer Networking: A Top Down Approach

Multimedia

Master Course Computer Networks IN2097

Overview of the Session Initiation Protocol

55:054 Communication Networks 12/11/2008

TSIN02 - Internetworking

Master Course Computer Networks IN2097

Mohammad Hossein Manshaei 1393

Multimedia Networking

Master Course Computer Networks IN2097

Quality of Service. Qos Mechanisms. EECS 122: Lecture 15

Today. March 7, 2006 EECS122 Lecture 15 (AKP) 4. D(t) Scheduling Discipline. March 7, 2006 EECS122 Lecture 15 (AKP) 5

EPL606. Quality of Service and Traffic Classification

The Session Initiation Protocol

RSVP and the Integrated Services Architecture for the Internet

Protocols supporting VoIP

Transport layer. UDP: User Datagram Protocol [RFC 768] Review principles: Instantiation in the Internet UDP TCP

Transport layer. Review principles: Instantiation in the Internet UDP TCP. Reliable data transfer Flow control Congestion control

Institute of Computer Technology - Vienna University of Technology. L73 - IP QoS Integrated Services Model. Integrated Services Model

Design Intentions. IP QoS IntServ. Agenda. Design Intentions. L73 - IP QoS Integrated Services Model. L73 - IP QoS Integrated Services Model

Quality of Service (QoS)

Multimedia Communication

Different Layers Lecture 20

Multimedia Networking. Protocols for Real-Time Interactive Applications

ABSTRACT. that it avoids the tolls charged by ordinary telephone service

Department of Computer Science. Burapha University 6 SIP (I)

Summary of last time " " "

Suprakash Datta. Office: CSEB 3043 Phone: ext Course page:

Kommunikationssysteme [KS]

The Evolution of Quality-of-Service on the Internet. The Evolution of Quality-of-Service. on the Internet

Transporting Voice by Using IP

Signaling System 7 (SS7) By : Ali Mustafa

Chapter 7 Multimedia Networking

Chapter 3: Transport Layer. Chapter 3 Transport Layer. Chapter 3 outline. Transport services and protocols

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

CSCI Topics: Internet Programming Fall 2008

Introduction to Networks and the Internet

VoIP Basics. 2005, NETSETRA Corporation Ltd. All rights reserved.

Resource Reservation Protocol

Secure Telephony Enabled Middle-box (STEM)

Chapter 3 Transport Layer

CMPE 80N: Introduction to Networking and the Internet

Application Scenario 1: Direct Call UA UA

Goals for Today s Class. EE 122: Networks & Protocols. What Global (non-digital) Communication Network Do You Use Every Day?

CNT 6885 Network Review on Transport Layer

From Alexander Graham Bell to SIP. Russ Clark August 24, 2009

Chapter 3 Transport Layer

Lecture 11. Transport Layer (cont d) Transport Layer 1

Introduction to computer networking

Internet Multicast Routing

TODAY AGENDA. VOIP Mobile IP

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

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

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

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

ECE 650 Systems Programming & Engineering. Spring 2018

Internet and Intranet Protocols and Applications

Broadcast Routing. Multicast. Flooding. In-network duplication. deliver packets from source to all other nodes source duplication is inefficient:

Z24: Signalling Protocols

William Stallings Data and Computer Communications 7 th Edition. Chapter 10 Circuit Switching and Packet Switching

Telematics 2 & Performance Evaluation

Internet Services & Protocols. Quality of Service Architecture

Internet Technology 4/29/2013

CSCD 330 Network Programming Winter 2015

Overview of SIP. Information About SIP. SIP Capabilities. This chapter provides an overview of the Session Initiation Protocol (SIP).

Internet Streaming Media. Reji Mathew NICTA & CSE UNSW COMP9519 Multimedia Systems S2 2006

From Alexander Graham Bell to SIP. Russ Clark August 27, 2008

Transport Protocols Reading: Sections 2.5, 5.1, and 5.2. Goals for Todayʼs Lecture. Role of Transport Layer

CS 268: Integrated Services

Transport Layer: outline

Information About SIP Compliance with RFC 3261

Data Communications & Networks. Session 10 Main Theme Multimedia Networking. Dr. Jean-Claude Franchitti

Lecture 2 Communication services The Trasport Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Real-time Services BUPT/QMUL

INSE 7110 Winter 2004 Value Added Services Engineering in Next Generation Networks Week #1. Roch H. Glitho- Ericsson/Concordia University

Compliance with RFC 3261

UNIT IV -- TRANSPORT LAYER

Applications/Design. Example. Locating Resource. End-to-end. Connection UCB. Applications EECS 122

QoS (Quality of Service) Chapter 6 Multimedia Networking. MM Networking Applications. Streaming Stored Multimedia

Lecture 08: The Transport Layer (Part 2) The Transport Layer Protocol (TCP) Dr. Anis Koubaa

Transcription:

Common network/protocol functions Goals: Identify, study common architectural components, protocol mechanisms Synthesis: ig picture Depth: important topics not covered in introductory courses Overview: Signaling: TCP, Telephone network, Internet Protocols State handling Randomization Indirection Service location Network virtualization 1 Common ut already covered Flow control Congestion control Routing Timers Naming and addressing others? 2 1

Signaling Signaling: exchange of messages among network entities to enale (provide service) to connection/call Before, during, after connection/call Call setup and teardown Call maintenance Measurement, illing Between End-user <-> network End-user <-> end-user Network element <-> network element 3 Examples Internet TCP handshake RSVP (Resource Reservation Protocol) SIP Telephone network SS7 (Signaling System no. 7) 4 2

Signaling in the Internet connectionless (stateless) forwarding y IP routers est effort service + = no network signaling protocols in initial IP design New requirement: Transport protocol needs state and variale initialization TCP: Transport Control Protocol [RFCs 793, 1122, 1323, 2018, 2581] 5 TCP Connection Management Recall: TCP sender, receiver estalish connection efore exchanging data segments Initialize TCP variales: Seq. #s Buffers, flow control info (e.g. RcvWindow) MSS and other options Client: connection initiator, server: contacted y client Three-way handshake Simultaneous open TCP Half-Close (four-way handshake) Connection aorts via RSTs 6 3

TCP Connection Management (2) Three way handshake: Step 1: Client end system sends TCP SYN control segment to server Specifies initial seq # Specifies initial window # Step 2: Server end system receives SYN, replies with SYNACK control segment ACKs received SYN Allocates uffers Specifies server receiver initial seq. # Specifies initial window # Step 3: Client system receives SYNACK, sends ACK 7 TCP Connection Management (3) Closing a connection: Client closes socket: clientsocket.close(); close client FIN server Step 1: Client end system sends TCP FIN control segment to server Step 2: Server receives FIN, replies with ACK. Closes connection, sends FIN. ACK FIN close 8 4

TCP Connection Management (4) Step 3: Client receives FIN, replies with ACK. Enters timed wait will respond with ACK to received FINs Step 4: Server, receives ACK. Connection closed. closing client FIN ACK FIN server closing Note: With small modification, can handly simultaneous FINs. timed wait closed ACK closed 9 TCP Connection Management (5) TCP client lifecycle 10 5

TCP Connection Management (6) TCP server lifecycle 11 TCP state machine 12 6

Telephone network Created 1876 Currently a gloal Infrastructure central office long haul Network voice trunk lines central office PBX central office suscrier access lines (twisted pair) Toll switch (Backone Switch) 13 Central office and local loop central office long haul network central office PBX central office Toll switch Each phone user (suscrier) has direct connection to switch in central office (local loop) Local loop has length 1-10 km Switches in central office called (local) exchanges Company providing local telephone service called local exchange carrier or LEC (e.g., Bell Atlantic) 14 7

Private Branch Exchange (PBX) central office long haul network central office PBX central office Toll switch PBX (Private Branch Exchange) telephone system within enterprise that switches calls on local lines; allows users to share fixed numer of external lines to central office Saves cost of line per user to central office 15 Long-haul network central office long haul network central office PBX central office Toll switch Toll switches provide long-distance connectivity over long distance trunks ~500 toll switches in US Toll switch runs 100,000 + phone calls 16 8

How is voice transmitted? Two ways: Analog voice transmission: voice channel allocated andwidth of 3.5 khz Digital voice transmission: analog voice stream converted to digital stream Standard scheme: 8000 8 it samples == 64Kps Wide and: e.g., 16.000 8 it samples 17 The digital phone network Until 1960s: Analog telephone network Frequency-division multiplexing Today: Local loop analog ISDN (Integrated services Digital Network) all digital circuit switching technology. Availale since the early-1990s (in Europe) or mid-1990s (US). No wide deployment in US Rest of network digital (ased on TDM) When do we get all digital network? All ISDN (No wide deployment in US) Another all digital ut not circuit-switched telephony solution is IP telephony 18 9

Analog Loop / Digital Network First telephone switch digitizes voice call (8000 8-it samples per second) Switching method is TDM. Switch multiplexes calls, interleaving samples in time. call receives one 8-it slot every 125 µs 19 All Digital Network Telephone at suscrier digitizes voice, sends one 8-it sample every 125 µs 20 10

Digital Multiplexing Digital Signaling (DS) transmission hierarchy used in US for multiplexing digital voice channels DS0 1 Numer of voice circuits Bandwidth 64 kps DS1 DS2 DS3 24 96 672 1.544 Mps 6.312 Mps 44.736 21 Addressing and routing Each suscrier has address (telephone numer) Hierarchical addresses Example: Antonio s Pizza in downtown Amherst 1 413 253 0808 country code area code numer of local exchange suscrier numer Telephone address used for setting up route from caller to callee 22 11

Telephone network: Services Point-to-point POTS calls Special telephone numers 800 (888) numer service: Free call to customer 0180 numer service: Fixed fee call for customer 900 numer service: Bill caller Numers for life Caller ID Calling card/third part charging Call routing (to end user): Prespecified y time-of-day Follow me service Incoming/outgoing call restrictions Support for cellular roaming: Home numer routed to current cell location 23 Telephone network: AIN AIN: Advanced Intelligent (phone) Network: Migration from service-in-the-switch to service logic external to (on top of) switching systems Looks like Internet philosophy: E.g., DNS is at application layer; RIP,OSPF, BGP aove IP AIN advantages: Introduce new services rapidly Open interfaces Vendor customization Vendor independence of services 24 12

Telephone network: Circuit-switched voice trunks (data plane) suscrier access lines (twisted pair) voice trunk lines (carrying multiple calls) 25 Telephone: Data and control plane 26 13

SS7: Telephone signaling network 27 SS7: Telephone network signaling Out-of-and signaling: telephony signaling carried over separate network from telephone calls (data) Allows for signaling etween any switches (not just directlyconnected ) Allows for signaling during call (not just efore/after) Allows for higher-than-voice-data-rate signaling Security: In-and tone signaling helps phone phreaks; out of and signaling more secure Signaling System 7 (SS7) network: Packet-switched calls themselves circuit-switched Lots of redundancy (for reliaility) in signaling network links, elements 28 14

SS7: Telephone network Signaling etween telephone network elements: Signaling control point (SCP): Services go here E.g., dataase function Signaling transfer point (STP): packet-switches of SS7 network send/receive/route signaling messages Signaling switching point (SSP): Attach directly to end user Endpoints of SS7 network 29 Example: Signaling a POTS call 2. SSP A formulates Initial Address Message (IAM), forwards to STP W 1. Caller goes offhook, dials callee. SSP A determines to route call via SSP B. Assigns idle trunk A-B 4. STP X forwards IAM 3. STP W forwards IAM SSP B to STP X A Y W X B 30 15

Example: Signaling a POTS call (2) 5. B determines it serves callee, creates address completion message (ACM[A,B,trunk]), rings callee phone, sends ringing sound on trunk to A 6. ACM routed to Z to Y to A 7. SSP A receives ACM, connects suscrier line to allocated A-B trunk (caller hears ringing) W Y Z X A B 31 Example: Signaling a POTS call (3) 8. Callee goes off hook, B creates, sends answer message to A (ANM[A,B,trunk]) 9. ANM routed to A W Z 10. SSP A receives ANM, checks caller is connected in oth directions to trunk. Call is connected! A Y X B 32 16

Example: Signaling a 800 call 800 numer: Logical phone numer Translation to physical phone numer needed, e.g., 1-800-CALL_ATT translates to 162-962-1943 3. M performs lookup, sends reply to A M 2. STP W forwards request to M W 1. Caller dials 800 numer, A recognizes 800 numer, formulates translation query, send to STP W A Y B 33 Example: Signaling a 800 call (2) 800 numer: Logical phone numer Translation to physical phone numer needed M W Z 1. A egins signaling to set up call to numer associated with 800 numer A X B 34 17

Example: SS7 protocol stack ISDN end-user signaling TCAP: Application layer protocols: 800 service, calling card, call return, cellular roaming SCCP: Demultiplexing to multiple upper layer applications SS7-specific network, link, physical layer protocols move to IP (RFC 2719)? 35 Signaling: Discussion 800 logical-numer-to-physical numer translations: Looks like DNS Q: Differences: In DNS end system generates request; dns is transparent to IP network- network layer in phone net does 800-service location translation for you [phone net has more smarts in net] DNS is more decentralized: hierarchical Anyone can run a names server, ut not a 800 server Q: Where is state stored? In POTS call: SSP stores circuit allocation, start/stop time In 800 call: STPs know where to go for 800 service; in Internet, DNS location transparent to IP routers (knowledge of where to go to DNS service is in end-systems, not in router intelligence at the edge) Q: Internet versus SS7/telephone network for accessing services 36 18

Signaling in the Internet connectionless (stateless) forwarding y IP routers est effort service + = no network signaling protocols in initial IP design New requirement: Application layer protocol, that enales users to e reachale independent of the device and his location SIP: Session Initiation Protocol [RFC 3261] IETF protocol All telephone calls and video conference calls take place over the Internet People are identified y names or e-mail addresses, rather than y phone numers. You can reach the callee, no matter where the callee roams, no matter what IP device the callee is currently using. 37 SIP Services Setting up a call Provides mechanisms for caller to let callee know she wants to estalish a call Provides mechanisms so that caller and callee can agree on media type and encoding Provides mechanisms to end call Determine current IP address of callee Maps mnemonic identifier to current IP address Call management Add new media streams during call Change encoding during call Invite others Transfer and hold calls 38 19

Setting up a call to a known IP address Alice Bo 167.180.112.24 193.64.210.89 INVITE o@193.64.210.89 c=in IP4 167.180.112.24 m=audio 38060 RTP/AVP 0 port 5060 port 5060 port 38060 200 OK c=in IP4 193.64.210.89 m=audio 48753 RTP/AVP 3 GSM ACK port 5060 µ Law audio port 48753 Bo's terminal rings Alice s SIP invite message indicates her port numer & IP address. Indicates encoding that Alice prefers to receive (PCM ulaw) Bo s 200 OK message indicates his port numer, IP address & preferred encoding (GSM) SIP messages can e sent over TCP or UDP; here sent over RTP/UDP Default SIP port numer is 5060 time time 39 Setting up a call (more) Codec negotiation Suppose Bo doesn t have PCM ulaw encoder Bo will instead reply with 606 Not Acceptale Reply and list encoders he can use Alice can then send a new INVITE message, advertising an appropriate encoder Rejecting a call Bo can reject with replies usy, gone, payment required, foridden Media can e sent over RTP or some other protocol 40 20

Example of SIP message INVITE sip:o@domain.com SIP/2.0 Via: SIP/2.0/UDP 167.180.112.24 From: sip:alice@hereway.com To: sip:o@domain.com Call-ID: a2e3a@pigeon.hereway.com Content-Type: application/sdp Content-Length: 885 c=in IP4 167.180.112.24 m=audio 38060 RTP/AVP 0 Notes: HTTP message syntax Sdp = session description protocol Call-ID is unique for every call. Here we don t know Bo s IP address. Intermediate SIP servers is necessary Alice sends and receives SIP messages using the SIP default port numer 506 Alice specifies in Via: Header that SIP client sends and receives SIP messages over UDP 41 Name translation and user location Caller wants to call callee, ut only has callee s name or e-mail address. Need to get IP address of callee s current host: User moves around DHCP protocol User has different IP devices (PC, PDA, car device) Result can e ased on: Time of day (work, home) Caller (don t want oss to call you at home) Status of callee (calls sent to voicemail when callee is already talking to someone) Service provided y SIP servers: SIP registrar server SIP proxy server 42 21

SIP registrar When Bo starts SIP client, client sends SIP REGISTER message to Bo s registrar server (similar function needed y Instant Messaging) Register Message: REGISTER sip:domain.com SIP/2.0 Via: SIP/2.0/UDP 193.64.210.89 From: sip:o@domain.com To: sip:o@domain.com Expires: 3600 43 SIP proxy Alice send s invite message to her proxy server Contains address sip:o@domain.com Proxy responsile for routing SIP messages to callee Possily through multiple proxies. Callee sends response ack through the same set of proxies. Proxy returns SIP response message to Alice Contains Bo s IP address Note: proxy is analogous to local DNS server 44 22

Example Caller jim@umass.edu with places a call to keith@upenn.edu (1) Jim sends INVITE message to umass SIP proxy. (2) Proxy forwards request to upenn registrar server. (3) Upenn server returns redirect response, indicating that it should try keith@eurecom.fr SIP proxy umass.edu 1 8 SIP client 217.123.56.89 SIP registrar upenn.edu SIP registrar eurecom.fr SIP client 197.87.54.21 (4) Umass proxy sends INVITE to eurecom registrar. (5) eurecom regristrar forwards INVITE to 197.87.54.21, which is running keith s SIP client. (6-8) SIP response sent ack (9) media sent directly etween clients. Note: Also a SIP ack message, which is not shown. 2 3 4 7 9 6 5 45 Signaling in the Internet connectionless (stateless) forwarding y IP routers est effort service + = no network signaling protocols in initial IP design New requirement: reserve resources along end-to-end path (end system, routers) for QoS for multimedia applications RSVP: Resource Reservation Protocol [RFC 2205] allow users to communicate requirements to network in roust and efficient way. i.e., signaling! Earlier Internet Signaling protocol: ST-II [RFC 1819] Designed with multicast in mind 46 23

Internet multicast service model Multicast group concept: Hosts send IP datagram pkts to multicast group Hosts that have joined that multicast group will receive pkts sent to that group Routers forward multicast datagrams to hosts 47 Multicast groups Class D Internet addresses reserved for multicast: Host group semantics: o Anyone can join (receive) multicast group o Anyone can send to multicast group o No network-layer identification to hosts of memers Needs: Infrastructure to deliver mcast-addressed datagrams to all hosts that have joined that multicast group 48 24

Joining a mcast group: Two-step process Local: Host informs local mcast router of desire to join group: IGMP (Internet Group Management Protocol) Wide area: Local router interacts with other routers to receive mcast datagram flow Many protocols (e.g., DVMRP, MOSPF, PIM) IGMP IGMP wide-area multicast routing IGMP 49 IGMP: Internet Group Management Protocol Host: sends IGMP report when application joins mcast group IP_ADD_MEMBERSHIP socket option Host need not explicitly unjoin group when leaving Router: sends IGMP query at regular intervals Host elonging to a mcast group must reply to query query report 50 25

IGMP IGMP version 1 Router: Host Memership Query msg roadcast on LAN to all hosts Host: Host Memership Report msg to indicate group memership Randomized delay efore responding Implicit leave via no reply to Query RFC 1112 IGMP v2: additions include Group-specific Query Leave Group msg Last host replying to Query can send explicit Leave Group msg Router performs groupspecific query to see if any hosts left in group RFC 2236 IGMP v3: Internet draft 51 RSVP design goals 1. Accommodate heterogeneous receivers (different andwidth along paths) 2. Accommodate different applications with different resource requirements 3. Make multicast a first class service, with adaptation to multicast group memership 4. Leverage existing multicast/unicast routing, with adaptation to changes in underlying unicast, multicast routes 5. Control protocol overhead to grow (at worst) linear in # receivers 6. Modular design for heterogeneous underlying technologies 52 26

RSVP does not Specify how resources are to e reserved Rather: a mechanism for communicating needs Determine routes packets will take That s the jo of routing protocols Signaling decoupled from routing Interact with forwarding of packets Separation of control (signaling) and data (forwarding) planes 53 RSVP: Overview of operation Senders, receiver join a multicast group Done outside of RSVP Senders need not join group Sender-to-network signaling Path message: make sender presence known to routers Path teardown: delete sender s path state from routers Receiver-to-network signaling Reservation message: reserve resources from sender(s) to receiver Reservation teardown: remove receiver reservations Network-to-end-system signaling Path error Reservation error 54 27

Path msgs: RSVP sender-to-network signaling Path message contents: Address: unicast destination, or multicast group Flowspec: andwidth requirements spec. Filter flag: if yes, record identities of upstream senders (to allow packets filtering y source) Previous hop: upstream router/host ID Refresh time: time until this info times out Path message: communicates sender info, and reversepath-to-sender routing info Later upstream forwarding of receiver reservations 55 RSVP: Simple audio conference H1, H2, H3, H4, H5 oth senders and receivers Multicast group m1 No filtering: packets from any sender forwarded Audio rate: Only one multicast routing tree possile H2 H3 H1 R1 R2 R3 H5 H4 56 28

RSVP: Building up path state H1,, H5 all send path messages on m1: (address=m1, Tspec=, filter-spec=no-filter,refresh=100) Suppose H1 sends first path message H2 in L1 in L7 m1: m1: out L2 L6 out L3 L4 m1: in L6 out L5 L7 L2 L3 R1 L6 L7 R2 R3 L4 L1 L5 H1 H5 H3 H4 57 RSVP: Building up path state Next, H5 sends path message, creating more state in routers H2 in L1 L6 in L7 m1: m1: out L1 L2 L6 out L3 L4 in L5 L6 m1: out L5 L6 L7 L2 L3 R1 L6 L7 R2 R3 L4 L1 L5 H1 H5 H3 H4 58 29

RSVP: Building up path state H2, H3, H5 send path msgs, completing path state tales H2 in L1 L2 L6 in L3 L4 L7 m1: m1: out L1 L2 L6 out L3 L4 L7 in L5 L6 L7 m1: out L5 L6 L7 L2 L3 R1 L6 L7 R2 R3 L4 L1 L5 H1 H5 H3 H4 59 Reservation msgs: Receiver-to-network signaling Reservation message contents: Desired andwidth: Filter type: No filter: any packets address to multicast group can use reservation Fixed filter: only packets from specific set of senders can use reservation Dynamic filter: set of senders that can use reservation changes over time Filter spec Reservations flow upstream from receiver-to-senders, reserving resources, creating additional, receiver-related state at routers 60 30

RSVP: Receive reservation example 1 H1 wants to receive audio from all other senders H1 reservation msg flows uptree to sources H1 only reserves enough andwidth for 1 audio stream Reservation is of type no filter any sender can use reserved andwidth H2 H1 L2 L1 R1 L6 R2 L7 R3 L5 L4 L3 H3 H4 H5 61 RSVP: Receive reservation example 1 H1 reservation msgs flows uptree to sources Routers, hosts reserve andwidth needed on downstream links towards H1 m1: in L1 L2 out L1() L2 H2 L2 L1 H1 L6 L6 m1: in L5 out L5 R1 L6 L7 R2 R3 L5 H5 L6 L7 L6() L7 in L3 m1: out L3 L3 L4 L4 L4 L7 L7() H3 H4 62 31

RSVP: Receive reservation example 1 next, H2 makes no-filter reservation for andwidth H2 forwards to R1, R1 forwards to H1 and R2 (?) R2 takes no action, since already reserved on L6 H2 m1: in L1 L6 out L1() L2() L6 H1 L2 L1 m1: in L5 out L5 L6 L7 L6() L7 in L3 m1: out L3 R1 L6 L7 R2 R3 L5 L3 L4 L4 L4 L7 L7() H3 H4 H5 63 RSVP: Receive reservation issues What if multiple senders (e.g., H3, H4, H5) over link (e.g., L6)? Aritrary interleaving of packets L6 flow policed y leaky ucket: if H3+H4+H5 sending rate exceeds, packet loss will occur H2 m1: in L1 L6 out L1() L2() L6 H1 L2 L1 m1: in L5 out L5 L6 L7 L6() L7 in L3 m1: out L3 R1 L6 L7 R2 R3 L5 L3 L4 L4 L4 L7 L7() H3 H4 H5 64 32

RSVP: Example 2 H1, H4 are only senders send path messages as efore, indicating filtered reservation Routers store upstream senders for each upstream link H2 will want to receive from H4 (only) H2 L2 L3 H3 H1 L1 R1 L6 L7 R2 R3 L4 H4 65 RSVP: Example 2 H1, H4 are only senders Send path messages as efore, indicating filtered reservation in out L1, L6 L2(H1-via-H1 ; H4-via-R2 ) L6(H1-via-H1 ) L1(H4-via-R2 ) in out L4, L7 L3(H4-via-H4 ; H1-via-R3 ) L4(H1-via-R2 ) L7(H4-via-H4 ) H2 L2 R2 L3 H3 H1 L1 R1 L6 in L6, L7 L7 R3 L4 H4 out L6(H4-via-R3 ) L7(H1-via-R1 ) 66 33

RSVP: Example 2 Receiver H2 sends reservation message for source H4 at andwidth Propagated upstream towards H4, reserving in out L1, L6 L2(H1-via-H1 ;H4-via-R2()) L6(H1-via-H1 ) L1(H4-via-R2 ) in out L4, L7 L3(H4-via-H4 ; H1-via-R2 ) L4(H1-via-62 ) L7(H4-via-H4 ()) H2 H1 L2 L1 R1 L6 in out R2 L7 R3 L6, L7 L6(H4-via-R3 ()) L7(H1-via-R1 ) L3 L4 H3 H4 67 RSVP: Soft-state Senders periodically resend path msgs to refresh (maintain) state Receivers periodically resend resv msgs to refresh (maintain) state Path and resv msgs have TTL field, specifying refresh interval in out L1, L6 L2(H1-via-H1 ;H4-via-R2()) L6(H1-via-H1 ) L1(H4-via-R2 ) in out L4, L7 L3(H4-via-H4 ; H1-via-R3 ) L4(H1-via-62 ) L7(H4-via-H4 ()) H2 H1 L2 L1 R1 L6 in out R2 L7 R3 L6, L7 L6(H4-via-R3 ()) L7(H1-via-R1 ) L3 L4 H3 H4 68 34

RSVP: Soft-state Suppose H4 (sender) leaves without performing teardown Eventually state in routers will timeout and disappear! in out L1, L6 L2(H1-via-H1 ;H4-via-R2()) L6(H1-via-H1 ) L1(H4-via-R2 ) in out L4, L7 L3(H4-via-H4 ; H1-via-R3 ) L4(H1-via-62 ) L7(H4-via-H4 ()) H2 H1 L2 L1 R1 L6 in out R2 L7 R3 L6, L7 L6(H4-via-R3 ()) L7(H1-via-R1 ) L3 L4 H3 gone H4 fishing! 69 Use cases for reservation/path refresh Recover from an earlier lost refresh message Expected time until refresh received must e shorter than timeout interval! (short timer interval desired) Handle receiver/sender that goes away without teardown Sender/receiver state will timeout and disappear Reservation refreshes will cause new reservations to e made to a receiver from a sender who has joined since receivers last reservation refresh E.g., in previous example, H1 is only receiver, H3 only sender Path/reservation messages complete, data flows H4 joins as sender, nothing happens until H3 refreshes reservation, causing R3 to forward reservation to H4, which allocates andwidth 70 35

RSVP: reflections Multicast as a first class service Receiver-oriented reservations Use of soft-state 71 Signaling Discussion: SS7 vs. TCP vs. SIP vs. RSVP Similarities Differences 72 36