[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Re: Manual routing.
On Thursday 06 December 2001 17:32, you wrote:
> What I need to do is just add some manual routes (just like I would with a
> router in a real network) but ns doesn't want to do it.
Ok, I managed to make it work with static routing.
I was trying to use something like:
set Link1 [$ns duplex-link $n4 $n5 0.512Mb 30ms DropTail]
Instead, I succeded in making it work with this code:
$ns duplex-link $n4 $n5 0.512Mb 30ms DropTail
set Link1 [$ns link $n4 $n5]
And by obviously adding an "add-route" after run.
Giulio