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

Re: [ns] multiple path links?



Dear Lloyd,
Thanks for u quick response.But
i think there was some misunderstanding with my question.I just need to
many links which can form a Optic fiber with diffrent wavelength ,where each
link  has a different bandwidth.

and so i tried to have 2 simplexlinks between n1 and n2
like in Example3.tcl->

#create 4 nodes using arrays
for {set i 0} {$i < 4} {incr i} {

    set n($i) [$ns node]
}


    $ns duplex-link  $n($i)  $n([expr ($i+1)%4]) 1Mb 10ms DropTail
    $ns duplex-link  $n($i)  $n([expr ($i+1)%4]) 2Mb 10ms DropTail


################################################################
but i couldnt trace the o/p properly
i could see the bandwith getting overlaped.
what i try here is  to have WDM_LINK between these two nodes,by using the tcl.

May be my appraoch and my understanding is wrong  on this.
Do i need to code in c++ to get a wdm_link  or is that enough if i could
inherit link.tcl to acheive this.

Hope i had explained in a better way this time
thanks
Kishore


Lloyd Wood wrote:

> On Sun, 15 Oct 2000, Kishore Kumar Sathyanandam wrote:
>
> > Dear ns users,
> > I am  a new  ns user.I am working on adding a support in NS for  WDM in
> > all optic n/ws.
> > Right  now Im  going through the package to understand its capabilities.
> > I would like to create a multipath link as my first step,
> > this i tried to do by creating multiple simpex-links between same
> > nodes,but   the
> > bandwidth generally overlap each other which is not my goal.I would like
> > to send packet in different bandwith.
>
> That's not multipath routing (the multipath classifier requires DV
> routing for that) but MAC stuff. You need to read the ns documentation
> sections on wireless MAC.
>
> L.
>
> <[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>

--
________________________________________________________________________________

Kishore Kumar Sathyanandam
Trainee at CTIT
University Of Twente
Netherlands
email: [email protected]
  (or)
   [email protected]
________________________________________________________________________________