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.

6.2 Acknowledgment on Reception of DATA Chunks6.3 Management Retra<strong>ns</strong>mission Timer6.4 Multihomed SCTP Endpoints6.5 Stream Identifier <strong>and</strong> Stream Sequence Number6.6 Ordered <strong>and</strong> Unordered Delivery6.7 Report Gaps in Received DATA TSNs7.2 SCTP Slow-Start <strong>and</strong> Congestion Avoidance8.1 Endpoint Failure Detection8.2 P<strong>at</strong>h Failure Detection8.3 P<strong>at</strong>h Heartbe<strong>at</strong> (without upper layer control)This agent also supports the Partial Reliability exte<strong>ns</strong>ion as of draft-ietf-tsvwg-usctp-01.txt.Associ<strong>at</strong>ion Establishment <strong>The</strong> SCTP agent establishes an associ<strong>at</strong>ion using a four-way h<strong>and</strong>shake, but the h<strong>and</strong>shake iskept simple <strong>and</strong> does not strictly conform to RFC2960. <strong>The</strong> h<strong>and</strong>shake does not exchange tags, <strong>and</strong> the INIT <strong>and</strong> COOKIE-ECHO chunks are not used to upd<strong>at</strong>e the RTT. I<strong>ns</strong>tead, RTT estim<strong>at</strong>ion begin with the first DATA chunk.Associ<strong>at</strong>ion Shutdown Currently, the SCTP agent does not perform a proper shutdown. <strong>The</strong> associ<strong>at</strong>ion is abruptly termin<strong>at</strong>edwhen the simul<strong>at</strong>ed connection ends. A shutdown procedure may be added in a future release.Multihoming <strong>The</strong> underlying infrastructure of <strong>ns</strong>-2 does not support multiple interfaces for a single node. To get aroundthis limit<strong>at</strong>ion, our approach allows the general support for logically multihoming nodes th<strong>at</strong> have a multihomed tra<strong>ns</strong>portlayer, such as SCTP. Each multihomed node is actually made up of more than one node. As shown in Figure 35.1, a logicallymultihomed node is made up of a single "core node" <strong>and</strong> multiple "interface nodes", one for each simul<strong>at</strong>ed interface. <strong>The</strong>core node is connected to each interface node via a uni-directional link towards the interface node, but traffic never traversesthese links. <strong>The</strong>se links are only in place for the core node to make routing decisio<strong>ns</strong>. An SCTP agent simultaneously resideson all these nodes (i.e., the core <strong>and</strong> interface nodes), but actual traffic only goes to/from the interface nodes. Whenever theSCTP agent needs to send d<strong>at</strong>a to a destin<strong>at</strong>ion <strong>and</strong> does not know which outgoing interface to use, the agent firsts co<strong>ns</strong>ultswith the core node for a route lookup. <strong>The</strong>n, the SCTP agent performs the send from the appropri<strong>at</strong>e interface node. Incomingd<strong>at</strong>a is received <strong>at</strong> one of the interface nodes directly <strong>and</strong> passed up to the SCTP agent. This solution is applicable to anytra<strong>ns</strong>port protocol th<strong>at</strong> requires multihoming functionality in <strong>ns</strong>-2. Note: the user must configure multihomed nodes usingcomm<strong>and</strong>s in Section 35.1.2 (an example is shown in Section 35.5.2).Packet Number vs TSN Numbering While <strong>ns</strong> starts numbering packets <strong>at</strong> 0, the SCTP module starts numbering DATAchunk TSNs <strong>at</strong> 1 <strong>and</strong> assig<strong>ns</strong> undefined TSN values (-1) to control chunks (ie, INIT, SACK, HEARTBEAT, etc). <strong>The</strong> fourpackets exchanged during the associ<strong>at</strong>ion establishment are counted in the packet enumer<strong>at</strong>ion, but do not show up in graphs.This inform<strong>at</strong>ion is important when doing things like specifying a drop list for the ErrorModel object. For example, packet2 actually refers to the first SCTP packet with DATA chunk(s).35.1.1 Configur<strong>at</strong>ion ParametersSCTP supports several configur<strong>at</strong>ion variables which are TCL bindable. Each of the variables described in this subsection isboth a class variable <strong>and</strong> an i<strong>ns</strong>tance variable. Changing the class variable changes the default value for all agents th<strong>at</strong> are299

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

Saved successfully!

Ooh no, something went wrong!