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

RE: [ns] OSPF implementation



You should look at tcl/test/test-suite-linkstate.tcl, which includes a
version of simple-eqp adapted for LS. I don't think there is an example
script under tcl/ex for linkstate explicitly (I didn't put any there nor 
do I remember anyone did).

- Haobo

On Mon, 15 Jan 2001, Mark Puddephatt wrote:

> Hi all,
> 
> I have been trying to run the linkstate stuff, and have encountered the
> following: can anyone please help (most likely I'm doing something/not doing
> something simple here...)
> 
> $ ns simple-eqp1.tcl
> can't read "addr_": no such variable
> 	while executing
> "subst $[subst $var"
> 	(procedure "_o159" line 5)
> 	(Object next line 5)
> 	invlked from within
> "_o159 next addr_"
> 	("eval" body line 1)
> 	invoked from within
> "eval $self nxt $args"
> 	(procedure "_o159" line 18)
> 	(Agent set line 18)
> 	invoked from within
> "$rtproto set addr_"
> 	(procedure "Agent/rtProto/LS" line 18)
> 	(Agent/rtProto/LS init-all line 18)
> 	invoked from within
> "Agent/rtProto/LS init-all"
> 	("eval" body line 1)
> 	invoked from within
> "eval Agent/rtProto/$proto init-all $rtprotos_($proto)"
> 	(procedure "_o141" line 5)
> 	(RouteLogic configure line 5)
> 	invoked from within
> "[$self get-routelogic] configure"
> 	(procedure "_o4" line 4)
> 	(Simulator run line 4)
> 	invoked from within
> "$ns run
> "
> 	(file "simple-eqp1.tcl" line 142)
> 
> ***end***
> 
> the line 142 referenced is just the command "$ns run" btw.
> 
> Cheers,
> Mark
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Mark Puddephatt [email protected]
> Network Researcher
> Centre for Networking and Telecommunications Research (CNTR)
> University of Salford
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> -----Original Message-----
> From: Lee [mailto:[email protected]]
> Sent: 11 January 2001 16:05
> To: Mark Puddephatt
> Cc: [email protected]
> Subject: Re: [ns] OSPF implementation
> 
> 
> Hi,
> 
> There is a webpage for that,
> http://networks.ecse.rpi.edu/~sunmin/rtProtoLS/
> 
> In ns 2.1b7, there is a directory, linkstate,
> in which there are files rtProtoLS.{h, cc}, ls.{h, cc}, etc
> and .tcl file, ns-rtProtoLS.tcl
> 
> I do not have 2.1b7 so not tell you the exact path.
> Sure you could find them.
> 
> Lee
> 
> On Thu, 11 Jan 2001, Mark Puddephatt wrote:
> 
> > Hi all,
> >
> > I'm an NS newbie and I'm researching in the area of routing protocols. I
> > picked up on this message about a link state protocol in NS, which
> > implements OSPF. I was hoping someone could point me to the relevant files
> > that I need to play with to simulate OSPF. I'm using allinone ns2.1b7 on
> > RedHat 6.2
> > I've learned the basics from Marc Griess' Tutorial, but I'm still pretty
> > green....
> >
> > Thanks for your help with what is inevitably a trivial request!
> >
> > Mark
> >
> > >There is a link state protocol in 2.1b7
> > >which implements a simple OSPF.
> > >Hope that is helpful.
> > >
> > >Lee
> > >
> > >On Thu, 4 Jan 2001, Vivek Yadav wrote:
> >
> > >> Has any one implemented OSPF/ BGP routing on NS?
> > >> can any one help me out?
> > >> If so do tell me.
> > >>
> > >> Thanks
> > >>
> > >> vivek
> >
> >
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Mark Puddephatt [email protected]
> > Network Researcher
> > Centre for Networking and Telecommunications Research (CNTR)
> > University of Salford
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> >
> 
> 
> ****************************
> * Yuxi Li    492-7747(lab) *
> * www.cs.ualberta.ca/~yuxi *
> * VP Communication, CSSA   *
> * www.ualberta.ca/~cssa    *
> ********==(*^_^*)==*********
> 
>