[ns] Query regarding the OSPF
hao wang
haow@ece.ubc.ca
Tue Apr 30 10:45:02 2002
Yes I tried your trace file. You are experiencing the same problem as me.
The traffic should follow the shortest route n0->n2->n4->n5->n6, but
instead it goes along n0->n2->n6. Yes, it works correctly when you turn
down the link between n0 and n2. But when you turn it back on, the taffic
follow the wrong route again.
I have found out that the problem comes from the "Agent/rtProto/LS
instproc install-routes" in file rtProtoLS.tcl. Somehow this procedure can
not install the route correctly on the routing table of node n2. It works
well on other nodes. I haven't found out the reason yet.
Hao
On Tue, 30 Apr 2002, Tarek NADOUR wrote:
>
> Hao, have you tried the trace file ?
>
>
> Le Mardi 30 Avril 2002 16:28, hao wang a écrit :
> > Really? Did the CBR traffic from n0 to n6 follow the shortest path which
> > is n0->n2->n4->n5->n6? If so, would you please tell me your ns version and
> > on what platform your ns is running? Did you check the DV case?
> >
> > Hao
> >
> > On Tue, 30 Apr 2002, Tarek NADOUR wrote:
> > > Hi all,
> > >
> > > I haven't found any problem!! I think it works correctly !
> > >
> > > Tarek.
> > >
> > > Le Lundi 29 Avril 2002 18:34, hao wang a écrit :
> > > > I attached the tcl file in which the LS and DV routing do not work
> > > > correctly. Hope you can find out the problem.
> > > >
> > > > By the way, I think it is a good idea to cc every discussion to the
> > > > ns-users list, so that those who might be interested in this topic can
> > > > read it.
> > > >
> > > > Regards,
> > > >
> > > > Hao
> > > >
> > > > On Mon, 29 Apr 2002, SHAFI MANI wrote:
> > > > > Hi Hao,
> > > > >
> > > > > Thanks for the information. Yeah i guess i have to look into the
> > > > > rProtoLS for the Link State implementation. Could you please let me
> > > > > know as to in which scenario the implemenation was failing.
> > > > >
> > > > > Thanks a lot for everything.
> > > > >
> > > > > Regards,
> > > > > Shafi
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "hao wang" <haow@ece.ubc.ca>
> > > > > To: "SHAFI MANI" <shafi.mani@wipro.com>
> > > > > Cc: <ns-users@isi.edu>
> > > > > Sent: Monday, April 29, 2002 9:45 PM
> > > > > Subject: Re: [ns] Query regarding the OSPF
> > > > >
> > > > > > Hi Shafi,
> > > > > >
> > > > > > As far as I know, ns already has a Link State routing protocol
> > > > > > embedded in it, at least from version 2.1b8, although the ns manual
> > > > > > doesn't mention anything about it. The source files for that
> > > > > > protocol are ns/linkstate/ls(.cc/.h),
> > > > > > ns/linkstate/rtProtoLS(.cc/.h) and ns/tcl/rtglib/ns-rtProtoLS.tcl.
> > > > > >
> > > > > > But this LS routing, as well as the DV routing, in ns seems have a
> > > > > > bug. It can not foreward the packet alonge the correct (shortest)
> > > > > > route, at least in one case I know. Someone asked about this
> > > > > > problem on this mail list previously, but I haven't seen any answer
> > > > > > yet.
> > > > > >
> > > > > > Hope this email helps.
> > > > > >
> > > > > > Hao
> > > > > >
> > > > > > On Mon, 29 Apr 2002, SHAFI MANI wrote:
> > > > > > > Hi All,
> > > > > > >
> > > > > > > I am working on the OSPF implmentation on ns-2 and i was
> > > > > > > wondering
> > > > >
> > > > > whether has someone already worked on this before. If that is the
> > > > > case, could someone please provide me any pointer on the way to
> > > > > start. Any help would be greatly appreciated.
> > > > >
> > > > > > > Thanks and Regards,
> > > > > > > shafi
>