MRSVP A Resource Reservation Protocol for an Integrated Services Network with Mobile Hosts
- 格式:pdf
- 大小:252.42 KB
- 文档页数:15
RSVPTE协议解析扩展型资源预留协议的工作原理RSVP-TE协议解析:扩展型资源预留协议的工作原理RSVP-TE(Resource Reservation Protocol - Traffic Engineering)是一种用于网络流量工程的资源预留协议。
它是RSVP协议的扩展,旨在提供更精细的流量控制和路径选择能力。
本文将解析RSVP-TE协议的工作原理,介绍其在网络中的应用和相关的技术细节。
一、RSVP-TE协议概述RSVP-TE是一种基于IP网络的通信协议,用于进行资源预留和路径选择。
其主要目标是在网络中创建和维护请求的带宽、服务质量(QoS)和路径,以满足用户对网络服务的需求。
RSVP-TE协议具有以下特点:1. 智能路径选择:RSVP-TE协议支持根据用户需求选择最佳路径,包括最短路径、最快路径和最低成本路径等。
2. 流量控制与优先级:RSVP-TE协议允许在网络中为不同类型的流量分配不同的资源和优先级。
3. 灵活性:RSVP-TE协议可以适应不同的网络拓扑结构和服务需求,非常灵活。
二、RSVP-TE的工作原理1. 路径选择过程在RSVP-TE协议中,网络中的节点(节点是路由器或交换机)通过指定的路径选择算法选择最佳路径。
路径选择的依据可以是带宽、时延、拓扑信息等。
选择好路径后,节点会向下一跳节点发送路径请求(Path Request)消息。
2. Resv消息的传递当路径请求消息抵达目标节点后,目标节点会根据资源预留信息生成Resv消息,该消息包含有关预留资源的信息。
Resv消息将从目标节点沿着路径向源节点传递。
3. 路径建立与维护在路径请求和Resv消息的传递过程中,网络中的每个节点都会维护一张路径状态数据库(Path State Database),其中存储了与该节点相关的路径信息。
通过实时更新和交换这些路径信息,网络中的节点可以了解下一跳节点的状态和可用资源情况,从而决定是否接受或拒绝预留请求。
rsvp协议RSVP协议。
RSVP(Resource Reservation Protocol)是一种网络通信协议,用于在IP网络中实现服务质量(QoS)保证。
它允许网络设备请求特定的服务质量,并为数据流分配网络资源。
RSVP协议的主要目的是确保网络资源的有效利用,提高网络服务的可靠性和性能。
RSVP协议的工作原理是通过在网络中建立路径和分配资源来实现服务质量的保证。
当主机希望发送数据流并要求一定的服务质量时,它会向网络中的路由器发送RSVP消息,请求网络资源的分配。
路由器收到请求后,会根据可用资源和服务质量要求,决定是否同意分配资源,并向主机发送响应消息。
通过这种方式,RSVP协议可以动态地管理网络资源,以满足不同数据流的服务质量要求。
在RSVP协议中,有两种类型的消息,路径消息和预订消息。
路径消息用于建立数据传输路径,它包含了数据流的源地址、目的地址、服务质量要求等信息。
预订消息用于请求网络资源的分配,它包含了数据流的标识符、服务质量要求等信息。
当网络设备收到路径消息时,会根据其中的信息建立数据传输路径;当网络设备收到预订消息时,会根据其中的信息分配相应的网络资源。
RSVP协议的优点之一是可以实现端到端的服务质量保证。
通过在数据传输路径上的每个节点都进行资源分配,RSVP可以确保数据流在整个传输过程中都能获得一定的服务质量。
这对于一些对服务质量要求较高的应用,如视频会议、实时音频流等非常重要。
另外,RSVP协议还支持多种服务质量类型,如带宽保证、延迟保证、抖动保证等。
这使得网络管理员可以根据不同应用的需求,灵活地配置网络资源,以满足不同数据流的服务质量要求。
然而,RSVP协议也存在一些局限性。
首先,它需要在网络中的每个节点都支持和运行RSVP协议,这对网络设备的要求比较高。
其次,RSVP协议的控制消息比较多,会增加网络的控制负担和延迟。
另外,RSVP协议的部署和管理也比较复杂,需要网络管理员具有一定的技术水平。
RSVP资源预留协议(Resource Reservation Protocol, 简称RSVP)是一个通过网络进行资源预留的协议,是为实现综合业务网而设计的,其具体可见RFC 2205。
RSVP 要求接收者在连接建立之初进行资源预留,它必须支持单播和多播数据流,并具有很好的可伸缩性和强壮性。
主机或者路由器可以使用RSVP满足不同应用程序数据流所需的不同的服务质量(QoS)。
RSVP定义应用程序如何进行资源预留并在预留的资源不用时如何进行预留资源的删除。
RSVP将会使得路径上每个节点都进行资源预留。
RSVP本身不是一个路由协议,而是被设计用于互联现在的和将来的路由协议。
主要特征RSVP为每个流请求资源:这是只有一个发送者但可以有一个或多个接收者的流。
RSVP不是一个路由协议,而是用于互联现在的和将来的路由协议。
RSVP是由数据流的接收者发起并维护资源预留。
RSVP维护主机和路由器的软状态(每个节点上的资源预留都需要周期性的更新),因此支持源自适应网络变化。
RSVP提供多种预留类型(一组预留选项)并允许将来加入其他类型,进行协议改进,以支持不同的应用程序。
RSVP传输并维持通信和策略控制参数,这些对于RSVP都是不透明的。
流量说明(flowspec)RSVP为一个流预留资源。
一个流是被目的地址、协议号和目的端口号(可选)确定的。
在多协议标签交换中,一个流是被定义为一个标签交换路径(LSP)。
对于每个流,虽然RSVP不能理解流服务质量的具体信息,但是RSVP也确认其特别要求的服务质量。
flowspec是一个固有的RSVP对象,它定义了业务流所希望的服务质量。
RSVP通过路径从应用程序到主机和路由器传输flowspec。
然后由系统分析flowspec,从而接受和预留资源。
一个flowspec是由如下组成的:1.服务类2.预留说明——定义服务质量3.传输说明——描述数据流过滤器说明(filterspec)过滤器说明(filterspec)定义了一组被flowspec影响的分组。
RSVP协议解析资源预留协议的工作原理与服务质量保障策略随着互联网的迅猛发展和用户对网络服务质量的要求不断提高,为保障网络服务的可靠性和高效性,RSVP(Resource Reservation Protocol)协议应运而生。
本文将从协议的工作原理和服务质量保障策略两个方面,对RSVP协议进行解析。
一、RSVP协议的工作原理RSVP协议是一种网络层次的协议,它的主要功能是为互联网中的数据流建立和维护通信路径,以便为数据流提供服务质量保证。
RSVP 协议的工作原理如下:1. 请求报文的发送:当源节点需要发送数据流并要求一定的服务质量时,它向网络中的所有中间节点发送请求报文。
这些请求报文中包含了源节点对所需服务质量的描述,如带宽、延迟等。
2. 通信路径的建立:中间节点根据接收到的请求报文,向其所连接的邻居节点传递请求,直到到达目的节点。
这样,由源节点到目的节点的通信路径就被建立起来了。
3. 状态的维护:在通信路径被建立后,中间节点会将其相关的状态信息存储在自己的状态表中,以备后续的数据流传输使用。
4. 通知报文的发送:当数据流从源节点开始传输时,中间节点会向其邻居节点发送通知报文,以告知它们数据流的到来。
目的节点按照这些通知报文来表明自己已经准备好接收数据。
5. 数据传输与路径维护:数据流开始传输后,RSVP协议会负责维护通信路径的稳定性,确保数据在各个节点间按照所需服务质量进行传输。
同时,RSVP协议会及时更新节点的状态表,以反映实际的网络状况。
二、RSVP协议的服务质量保障策略RSVP协议通过以下策略来保障网络服务的质量:1. 差异化服务:RSVP协议可以根据不同的数据流需求,为其提供差异化的服务质量,如带宽保证、延迟控制等。
这样,互联网可以更好地适应各类多媒体应用,提供更为细致的服务保障。
2. 服务策略控制:RSVP协议使用会话和接收者的策略控制机制,允许网络管理员对数据流的传输进行精确的控制。
rsvp gr工作原理
RSVP(Resource Reservation Protocol)工作原理是基于网络层的一种QoS(Quality of Service)保证机制。
RSVP通过在源
节点和目的节点之间建立端到端的通信路径,并通过在该路径上的每个路由器上发送控制消息来保证网络资源的分配和使用。
RSVP工作原理如下:
1. 发送端发送一个RSVP请求消息到目的节点,请求这个通信会话所需的资源。
2. RSVP请求消息从源节点到目的节点的每个路由器都会沿着
预先设定的路径传递。
3. 当RSVP消息到达一个路由器时,该路由器会检查该消息中所需资源的可用性。
如果没有足够的资源可用,该路由器可以选择拒绝该消息,或者将其传递到下一个路由器。
4. 当RSVP消息在所有路由器上都成功传递并且没有被拒绝时,该通信路径就被建立起来了。
路由器会根据接收到的RSVP消息中的请求信息来预留相应的资源。
5. 一旦通信路径建立,数据就可以在该路径上进行传输。
接收端会定期发送RSVP确认消息,以确保所需的资源仍然可用,并且没有被释放。
6. 当通信会话结束时,发送端会发送RSVP释放消息,通知路
由器释放所占用的资源。
总的来说,RSVP在通信会话的开始和结束时进行资源的预留
和释放,以保证通信过程中的资源分配和使用符合预期的要求。
qos处理流程QoS(Quality of Service,服务质量)是一种网络技术,用于在网络中为不同类型的数据流提供不同的优先级和带宽分配,以保证网络的性能和服务质量。
QoS处理流程是指在网络中实现QoS的具体步骤和过程。
本文将从QoS处理流程的角度,介绍QoS的工作原理、常见的QoS技术和实施步骤。
一、QoS的工作原理QoS的工作原理是根据网络中各种数据流的特点和要求,对网络资源进行合理的调度和分配,以确保不同类型的数据流在网络中能够得到满足的服务质量。
QoS的核心目标是实现低延迟、高带宽、低丢包率和低抖动的网络传输。
QoS的工作原理主要包括以下几个方面:1. 流量分类:将网络中的数据流划分为不同的类别,如实时流、敏感流和普通流等,根据不同类型的数据流的特点和要求进行分类。
2. 流量标记:对不同类型的数据流进行标记,以便在后续的处理中根据标记对数据流进行不同的处理。
常见的标记方式包括802.1p和DiffServ等。
3. 流量调度:根据流量分类和标记的结果,对不同类型的数据流进行合理的调度和分配。
通过使用调度算法和队列管理策略,为不同类型的数据流提供优先级和带宽保障。
4. 流量控制:通过对数据流的速率进行限制和调整,控制网络中的流量,避免网络拥塞和资源浪费。
常用的流量控制技术包括令牌桶和漏桶算法等。
5. 流量保护:为关键数据流提供保护机制,防止其受到非关键数据流的影响。
常见的保护机制包括优先级队列和带宽保障等。
二、常见的QoS技术1. DiffServ(Differentiated Services):DiffServ是一种基于流量分类和标记的QoS技术,通过对数据流进行分类和标记,实现对不同类型的数据流进行不同的处理和调度。
2. RSVP(Resource Reservation Protocol):RSVP是一种用于实现网络资源预留的QoS技术,通过建立预留路径和预留资源,为特定的数据流提供优先级和带宽保障。
rsvp协议RSVP协议。
RSVP(Resource Reservation Protocol)是一种网络通信协议,用于在IP网络中实现服务质量(QoS)的保证。
它允许通信设备在发送数据之前请求网络资源,并对网络资源的分配进行确认,以确保数据能够按时、按序地传输。
RSVP协议的出现,为实时音视频传输、在线游戏等对网络质量要求较高的应用提供了重要支持。
RSVP协议的核心思想是通过在网络中建立路径和资源的预约,来保证数据传输的可靠性和实时性。
当通信设备需要发送数据时,它会向网络中的所有路由器发送RSVP消息,请求网络资源的预约。
每个路由器都会根据自身的资源情况,对请求进行确认或拒绝,并将确认或拒绝的信息返回给通信设备。
通信设备收到所有路由器的确认信息后,就可以根据路由器的确认信息,决定是否发送数据,以及如何发送数据。
RSVP协议的工作过程可以简单概括为以下几个步骤,首先,通信设备向网络中的路由器发送路径请求消息,请求网络资源的预约;其次,每个路由器根据自身的资源情况,对请求进行确认或拒绝,并将确认或拒绝的信息返回给通信设备;最后,通信设备根据路由器的确认信息,决定是否发送数据,以及如何发送数据。
RSVP协议的优点在于它可以实现对网络资源的精细管理和调度,从而保证数据传输的可靠性和实时性。
它可以根据不同应用的需求,对网络资源进行灵活分配,从而满足不同应用对网络质量的要求。
同时,RSVP协议还支持多种服务质量类型,如带宽保证、延迟保证等,可以根据实际需求选择合适的服务质量类型。
然而,RSVP协议也存在一些局限性。
首先,它需要在网络中的每个路由器上维护路径和资源的预约信息,这会增加网络设备的负担。
其次,RSVP协议对网络拓扑结构要求较高,需要网络中的所有路由器都支持RSVP协议,才能够正常工作。
最后,RSVP协议的实现较为复杂,需要对网络设备进行较大的改造和升级。
总的来说,RSVP协议作为一种重要的网络通信协议,对实时音视频传输、在线游戏等对网络质量要求较高的应用具有重要意义。
RSVP协议资源预留协议的原理与应用RSVP(Resource Reservation Protocol)是一种用于在网络中建立和维护资源预留的协议。
它被广泛应用于各种网络环境,包括互联网、局域网和广域网。
本文将介绍RSVP协议的原理和应用,并探讨其在实际网络中的作用。
一、RSVP协议的原理RSVP协议是一种基于请求/应答的协议,用于在网络中进行资源预留。
其原理可以分为四个基本步骤:1. 发送路径请求(Path Request):源节点向网络中的各个中间节点发送路径请求,表明其对资源的需求。
该请求会一直传递到目标节点。
2. 建立路径(Path Establishment):目标节点收到路径请求后,会向源节点回复路径确认消息,表示同意建立资源预留的路径。
在此过程中,RSVP协议使用了一种叫做显式路由(Explicit Routing)的方式,确保路径上的每个中间节点都知道资源预留的存在。
3. 分配资源(Resource Allocation):在路径建立完成后,源节点会发送一个资源请求消息,其中包含了具体资源的需求。
中间节点根据源节点的需求进行资源分配,并将资源分配的确认消息传递回源节点。
4. 维护资源预留(Reservation Maintenance):一旦资源预留建立完成,RSVP协议会定期维护这些预留,确保资源的可用性。
当预留不再需要时,节点会发送撤销消息,释放预留的资源。
二、RSVP协议的应用RSVP协议在实际网络中有着广泛的应用。
以下是一些常见的应用场景:1. 语音和视频传输:在语音或视频会议中,保证网络资源的稳定分配非常重要。
RSVP协议可以帮助实现低延迟、高质量的语音视频传输,确保参与者之间的通信畅顺。
2. 多媒体流量控制:在网络中同时传输多种媒体类型(如音频、视频和图像)时,需要合理分配带宽和缓冲区资源。
RSVP协议能够根据不同媒体数据的特性和需求,进行灵活的资源预留,从而提高多媒体传输的效果。
MPLS_协议协议名称:MPLS(多协议标签交换)协议协议目的:本协议旨在定义和规范多协议标签交换(MPLS)协议的工作原理、数据格式、路由选择和转发机制,以实现高效的数据包转发和服务质量保证。
一、引言多协议标签交换(MPLS)是一种用于数据包转发的协议,它通过在数据包头部添加标签来进行路由选择和转发。
本协议旨在提供一种灵活、高效、可扩展的网络服务,以满足不同应用场景下的需求。
二、术语定义2.1 MPLS(Multi-Protocol Label Switching):多协议标签交换,一种用于数据包转发的协议。
2.2 标签(Label):MPLS中用于标识数据包的一段二进制码。
2.3 LSR(Label Switching Router):标签交换路由器,用于实现MPLS协议的路由选择和转发功能。
2.4 FEC(Forwarding Equivalence Class):转发等价类,一组具有相同转发行为的数据包。
2.5 LSP(Label Switched Path):标签交换路径,由一系列LSR组成的路径,用于数据包的转发。
2.6 RSVP(Resource Reservation Protocol):资源预留协议,用于实现服务质量保证。
2.7 VPN(Virtual Private Network):虚拟专用网络,通过在公共网络上建立安全的隧道,实现私密通信。
三、工作原理3.1 标签分发和绑定LSR根据路由选择算法将数据包与相应的标签绑定,并将标签添加到数据包头部。
标签的分发和绑定过程需遵循MPLS协议规定的数据格式和编码方式。
3.2 标签交换和转发LSR根据标签进行数据包的转发,即根据标签查找转发表,确定数据包的下一跳。
在转发过程中,LSR根据标签进行数据包的解封装和封装操作。
3.3 LSP建立和维护通过MPLS协议,LSR可以建立和维护LSP,即标签交换路径。
LSP的建立可以通过静态配置或动态协议(如LDP、RSVP)实现,建立LSP的过程需满足一定的路由选择和转发策略。
ARUP ACHAC&C Research Labs,NEC USA,P Abstract.This paper describes a reservation protocol to provide real-time serv of hosts has significant impact on the quality of service provided to a real-tim mechanisms to provide real-time services tofixed hosts are inadequate to acc attachments to thefixed network.Mobile hosts may experience wide variations QoS guarantees,a mobile host needs to make advance resource reservations at m The currently proposed reservation protocol in the Internet,RSVP,is not adequa new reservation protocol,MRSVP,for supporting integrated services in a netwo Keywords:integrated services,Internet protocols,mobility,multimedia,reserva6TALUKDAR ET AL.may suffer temporary disruption of service during handoff while the connection is teared down along the old path and it is established along the new path.Therefore,the mobile users may have to adapt to these changes as they move with theirflows active.In some ex-treme cases,some connections to the mobile users may have to be dropped if the minimum QoS requirements of all users cannot be satisfied[21,25].To obtain a quality of service which is not affected by mobility,it is necessary to make resource reservation from many locations where the mobile host may visit.In this paper we propose a reservation pro-tocol,MRSVP,for making such advance reservations for a mobile host.3.Related workRecently there has been some work addressing the prob-lem of providing QoS to mobile hosts.Acampora and Naghshineh[1]have presented an architecture for a high-speed mobile ATM network using a new concept known as the virtual connection tree.Singh[29]has introduced two new QoS parameters,loss profile and probability of seam-less communication,arising due to the mobility of the mo-bile host.They have described a network architecture and a suite of transport level services to satisfy these QoS parame-ters.Lee[21]has presented an“adaptive reserved service”framework for use in integrated services networks to sup-port mobile connections carrying multimedia traffic.Levine et al.[22]have proposed resource allocation and admission control schemes based on a new concept,called Shadow Cluster,to improve the QoS of mobile calls by reducing the number of dropped calls in an wireless-ATM network. However,in the solutions presented in these works a mo-bile host may suffer significant degradation in QoS due to mobility.Talukdar et al.[30,31]have described an archi-tecture for supporting both mobility independent and depen-dent services in the same network.In this architecture,the concept of active and passive reservations has been used to obtain high utilization and mobility independent service guarantees in the network:a reservation for aflow on a link is called active,if data packets of thatflow are travel-ing over the link to a receiver;a reservation is called pas-sive,if resources are reserved for theflow on the link,but actual data packets of theflow are not being transmitted over the link.The resources of passive reservations can be used by someflows requiring weaker service guaran-tees.All of these above proposals for providing real-time ser-vices to mobile users are based on advance reservations of resources for a mobile host in locations to which it may possibly visit while the connection is open.Some of the above proposals make aggregate reservations of resources in a cell for non-local mobile hosts based on various esti-mation,while some schemes proposes advance reservation in a cell on a per host basis.This problem of advance re-source reservation has been studied by several researchers in the context of afixed network.Ferrari et al.[17]have described a distributed scheme for advance reservations of real-time connections.In this scheme,reservation requests are classified into two types:immediate and advance.Im-mediate reservations are activated at the time the request is made and usually the expected duration of the reservation is not specified.Advance reservations have two associated parameters:starting time,the time when the reservation is activated,and duration,the period of reservation.In cer-tain situations,it may be possible that an immediate reser-vation request is denied because of non-availability of re-sources in the future although sufficient resources are avail-able at the time the reservation request is made.To avoid such situation,the authors in[17]have suggested dynamic partitioning of the network resources into an immediate par-tition and an advance partition;immediate reservation re-quests are granted from the immediate partition and the ad-vance reservation requests are granted from the advance par-tition.The size of the two partitions are determined based on the demand and usage of the individual partitions.Wolf et al.[35]have also discussed the various issues of advance reservation and described an architecture for advance reser-vation support in the network.Degermark et al.[14]have described an admission control algorithm for predictive ser-vice to support advance reservations and evaluated the im-pact of such advance reservation on network performance. Berson et al.[6]have proposed an architecture for advance reservation in the Internet in which the main objective was to reduce the amount of states required in the routers for ad-vance reservation.This was achieved by using a central-ized Advance Reservation Server(ARS)for each adminis-trative system or domain for maintaining all advance reser-vation information for that domain.The ARS keeps the ad-vance reservation active until the application starts and ac-tual reservations are established at the starting time of the application.Terzis et al.[33]proposed a signaling protocol for wireless and mobile networks that allows a mobile host to set up and maintain reservation along the path to its cur-rent location as it moves from one subnet to another.How-ever,there have been no detailed investigations of the var-ious issues in the design of a reservation protocol to make such advance reservations for a mobile host in an inter net-work.4.Overview of RSVPRSVP[9,37]can be used to reserve resources for both uni-cast and multicastflows in the Internet.In this protocol, reservation is receiver-initiated and aggregation of reserva-tions is supported depending on application needs.Aflow may have multiple senders and the protocol supports dif-ferent reservation styles to dictate how to aggregate reser-vations for different senders.In RSVP,protocol overhead is reduced by merging control messages.It makes simplex reservation and maintains soft-state in the network.The two most important types of messages in RSVP are: Path and Resv.Every RSVP message carries a SESSIONMRSVP7 Figure1.RSVP messages.object which identifies aflow.The SESSION object con-tains the destination IP address of theflow,the Protocol Id and the destination port number.Each data source period-ically sends Path message that sets up the path state at the routers along the path from the sender to the receivers and each receiver periodically sends Resv message that sets up reservation state at the routers along the reverse path from the receiver to the sender(figure1).A Path message carries the following objects:•SENDER_TEMPLATE.It identifies the sender and con-sists of the sender IP address and the source port number.•SENDER_TSPEC.It describes the traffic characteristics of theflow generated by the sender.•ADSPEC.It describes the aggregate QoS characteristics of the path.•PHOP.It identifies the previous hop which sent this Path message.In the path state,a router records all these four objects for each sender.It periodically generates Path messages from these state information and forwards them to theflow des-tination.A Resv message contains a FLOWSPEC object.A FLOWSPEC object consists of two sets of numeric pa-rameters:(1)an RSPEC that defines the desired QoS and (2)a TSPEC that describes the traffic characteristics of the dataflow.The set of senders to whom a particular reser-vation request should be forwarded for different reservation styles is described by the FILTER_SPEC and SCOPE ob-jects in a Resv message.The formats and contents of TSPEC,RSPEC and SEN-DER_TSPEC are determined by the integrated services mod-ules[36]and are generally opaque to RSVP.The Resv mes-sage traverses the reverse path of dataflow from the sender to the receiver and is forwarded hop by hop.If at any router along this path,the reservation is rejected,the router sends a ResvErr message to the receiver.In the rest of this paper,we define the terms“upstream”,“downstream”,“previous hop”and“next hop”with respect to the direction of dataflow.5.Reservation model in a mobile environmentWe consider a network architecture in which a mobile host can make advance resource reservation along the dataflow paths to and from the locations it may visit during the life-time of the connection.The mobile host can be a sender in aflow,a receiver in aflow or both sender and receiver in the sameflow simultaneously.Other than these,the reservation model of RSVP is used.In our reservation model,a mobile host can make advance reservations from a set of locations,called Mobility Specifi-cation(MSPEC).Ideally,the MSPEC should be the set of locations the mobile host will visit while it participates in theflow.The advance determination of the set of locations to be visited by a mobile host is an important research prob-lem.Although it is difficult to accurately determine this set of locations in advance for a mobile host,several mecha-nisms have been proposed to approximately determine this set by the network[7,19,23–25].Also,in many situations, a mobile host can specify its own MSPEC as part of its mo-bility profile.In any case,we assume that the mobile host has acquired its MSPEC,either from the network or from its mobility profile when it initiates a reservation.In our reser-vation model,the MSPEC of a mobile host can be changed dynamically while theflow is open.In such a case,resources will be reserved at the newly added locations of the MSPEC only if enough resources are available on the dataflow paths to/from those locations.Our model supports two types of reservations:active and passive(figure2).A mobile sender makes an active reser-vation from its current location and it makes passive reser-vations from the other locations in its MSPEC.Similarly,a mobile receiver makes an active reservation to its current lo-cation and passive reservations to the other locations in its MSPEC.On a link,active and passive reservations for aflow are merged.However,either of the active and passive reser-vations for the sameflow on a link can be removed without affecting the other.To improve the utilization of the links, bandwidth of passive reservations of aflow can be used by otherflows requiring weaker QoS guarantees or best effort service.However,when a passive reservation becomes ac-tive(i.e.when theflow of the mobile host who made the passive reservation moves into that link),theseflows may be affected.Thus,in our reservation model,the resources of passive reservation are multiplexed among the different classes of users.This multiplexing has significant impacts on the net-work performance and QoS parameters.In an earlier re-search work[30],we have shown that,if sufficient degree of8TALUKDAR ETAL.Figure2.Reservation model in mobile environment. multiplexing is allowed in the network,the network perfor-mance do not degrade significantly when compared to sys-tem in which no advance passive reservation is allowed.The details of of these results can be found in[30].A unicast packet is delivered to a mobile host by using the Mobile-IP[27]routing protocol.In such a case,resource reservations for a mobile host must be established along the route determined by Mobile-IP.This implies that,when the mobile host is located in a foreign subnet and the unicast packets for the mobile host are delivered via its home agent by IPIP tunnelling,resource reservations must also be estab-lished over the tunnel(provided the routers on the tunnel are RSVP capable).6.Limitations of RSVP in a mobile environmentThe reservation mechanism in RSVP is not adequate to sup-port the reservation model of MRSVP described above.This is due to the following reasons:•RSVP does not have any provision for passive reserva-tion.•In RSVP,reservation can be initiated from a location, only when the sender or the receiver is present at that location.Thus,in RSVP,a mobile host cannot make an advance reservation from a location where it is not cur-rently present.For a mobile host,Path or Resv messages must originate from the locations where it wants to make advance reservation.•In RSVP,the sender IP address and port number is used to identify the senders in the FILTER_SPEC.A Path message carries the IP address of its origin in theSENDER_TEMPLATE.This ensures that the Path mes-sage is properly routed to the destination by the rout-ing protocols in which routing decision depends on the source address of the packet.As a consequence,if Path messages originate from several locations in the MSPEC of a mobile sender,a receiver or an intermediate router cannot determine the identity of the mobile host from SENDER_TEMPLATE object of the message.As a re-sult,Resv message forwarding for the different reserva-tion styles becomes difficult.•RSVP does not support reservations over IPIP tunnels, even though the routers in the tunnel may be RSVP capa-ble.7.Overview of MRSVPIn this section,we give an overview of the MRSVP protocol. The details of the protocol and how it integrates with the Internet Protocol architecture(IPv4or IPv6[13])and the routing protocols(unicast and multicast)will be described in the following sections.A brief overview of IPv6routing and Mobile-IP protocol is given in the appendix.Just as Mobile-IP protocol requires home agents and for-eign agents to aid in routing,MRSVP requires proxy agents to make reservations along the paths from the locations in the MSPEC of the sender to the locations in the MSPEC of the receiver.The proxy agent at the current location of a mobile host is called the local proxy agent;the proxy agents at the other locations in its MSPEC are called remote proxy agents.The remote proxy agents will make passive reser-vations on behalf of the mobile host.The local proxy agent of a mobile host acts as a normal router for the mobile host and an active reservation is set up from the sender to the mo-bile host(or from the mobile host to the sender)via its local proxy agent.An important issue is how the mobile host de-termines who will be the proxy agents.We assume that in the MSPEC of a mobile host,each location is represented by the subnet address of the subnetwork covering that loca-tion.Then it can use a proxy discovery protocol(described in the next section)to determine the IP addresses of the proxy agents.After the mobile host knows the IP addresses of its proxy agents,the most important task is to set up the paths of active and passive reservations.If the mobile host is a sender of the flow,the paths of active reservation from the current loca-tion of the mobile host and the paths of passive reservations from its proxy agents are determined by the routing mecha-nism of the network.When the mobile host is a receiver,the paths of active and passive reservations to its current loca-tion and the proxy agents depend on theflow destination as follows:1.The mobile host joins a multicastflow.In this case themobile host directs the proxy agents to join the multicastMRSVP9group and the dataflow paths are set up along the multi-cast routes.2.The mobile host initiates a unicastflow.In this case thepaths may be set up by unicast routing or by multicast routing.We describe the details of the reservation routes in the fol-lowing section.In MRSVP,there are two types of Path messages as well as two types of Resv messages.These are:1.Active Path message:carries a SENDER_TSPEC for ac-tive reservation.2.Passive Path message:carries a SENDER_TSPEC forpassive reservation.3.Active Resv message:carries a FLOWSPEC for activereservation;in addition,it may carry a FLOWSPEC for passive reservation when an active and a passive reserva-tion are merged(described in a later section).4.Passive Resv message:carries a FLOWSPEC of only pas-sive reservation.A sender host periodically sends active Path messages to flow destination.In addition,if the sender is mobile,its proxy agents will send passive Path messages.After the routes of active and passive reservations are set up,the mo-bile host and the proxy agents will start receiving the Path messages.On receiving a Path message the mobile host will send a Resv message for active reservation.If a proxy agent receives Path messages for a multicast group,for which it is acting as a proxy agent,or for a mobile host from which it has received a request for acting as a proxy,it will make a passive reservation on the downstream link to which the mobile host will attach when it arrives in its subnet,and then send a Resv message to make a passive reservation. Resv messages for active reservations are converted to Resv messages for passive reservation when they are forwarded towards nodes which contain only proxy agents of mobile senders and no active sender(figure3).In addition to the messages present in RSVP,some addi-tional messages are required in MRSVP.These are:1.Join_group.This message is sent by a mobile receiver toits remote proxy agents to request them to join a multicast group.It contains the multicast address of the group to join.2.Receiver_Spec.This message is used by a mobile re-ceiver to send the FLOWSPEC and theflow identification(i.e.the SESSION object)to its remote proxy agents.3.Sender_Spec.A mobile sender uses this message to sendits SENDER_TSPEC,ADSPEC and the destination ad-dress of aflow to a proxy agent.4.Receiver_Mspec.This message is used by a mobile hostto send its MSPEC to the appropriate node who sets up the routes of active and passive reservations.It contains the addresses of proxy agents of the locations in the MSPEC of the mobilehost.Figure3.Overview of MRSVP.5.Sender_Mspec.This message is used by a mobile senderto send its MSPEC to a proxy agent,which sets up the routes of active and passive reservations for the mobile sender.6.Forward_Mspec.This message is used by a mobilesender to forward the MSPEC of a mobile receiver to its local proxy agent.7.Anchor_Spec.This message is used by a sender_anchorto forward theflow-specific information to the mobile sender and its proxy agents.8.Terminate.This message is used by the mobile host torequest its remote proxy agents to terminate reservation.Currently,RSVP and Integrated Services[8,9]do not pro-vide any support for passive reservation.The FLOWSPEC and SENDER_TSPEC of active and passive reservations are handled by the integrated services module of a router and host.Therefore,the Integrated Services module needs to be augmented by including the support for passive reservation. The admission control scheme and the packet classifier[9] of the integrated services handle the functionalities of pas-sive reservations.The details of the admission control can be found in[30,31].The packet classifier in a router must not forward the data packets of aflow onto a link over which no active reservations for theflow exists.We consider two approaches in handling the active and passive RSVP messages in MRSVP.In thefirst method,the mobility agents play a more significant role in processing ac-tive and passive messages and no change is necessary in the10TALUKDAR ET AL.RSVP message processing and forwarding rules except at the mobility agents and the mobile hosts.In the second ap-proach,the RSVP message processing and forwarding rules needs to be augmented at all nodes,but this ensures better utilization of network resources.The rest of the paper con-tains description of the design of the protocol.In the fol-lowing section we describe the a mechanism for discovering proxy agents for a mobile host at the locations in its MSPEC. Then in section9,we describe the protocol using thefirst approach.The protocol for the second approach is described in section10.In the rest of this paper,we use aflow denoted by F hav-ing a destination address DST as a running example for de-scribing the protocol.8.Proxy Discovery Protocol:Discovering proxy agents Proxy agents set up passive reservations on behalf of a mo-bile host.Hence,a mobile host needs to discover these proxy agents.The proxy agent of a subnet supporting mobile hosts is a special MRSVP capable router in the subnet which has the following functionalities:•All data packets to the mobile hosts in the subnet are de-livered through this router and outgoing packets from the mobile host are delivered via this router,i.e.it is also the default gateway for the mobile host in the subnet.•It can make passive resource reservation on behalf of the mobile hosts which are not currently present in the sub-net.•It can notify the results of the reservation attempt for pas-sive reservation to the mobile host for which it was mak-ing the reservation.We assume that a mobile host knows the subnet addresses for locations that are in its MSPEC.The mobile host still needs to know the addresses of the proxy agents in those subnets.When the mobile host has a foreign agent care-of ad-dress in a foreign subnet,the foreign agent acts as the proxy agent in that subnet.As per IETF Mobile-IP,these care-of-addresses may be preallocated or they may be dynamically acquired by the mobile host when it moves into that subnet. However,the protocols for acquiring care-of address by a mobile host in a foreign subnet works only when the mo-bile host is present in that subnet.These protocols cannot be used by a mobile host to acquire a care-of address remotely in a foreign subnet where it is not currently present.Hence, a mobile host needs to use a mechanism such as Service Lo-cation Protocol[34]to acquire care-of addresses remotely. The details of this mechanism is out of the scope of this pa-per.In the following,we describe an alternative protocol for dynamically acquiring foreign agent care-of-address in a for-eign subnet where the mobile host is not currently located. The protocol uses two messages,Remote Agent Solicitation and Remote Agent Advertisement.In IPv4architecture,the protocol is as follows:1.The mobile host sends a Remote Agent Solicitation mes-sage in which the destination address is the subnet di-rected broadcast address of the foreign subnet.2.On receiving a Remote Agent Solicitation message,theforeign agent will reply with a Remote Agent Advertise-ment message containing the care-of address to the mo-bile host.In IPv6architecture,the protocol works as follows:1.The mobile host sends a Remote Agent Solicitation mes-sage in which the destination address is the subnet-router anycast address of foreign subnet.2.The router receiving this Remote Address Solicitationmessage,multicasts it to the all-routers link-local mul-ticast address.3.On receiving the Remote Agent Solicitation message,theforeign agent replies with a Remote Agent Advertisement message containing the care-of address to the mobile host.We assume that when the mobile host is in its home sub-net,all packets to the mobile host are delivered via its home agent.When the mobile host is away from its home subnet, and the home subnet is also in the mobility specification,the home agent acts as the proxy agent for its home subnet.In IETF Mobile-IP,a mobile host can also acquire a co-located care-of address by using Dynamic Host Configura-tion Protocol(DHCP).In this case also we can design a sim-ilar protocol to determine the co-located care-of addresses remotely.The proxy agent,in this case,is the last hop router to the mobile host in each subnet.For simplifying the discussion,we assume that all care-of addresses of a mobile host are foreign agent care-of ad-dresses and the foreign agent of a subnet is also the proxy agent for a mobile host and in the home subnet,home agent is the proxy agent of the mobile host.Thus,the proxy agent address of a mobile host in a foreign subnet is same as its care-of address;for the home subnet,the home address of the mobile host is used as the proxy agent address.9.MRSVP protocol description:Design IIn this section,we provide details of MRSVP in which the mobility agents play a significant role in establishing ac-tive and passive reservation.The RSVP operations at other nodes in the network(except the mobile nodes and mobility agents)need not be changed.Functionally,there are several issues in the protocol.These are:setting up paths for active and passive reservation,reservation setup,merging reserva-tion messages,handoff management,soft state maintenance, tearing down of reservation,confirmation and handling of error messages.We describe each of these issues in the fol-lowing.MRSVP119.1.Paths of reservationAs the mobile host moves from one subnet to another,the dataflow path changes.One approach of reservation for a mobile host is to setup the reservation along the new path when the mobile host moves and delete the reservation along the old path.Thus,the path of reservation is determined by the current location of the mobile host.But this has a po-tential problem that,resources may not be available along the path to the new location when the mobile host moves there.Since in our reservation model,we assumed that the mobile host makes reservation at the locations in its MSPEC, the paths of active and passive reservations for a mobile host can be determined when theflow is initiated.In the follow-ing,we describe how the paths of reservation are set up for the different scenarios.9.1.1.Reservation routes:Sender is mobileA mobile sender would like to set up an active reservation from its current location and a passive reservation from each of the other locations in its MSPEC.However,it was men-tioned in section6that in this situation identification of the Path messages and appropriate forwarding of Resv messages at the receivers and intermediate routers become difficult. One solution to this problem is to allow the proxy agents of the mobile sender to use the IP address of the mobile host as the sender address.But this solution has a draw-back that,some multicast routing protocols[12]depend on the source IP address of the packets for correctly routing them.In ourfirst design,we overcome this problem by splitting theflow F as described below.Let P be the mobility agent of the sender at the subnet where theflow is initiated.The paths of active and passive reservations are established via P and P is called the sender_anchor node of the mobile sender. Theflow F is split into twoflows:•F1:a unicastflow starting from the mobile sender and its remote proxy agents to its sender_anchor node.The destination address of thisflow consists of the IP address of P and a port number acquired by P for the sender;we denote this destination address by P.•F2:a unicast or multicast(depending on the actual flow F)flow from the sender_anchor to the destination DST.The sender_anchor transforms theflow F1into theflow F2 (i.e.the messages and data packets of F1are converted into the messages and data packets of F2).Thus,the paths of reservation are set up from the proxy agents via the sender_anchor node which remainsfixed for theflow duration.9.1.2.Reservation routes:Receiver is mobile in a multicastflowTo join a multicasting session,a mobile host sends two mes-sages,a Receiver_Spec message containing the multicast ad-dress of the group DST and theflow specification,to eachofFigure4.Reservation routes for a multicastflow.its remote proxy agents.On receiving the Receiver_Spec message,the remote proxy agents join the multicast group whose multicast address is specified in the message and record the FLOWSPEC present in the message.The mobile host also joins the multicast group(figure4).As a result,when the sender(or a remote proxy agent of a sender)sends a Path message to the multicast address, it reaches the mobile receiver and its remote proxy agents. Thus,the paths of active and passive reservations are set up along the multicast routes.We do not specify any particular multicast routing protocol to be used.For better network performance,a sparse-mode multicast routing protocol,like PIM-SM[16]or Core-Based Tree multicast protocol[5],is preferred because the set of proxy agents and the mobile host are expected to be located in close proximity.9.1.3.Reservation routes:Receiver is mobile in a unicastflowA unicastflow is between a source and a destination.How-ever,in our architecture of supporting integrated services to mobile hosts,a mobile host needs to make reservations in all locations in its MSPEC.Hence,even for a unicastflow,a set of proxy agents need to make passive reservations for the flow.We have two choices for setting up reservations from a set of proxy agents and the mobile host:unicast routes and multicast routes to the proxy agents.Unicast routes for unicastflow.In this scheme,for each flow,a specific node called the receiver_anchor node,is designated for setting up the routes for active and passive。