[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] ns-2.1b8 & MNS v2 (Haobo Yu help???)
Hello guys
I tried to run MN2 with ns-2.1b8 for like 3 weeks but got nothing done, so I
decided to do it in ns-2.1b6
now.
I installed ns successfully and followed the install guide in MNS. After
everything is done, I tried to run
a example file of mpls but still failed!!!
The system said:
(_o3 cmd line 1)
invoked from within
"_o3 cmd MPLSnode"
invoked from within
"catch "$self cmd $args" ret"
(procedure "_o3" line 2)
(SplitObject unknown line 2)
invoked from within
"$ns MPLSnode"
invoked from within
"set LSR1 [$ns MPLSnode]"
(file "test-constraint-routing.tcl" line 94)
This result is the same as the one I got when I use ns-2.1b8.
I am really confused, someone please help!!!
Jason Liu
P.S. I install ns-2.1b6 but I still have ns-2.1b8 in my unix computer, is
this reason???
>From: Onno Kievit <okievit@lucent.com>
>To: Kuang-Jen Liu <hotkjl@hotmail.com>, ns-users@isi.edu, haoboy@isi.edu
>Subject: Re: [ns] ns-2.1b8 & MNS v2 (Haobo Yu help???)
>Date: Fri, 10 Aug 2001 18:17:27 +0200
>
>Hi Jason,
>
>I don't completely understand it, but for as far as I know,
>the node structure in ns has been changed since ns-2.1b7. If
>you compare the MPLS-module added with ns-2.1b7 and ns-2.1b8
>and the original MNS module, you will see that has been quite
>a number of changes. (See also the ns change log, paricularly
>Thu Sep 14 2000 when MPLS was added)
>I suspect, no I fear, that MNS version 2 still uses the "old
>type of nodes". This would mean that all references to a node,
>or a MPLS module in MNS v2 would have to be redefined in order
>to make it run with the new node structure.
>
>Hopefully Haobo Yu can tell us more, because he was the one
>that has rewritten MNS v1 and added it to ns-2.1b7.
>
>So Haobo Yu, could you please tell us more?
>
>kind regards,
>
>Onno
>
>Kuang-Jen Liu wrote:
> >
> > Hi Onno,
> > I tried your method but the "for{}" doesn't work in my ns-2.1b8 so
> > instead I just did something like this:
> >
> > $ns node-config -MPLS ON
> > set LSR1 [$ns node]
> > $LSR1 color red
> >
> > set LSR2 [$ns node]
> > $LSR2 color red
> > :
> > :
> > :
> > set LSR9 [$ns node]
> > $LSR9 color red
> >
> > $ns node-config -MPLS OFF
> >
> > And it worked. But the system now complained about:
> > $ns configure-ldp-on-all-mpls-nodes
> >
> > So I tried to comment out $ns configure-ldp-on-all-mpls-nodes, and then
>the
> > system complained about:
> > $ns cfg-cbq-for-SBTS
> >
> > So I am wondering if my ns was not "Configure" or "Make" properly.
> >
> > What do you think?
> >
> > Regards
> >
> > Jason
> >
> > >From: Onno Kievit <okievit@lucent.com>
> > >To: Kuang-Jen Liu <hotkjl@hotmail.com>
> > >Subject: Re: Fwd: Re: [ns] ns-2.1b8 & MNS v2
> > >Date: Fri, 10 Aug 2001 16:04:19 +0200
> > >
> > >Hi Jason,
> > >
> > >There's another way to create a MPLS node in ns2.1b7. Maybe
> > >this does work in ns2.1b8 with MNS v2.0...
> > >
> > >For example if you want to create 10 (red) MPLS nodes:
> > >
> > >for {set i 0} {$i < 10} {incr i} {
> > >$ns node-config -MPLS ON
> > >set node($i) [$ns node]
> > >$node($i) color red
> > >$ns node-config -MPLS OFF
> > >}
> > >
> > >Good luck, and please let me know if this does work
> > >
> > >Onno
> > >
> > >Kuang-Jen Liu wrote:
> > > >
> > > > Hi there!
> > > > I followed Christian Glomb's steps to run mns in ns-2.1b8 but in the
>end
> > > > still no luck.
> > > >
> > > > The system kept saying the same thing when I run test-*.tcl files:
> > > >
> > > > (_o3 cmd line 1)
> > > > invoked from within
> > > > "_o3 cmd MPLSnode"
> > > > invoked from within
> > > > "catch "$self cmd $args" ret"
> > > > (procedure "_o3" line 2)
> > > > (SplitObject unknown line 2)
> > > > invoked from within
> > > > "$ns MPLSnode"
> > > > invoked from within
> > > > "set LSR1 [$ns MPLSnode]"
> > > > (file "test-constraint-routing.tcl" line 94)
> > > >
> > > > Can anyone give me some advice?
> > > >
> > > > Jason Liu
> > > >
> > > > <html><P>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>Jason
> > >Kuang-Jen
> > > > Liu <BR>MSc Mobile & Personal Communication<BR>King's College
> > >London</P>
> > > > <P>Tel: +44 (0) 7979818952<BR>Email: <A
> > > >
> >
> >href="mailto:kuang-jen.liu@kcl.ac.uk">kuang-jen.liu@kcl.ac.uk</A><BR>
> > > > <A
> > > >
> >
> >href="mailto:kjl@writeme.com">kjl@writeme.com</A><BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</P>
> > > > <DIV></DIV></html>
> > > >
> > > > >From: Onno Kievit <okievit@lucent.com>
> > > > >To: Christian Glomb <christian.glomb@mchp.siemens.de>
> > > > >CC: ns-users@ISI.EDU
> > > > >Subject: Re: [ns] ns-2.1b8 & MNS v2
> > > > >Date: Thu, 09 Aug 2001 15:25:56 +0200
> > > > >
> > > > >Have you tried to use the code of the MPLS module included in
> > > > >ns-28, i.e.
> > > > >
> > > > >Simulator instproc mpls-node args {
> > > > > $self node-config -MPLS ON
> > > > > set n [$self node]
> > > > > $self node-config -MPLS OFF
> > > > > return $n
> > > > >}
> > > > >
> > > > >Maybe this helps...
> > > > >
> > > > >Onno Kievit
> > > > >
> > > > >Christian Glomb wrote:
> > > > > >
> > > > > > O.k. the problem is in 'tcl/mns_v2.0/ns-mpls-simulator.tcl':
> > > > > >
> > > > > > Simulator instproc MPLSnode args {
> > > > > > $self instvar linked_mplsnodes_
> > > > > >
> > > > > > # let node_factory_ indicate MPLSnode(class)
> > > > > >
> > > > > > set tmp [Simulator set node_factory_] <<==
>HERE
> > > > > >
> > > > > > Simulator set node_factory_ MplsNode <<==
>HERE
> > > > > >
> > > > > > set n [$self node]
> > > > > >
> > > > > > lappend linked_mplsnodes_ $n
> > > > > >
> > > > > > Simulator set node_factory_ $tmp <<==
>HERE
> > > > > >
> > > > > > return $n
> > > > > > }
> > > > > >
> > > > > > The 'node_factory_' setting is old-style and not recommended to
>be
> > >used.
> > > > > > It results in 'target_' pointer being set to NULL.
> > > > > > Does anybody know how to solve this problem?
> > > > > >
> > > > > >
> > > >
> > >
> >----------------------------------------------------------------------------
> > > > > > Christian Glomb
> > > > > > Siemens AG
> > > > > > Corporate Technology
> > > > > > Networks and Multimedia Communications
> > > > > > Email: christian.glomb@mchp.siemens.de
> > > > > >
> > > >
> > >
> >----------------------------------------------------------------------------
> > > > >
> > > >
> > > > _________________________________________________________________
> > > > Get your FREE download of MSN Explorer at
> > >http://explorer.msn.com/intl.asp
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp