[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] change flow id at intermediate node



> Since the queue is contained in a Link object, strictly speaking *action* would 
> not take place at the *intermediate* node anymore. That is, if you were to 
> replace the queueing scheme.

This is because in ns queues belong to links and not to nodes, but this is
an idiosyncrasy of ns.

I think the best place to put this function (that classifies e change
fid_) is before the classifier.
Sean Murphy's diffserv implementation does it.

If you want to use a queue type that is based on the fid_ (like CBQ) you
should certainly change fid_ value before it is sent to that queue.
In addtion, if you want to choose an output line (link) based on the fid_,
you should change it before the classfier.

Carlos


> >X-Authentication-Warning: coyote.aciri.org: ratul owned process doing -bs
> >Date: Sun, 15 Oct 2000 21:35:42 -0700 (PDT)
> >From: Ratul Mahajan <[email protected]>
> >To: Neha Rajendra Shah <[email protected]>
> >cc: ns <[email protected]>
> >Subject: Re: [ns] change flow id at intermediate node
> >MIME-Version: 1.0
> >
> >
> >I doubt that this can be achieved within Tcl. It looks like you'll have to
> >write a new queue object at the intermediate node or something similar.
> >Classifiers do not change anything in the packet header by default.
> >
> >	-ratul
> >
> >On Sat, 14 Oct 2000, Neha Rajendra Shah wrote:
> >
> >> Hi all,
> >> 
> >> How do i change the flow_id of the flow at the intermediate node using
> >> Tcl script?
> >> 
> >> I am trying to generate two traffic flows from a node which after being
> >> classified by an intermediate node would change their flow id thus
> >> classifying them.
> >> 
> >> Can someone throw some light on this please...
> >> 
> >> thanks
> >> -neha 
> >> 
> >> 
> >> ===================================
> >>              Neha Shah            =
> >> ===================================
> >>     Graduate Research Assistant   =
> >>   Masters in  Computer Networking =
> >>   North Carolina State University =
> >> ===================================
> >> 
> >> 
> 
> Tarik 
> 
>