12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Note: the actual value of these trace variables have no meaning. <strong>The</strong>y are simply used to trace corresponding variables forpotentially multihomed endpoints. For example, if a sender’s peer endpoint has two destin<strong>at</strong>io<strong>ns</strong>, the sender will maintaintwo cwnds. <strong>The</strong> cwnd_ trace variable will trace both of these cwnds together.print Provides the sampling method of tracing. This comm<strong>and</strong> simply prints a given variable (<strong>and</strong> associ<strong>at</strong>ed inform<strong>at</strong>ion)per call. Takes 1 argument: one of the trace variables presented above.set-multihome-core Sets the core node for multihomed endpoints. Takes 1 argument of type node. M<strong>and</strong><strong>at</strong>ory for multihomedendpoints <strong>and</strong> must not be set more than once per endpoint.multihome-add-interface Adds an interface to a multihomed endpoint. Takes 2 arguments of type node. Argument 1 is thecore node of the multihomed endpoint. Argument 2 is the interface node to be added. M<strong>and</strong><strong>at</strong>ory for multihomed endpoints.All interfaces must be added after set-multihome-core is called <strong>and</strong> before multihome-<strong>at</strong>tach-agent is called.multihome-<strong>at</strong>tach-agent Attaches an SCTP agent to a multihomed endpoint. Takes 2 arguments. Argument 1 is the corenode. Argument 2 is the SCTP agent. M<strong>and</strong><strong>at</strong>ory for multihomed endpoints.set-primary-destin<strong>at</strong>ion Sets the interface node of the peer endpoint as the primary destin<strong>at</strong>ion. Takes 1 argument of typenode. Optional <strong>and</strong> may be set more than once per endpoint. If not used, a primary destin<strong>at</strong>ion is chosen autom<strong>at</strong>ically.force-source Sets the interface node th<strong>at</strong> packets will be sent from. Takes 1 argument of type node. Optional <strong>and</strong> may beset more than once per endpoint. If not used, routing will autom<strong>at</strong>ically choose the source on a per packet basis.35.2 Exte<strong>ns</strong>io<strong>ns</strong>35.2.1 HbAfterRto SCTP<strong>The</strong> HbAfterRto SCTP agent extends the current retra<strong>ns</strong>mission policy. In addition to SCTP’s current policy of retra<strong>ns</strong>mittingto an altern<strong>at</strong>e destin<strong>at</strong>ion on a timeout, a heartbe<strong>at</strong> is sent immedi<strong>at</strong>ely to the destin<strong>at</strong>ion on which a timeout occurred. Extraheartbe<strong>at</strong>s provide a mechanism for a sender to upd<strong>at</strong>e an altern<strong>at</strong>e destin<strong>at</strong>ion’s RTT estim<strong>at</strong>e more frequently, thus resultingin a better RTT estim<strong>at</strong>e on which to base the RTO value.For example, suppose a packet is lost in tra<strong>ns</strong>it to the primary destin<strong>at</strong>ion, <strong>and</strong> l<strong>at</strong>er gets retra<strong>ns</strong>mitted to an altern<strong>at</strong>e destin<strong>at</strong>ion.Also suppose th<strong>at</strong> the retra<strong>ns</strong>mission times out. <strong>The</strong> lost packet is retra<strong>ns</strong>mitted again to yet another altern<strong>at</strong>e destin<strong>at</strong>ion(if one exists; otherwise, the primary). More importantly, a heartbe<strong>at</strong> is also sent to the altern<strong>at</strong>e destin<strong>at</strong>ion which timed out.If the heartbe<strong>at</strong> is successfully acked, th<strong>at</strong> destin<strong>at</strong>ion acquires an additional RTT measurement to help reduce its recentlydoubled RTO [?].35.2.2 MultipleFastRtx SCTP<strong>The</strong> MultipleFastRtx SCTP agent <strong>at</strong>tempts to minimize the number of timeouts which occur. Without the Multiple Fast Retra<strong>ns</strong>mitalgorithm, SCTP may only Fast Retra<strong>ns</strong>mit a TSN once. If a Fast Retra<strong>ns</strong>mitted TSN is lost, a timeout is necessary302

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!