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

Re: [ns] Documentation on CBQLink and CBQ Objects



> I want packets from n0 and n1 to be queued in different queues at n2 before
> being forwarded to n3. Since NS do not implement CBQ as object of the node,
> I have problem in  managing CBQ in n2. The question is, for me to implement
> multiple Queue in n2 only, must I install cbqlink in the 3 links? Does NS
> allow you to define a procedure that enable you to install multiple queues
> in a node?

NS implements queues within link objects. So, in order to get the effect
of having multiple queues in node n2, you just need to set a CBQ link
between nodes n2 and n3.

> I have the ./ns test-suite-cbq.tcl. The script confuse me in terms of how
> the events are related to the topology or nodes for the simulation.

Take a look in the following simple script:
http://www.cin.ufpe.br/~cak/ns/cbq_example.tcl

> 
> I also have problem with implementation of CBQ using TCP as transport agent.

If use set a CBQ duplex-link you need to configure CBQ queues in both
directions, i.e., link n2-n3 and n3-n2. 
Since TCP agents have acks flowing in the opposite direction of the flow,
you need either to configure a CBQ as a simplex-link or (if you choose
to use a duplex-link) to configure CBQ in both directions.

Carlos

> 
> I will appreciate your help on this and thanks so much for your help so far.
> I will be grateful to anybody that can help on this.
> 
>  
> At 10:05 09/11/00 -0500, John Mehringer wrote:
> >Links to ns documentation can be found at the following link.
> >
> >http://www.isi.edu/nsnam/ns/index.html
> >
> > - John
> >
> >Titus Awotula wrote:
> >
> >> Hi All,
> >> I will be grateful if anybody can send me a link or information on the
> >> documentation on the use of CBQlink and CBQ Objects in NS.
> >> Please it is urgent.
> >> Titus Awotula, MSc AMIEE
> >> Dept. of Electronic & Electrical Engineering
> >> Loughborough University
> >> Loughborough.
> >> Leicestershire LE11 3TU
> >> Tel: Office (01509) 228117
> >>      Home   (01509) 558102
> >> Fax: (01509) 227014
> >
> >
> >
> Titus Awotula, MSc AMIEE
> Dept. of Electronic & Electrical Engineering
> Loughborough University
> Loughborough.
> Leicestershire LE11 3TU
> Tel: Office (01509) 228117
>      Home   (01509) 558102  
> Fax: (01509) 227014
>