[ns] How to choose a particular path if there is more than one path
Song Luo
sluons at gmail.com
Tue Apr 1 08:39:02 PDT 2008
check out directory ns/src_rtg, you need this manual source routing module.
The readme file provided a good example.
On Mon, Mar 24, 2008 at 6:29 AM, adimulam srikanth <adi.sriku366 at gmail.com>
wrote:
> Hi,
> Thanks for replying. I found not much regarding Manual routing.
>
> My problem is say I have n1, n2, n3 & n4 nodes. Then I want to haev
> duplex links from n1 to n2, n2 to n4, n1 to n3, n3 to n4.
> I'll have two tcp sources at n1 end which are connected to a sink at n4.
> As I have two flows here. I want each flow to follow one of the path i.en1-n2-n4 & n1-n3-n4.
>
> Also
>
> [$node1 get- module Manual] add-route-to-adj-node -default $node2
> is giving me error.
>
> I am attaching my code file..
>
> I am extremely sorry for the inconvenience.
>
> Please let me know...
>
>
> On Thu, Mar 20, 2008 at 11:18 PM, Song Luo <sluons at gmail.com> wrote:
>
> > if you are not using wireless nodes, you can use the manual routing
> > module provided by ns2. This module allows you to specify the whole path for
> > a flow.
> >
> >
> > On Wed, Mar 19, 2008 at 9:58 AM, adimulam srikanth <
> > adi.sriku366 at gmail.com> wrote:
> >
> > >
> > > Hi,
> > > I have two applications at a node that want to send data to the same
> > > destination.
> > > And the case is I have more than one path through which I can send the
> > > data.
> > > But when I
> > > tried to start the application both were taking the same path & there
> > > was a
> > > overflow from the queue
> > > of the link.
> > >
> > > I am still a novice to this ns2, I think there is some way I can have
> > > control over the path I can use..
> > >
> > > The topology is like say:
> > > Source & Destination are connected via two paths, each path having an
> > > intermediary node.
> > >
> > >
> > > Thnx,
> > > Srikanth A
> > >
> >
> >
> >
> > --
> > Song Luo
> > Intelligent Automation, Inc.
> > ----
> > My ns blog:
> > http://ns-3.blogspot.com
>
>
>
--
Song Luo
Intelligent Automation, Inc.
----
My ns blog:
http://ns-3.blogspot.com
More information about the Ns-users
mailing list