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

Re: Routing Table Entry




I think the problem comes from the fact that the routing table gets calculated 
when "run" is called, your modifications need to take effect before that, or you 
need to re-"run".

> From: "Eric Wong" <[email protected]>
> To: "Tan Su Wei" <[email protected]>, "Christiane" <[email protected]>, 
"Tarik Alj" <[email protected]>, 
<[email protected]>
> Subject: Routing Table Entry
> Date: Mon, 21 Feb 2000 12:23:59 +0800
> MIME-Version: 1.0
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
> 
> Dear all,
> 
> I am trying to manual state my own routing table entries based on src and dst 
address. However I don't seem to doing it right. 
> 
> $n1    $r2--$r3
>    \    /           \
>     $r1---$r4----$r5--$n2
>    /
> $m1
> 
> Based on $ns rtproto DV/Static, a source from $n1 will travel from 
$r1->$r4->$r5->$n2 while I want $m1->$r2->$r3->$r5->$n2
> 
> However I am trying to define my own routing table entry             
> using the following commands in my testnet.tcl file ... as defined in route.cc 
but it doesn't seem to work. Please help.
> 
> $r1 insert $n1 $r4 0
> $r1 insert $m1 $r2 0
> 
> I have also tried this
> 
> $r1 insert [$n1 id] [$r4 id] 0
> $r1 insert [$m1 id] [$r2 id] 0
> 
> but i didn't work either. Am I doing it wrong?? If so, what are the ways I can 
do to flood the routing table entry based on src and dst.
> 
> Any information will be greatly appreciated.
> 
> Thanks.
> Eric

Tarik