Re: [ns] [ns-2] Hierarchical Routing and MPLS

2006-01-12 Thread Florian Liers

Hello,

 Is it possible work with MPLS and hierarchical routing?

Yes, it is possible. Please have a look at the following homepage. There
you can find a patch for MPLS with RSVP-TE with hierarchical routing.

http://www.ideo-labs.com/index.php?structureID=45

Further information can be found on page:

http://wcms1.rz.tu-ilmenau.de/fakia/RSVP-TE.1573.0.html?L=0


Florian Liers



By the way:
You can find the answer via google mpls ns-2 hierarchical routing.

-- 
Dipl.-Inf. Florian Liers
TU Ilmenau
Integrated HW/SW-Systems

Office: Blechhaus R 314
Phone : +49 (0)3677 69 - 1379
Web   : http://www.tu-ilmenau.de/ihs



[ns] The command routing

2006-01-12 Thread Dario Borriello

Hi all,

I' m using the protocol Noah and i have to built up a multihop comunication 
between 2 nodes on a line of nodes.

I have read at the following site

http://icapeople.epfl.ch/widmer/uwb/ns-2/noah/

that is possible to make static routing with Naoh through the command 
routing, and so i insert the code

for {set i 0} {$i  $val(nn) } {incr i} {
set cmd [$node_($i) set ragent_] routing $val(nn)
for {set to 0} {$to  $val(nn) } {incr to} {
if {$to  $i} {
set hop [expr $i - 1]
} elseif {$to  $i} {
set hop [expr $i + 1]
} else {
set hop $i
}
set cmd $cmd $to $hop
}
eval $cmd
}

But when i issues the simulation the following error appears:

(_o17 cmd line 1)
invoked from within
_o17 cmd routing 3 0 0 1 1 2 1
invoked from within
catch $self cmd $args ret
(procedure _o17 line 2)
(SplitObject unknown line 2)
invoked from within
_o17 routing 3 0 0 1 1 2 1
(eval body line 1)
invoked from within
eval $cmd
(for body line 25)
invoked from within
for {set i 0} {$i  $num_nodi } {incr i} {

set cmd [$node_($i) set ragent_] routing $num_nodi

for {set to 0} {$to  $num_nodi } {incr to} ...


Can someone explain me why??
Please help me because i don't understand the reason...
Thanks

_
Videochiamata? Prova MSN Messenger: divertente, facile, veloce, gratuito! 
http://www.msn.it/messenger/v7



[ns] changing seed

2006-01-12 Thread Utente ns2

Hi everybody.

I need to repeat N times the same scenario but changing the seed.
I tried to put in my .tcl script

set rng [new RNG]
$rng seed integer number

changing integer numer for every simulation, but the average delay I 
measured is always the same. On the contrary I am sure that should change, 
since the backoff times of my mobile nodes should change.

The other solution could be modifying the 6 values 12345 in double 
RNG::next_seed_[6] in the file rng.cc?

Please give me some suggestions.

Thank you in advance.

_
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, 
YupiMSN Compras: http://latam.msn.com/compras/