LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-16-2013, 12:08 PM   #16
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

# 15

Maybe 'sudo tar xvf * ' was used for the unpack ?
Or 'sudo ' for a later command ?

Deleting : $ sudo rm -rf ns-allinone-2.34/


-
 
Old 02-18-2013, 06:00 AM   #17
yashwanth58
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Rep: Reputation: Disabled
Smile

@knudfl


Hi thanks for your help i installed ns-allinone-2.34..but while validating


i am getting this


Running test aloha:
../../ns test-suite-satellite.tcl aloha QUIET
Test output agrees with reference output
Running test aloha.collisions:
../../ns test-suite-satellite.tcl aloha.collisions QUIET
Test output agrees with reference output
Running test mixed.legacy:
../../ns test-suite-satellite.tcl mixed.legacy QUIET
Test output agrees with reference output
All test output agrees with reference output.
Mon Feb 18 06:05:18 IST 2013
These messages are NOT errors and can be ignored:
warning: using backward compatibility mode
This test is not implemented in backward compatibility mode


validate overall report: some portable tests failed:
./test-all-newreno ./test-all-tcpOptions ./test-all-tcpVariants ./test-all-aimd ./test-all-frto ./test-all-quickstart ./test-all-manual-routing ./test-all-links
some non-portable tests also failed:
./test-all-session
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
yashwanth@ubuntu:~/ns-allinone-2.34/ns-2.34$

and also after patching bgp and executing this command


> cd ~/ns-allinone-2.34/ns-2.34
> ./configure
> make clean ; make

i am getting thsi



bgp/Util/ipaddress.cc: In constructor ‘IPaddress::IPaddress(std::string)’:
bgp/Util/ipaddress.cc:163: warning: comparison between signed and unsigned integer expressions
bgp/Util/ipaddress.cc: In member function ‘std::string IPaddress::bin2str(boolVector)’:
bgp/Util/ipaddress.cc:279: warning: comparison between signed and unsigned integer expressions
bgp/Util/ipaddress.cc:295: error: ‘sprintf’ was not declared in this scope
bgp/Util/ipaddress.cc: In member function ‘boolVector IPaddress::str2bin(std::string)’:
bgp/Util/ipaddress.cc:310: warning: comparison between signed and unsigned integer expressions
bgp/Util/ipaddress.cc: In member function ‘int IPaddress::intval()’:
bgp/Util/ipaddress.cc:420: warning: comparison between signed and unsigned integer expressions
bgp/Util/ipaddress.cc: In member function ‘int IPaddress::masked_intval(int)’:
bgp/Util/ipaddress.cc:580: warning: comparison between signed and unsigned integer expressions
bgp/Util/ipaddress.cc: In member function ‘std::string IPaddress::val2str()’:
bgp/Util/ipaddress.cc:667: error: ‘sprintf’ was not declared in this scope
bgp/Util/ipaddress.cc: In member function ‘std::string IPaddress::toString()’:
bgp/Util/ipaddress.cc:698: error: ‘sprintf’ was not declared in this scope
make: *** [bgp/Util/ipaddress.o] Error 1
yashwanth@ubuntu:~/ns-allinone-2.34/ns-2.34$



please help me out to rectify this...
 
Old 02-18-2013, 08:08 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 17 .
Quote:
./test-all-newreno ./test-all-tcpOptions ./test-all-tcpVariants ./test-all-aimd
./test-all-frto ./test-all-quickstart ./test-all-manual-routing ./test-all-links
The above are some of 119 group tests, used for running the 2,000 tests.
* Some few tests will usually fail. Don't worry as long as everything else works.


Quote:
> ./configure
> make clean ; make
$ './configure' is the wrong command.
Right is : $ export CC=gcc34 CXX=g++34 && ./configure ( If Fedora ).
EDIT : Ubuntu 12* : $ export CC=gcc41 CXX=g++41 && ./configure

-

Last edited by knudfl; 02-19-2013 at 01:29 AM.
 
Old 02-18-2013, 05:58 PM   #19
yashwanth58
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Rep: Reputation: Disabled
i am getting this


yashwanth@ubuntu:~/ns-allinone-2.34/ns-2.34$ export CC=gcc34 CXX=g++34 && ./configure
checking for gcc... gcc34
checking for C compiler default output file name...
configure: error: in `/home/yashwanth/ns-allinone-2.34/ns-2.34':
configure: error: C compiler cannot create executables
See `config.log' for more details.
yashwanth@ubuntu:~/ns-allinone-2.34/ns-2.34$

but for ./configure this at the end,

Explicitly disabling static compilation
checking for dlopen in -ldl... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tcl/lib/ns-autoconf.tcl
config.status: creating indep-utils/webtrace-conv/ucb/Makefile
config.status: creating indep-utils/webtrace-conv/dec/Makefile
config.status: creating indep-utils/webtrace-conv/nlanr/Makefile
config.status: creating indep-utils/webtrace-conv/epa/Makefile
config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile
config.status: creating autoconf.h
config.status: autoconf.h is unchanged
yashwanth@ubuntu:~/ns-allinone-2.34/ns-2.34$

and for this make clean ; make

bgp/Util/ipaddress.cc: In constructor ‘IPaddress::IPaddress(std::string)’:
bgp/Util/ipaddress.cc:163: warning: comparison between signed and unsigned integer expressions
bgp/Util/ipaddress.cc: In member function ‘std::string IPaddress::bin2str(boolVector)’:
bgp/Util/ipaddress.cc:279: warning: comparison between signed and unsigned integer expressions
bgp/Util/ipaddress.cc:295: error: ‘sprintf’ was not declared in this scope
bgp/Util/ipaddress.cc: In member function ‘boolVector IPaddress::str2bin(std::string)’:
bgp/Util/ipaddress.cc:310: warning: comparison between signed and unsigned integer expressions
bgp/Util/ipaddress.cc: In member function ‘int IPaddress::intval()’:
bgp/Util/ipaddress.cc:420: warning: comparison between signed and unsigned integer expressions
bgp/Util/ipaddress.cc: In member function ‘int IPaddress::masked_intval(int)’:
bgp/Util/ipaddress.cc:580: warning: comparison between signed and unsigned integer expressions
bgp/Util/ipaddress.cc: In member function ‘std::string IPaddress::val2str()’:
bgp/Util/ipaddress.cc:667: error: ‘sprintf’ was not declared in this scope
bgp/Util/ipaddress.cc: In member function ‘std::string IPaddress::toString()’:
bgp/Util/ipaddress.cc:698: error: ‘sprintf’ was not declared in this scope
make: *** [bgp/Util/ipaddress.o] Error 1
yashwanth@ubuntu:~/ns-allinone-2.34/ns-2.34$


but i checked gcc version through this gcc -v

yashwanth@ubuntu:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.6/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

Last edited by yashwanth58; 02-18-2013 at 06:16 PM.
 
Old 02-19-2013, 01:36 AM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 19 .

Sorry, if Ubuntu 11* or 12*, it is of course :
export CC=gcc41 CXX=g++41 && ./configure


? Why do you type $ gcc -v
.. when you are not using gcc at all ? ? ( 'gcc41' is used.)

Better : $ g++41 --version

-
 
Old 02-19-2013, 09:34 AM   #21
yashwanth58
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Rep: Reputation: Disabled
Can you check this program


i am getting below error


Sir for this program(which is related to bgp)

Code:
#
# select.tcl
#

puts ""
puts "SELECT Validation Test: "
puts ""
puts " A \"triangle\" consisting of three ASes. Each AS has one"
puts " BGP-speaking router. Each router is connected directly to"
puts " the routers in each neighboring AS."
puts ""
puts " AS----AS "
puts " \\ / "
puts " \\ / "
puts " AS "
puts ""
set nf [open select.nam w]
set ns [new Simulator]
$ns namtrace-all $nf
$ns node-config -BGP ON
set n0 [$ns node 0:10.0.0.1]
set n1 [$ns node 1:10.1.1.1]
set n2 [$ns node 2:10.2.2.1]
$ns node-config -BGP OFF
$ns duplex-link $n0 $n1 1Mb 1ms DropTail
$ns duplex-link $n0 $n2 1Mb 1ms DropTail
$ns duplex-link $n1 $n2 1Mb 1ms DropTail
set bgp_agent0 [$n0 get-bgp-agent]
$bgp_agent0 bgp-id 10.0.0.1
$bgp_agent0 neighbor 10.1.1.1 remote-as 1
$bgp_agent0 neighbor 10.2.2.1 remote-as 2
set bgp_agent1 [$n1 get-bgp-agent]
$bgp_agent1 bgp-id 10.1.1.1
$bgp_agent1 neighbor 10.0.0.1 remote-as 0
$bgp_agent1 neighbor 10.2.2.1 remote-as 2
set bgp_agent2 [$n2 get-bgp-agent]
$bgp_agent2 bgp-id 10.2.2.1
$bgp_agent2 neighbor 10.0.0.1 remote-as 0
$bgp_agent2 neighbor 10.1.1.1 remote-as 1
$ns at 0.25 "puts \ "\n time: 0.25 \n n0 (ip_addr 10.0.0.1) \
defines a network 10.0.0.0/24.\ ""
$ns at 0.25 "$bgp_agent0 network 10.0.0.0/24"
$ns at 39.0 "puts \ "\n time: 39 \
\n dump routing tables in all BGP agents: \n\ ""
$ns at 39.0 "$bgp_agent0 show-routes"
$ns at 39.0 "$bgp_agent1 show-routes"
$ns at 39.0 "$bgp_agent2 show-routes"
$ns at 40.0 "finish"
proc finish {} {

global ns nf
$ns flush-trace
close $nf
puts "Simulation finished. Executing nam..."
exec nam select.nam
exit 0
}
puts "Simulation starts..."
$ns run
i am getting this


yashwanth@ubuntu:~/bgp$ ns select.tcl

SELECT Validation Test:

A "triangle" consisting of three ASes. Each AS has one
BGP-speaking router. Each router is connected directly to
the routers in each neighboring AS.

AS----AS
\ /
\ /
AS


(_o10 cmd line 1)
invoked from within
"_o10 cmd get-bgp-agent"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o10" line 2)
(SplitObject unknown line 2)
invoked from within
"$n0 get-bgp-agent"
invoked from within
"set bgp_agent0 [$n0 get-bgp-agent]"
(file "select.tcl" line 28)
yashwanth@ubuntu:~/bgp$

Last edited by yashwanth58; 02-19-2013 at 10:32 PM.
 
Old 02-19-2013, 10:50 AM   #22
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 21 : Please edit your posts to use 'code tags'.
I.e. write [/code] at code text end, and [code] at start.

Quote:
"set bgp_agent0 [$n0 get-bgp-agent]"
I guess that `get-bgp-agent` is not a valid setting ?
Will test the file 'select.tcl' ... later.

-
 
Old 02-20-2013, 05:04 AM   #23
yashwanth58
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Rep: Reputation: Disabled
Smile

@knudfl



Sir have you checked it..

Last edited by yashwanth58; 02-20-2013 at 05:18 AM.
 
Old 02-20-2013, 09:06 AM   #24
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 21 : Almost looks like the original "ns-2.34/tcl/bgp/test/select.tcl" ?
If it is the original file, please edit the content to the right formatting.

The original file will display this ..
Code:
$ ./ns-bgp select.tcl 

SELECT Validation Test: 

 A "triangle" consisting of three ASes.  Each AS has one
 BGP-speaking router.  Each router is connected directly to
 the routers in each neighboring AS.
                                                                                                                              
    AS----AS                                                                                                                  
     \    /                                                                                                                   
      \  /                                                                                                                    
       AS                                                                                                                     
                                                                                                                              
Simulation starts...                                                                                                          
                                                                                                                              
 time: 0.25                                                                                                                   
 n0 (ip_addr 10.0.0.1)  defines a network 10.0.0.0/24.                                                                        
                                                                                                                              
 time: 0.251736 %%  router: 10.0.1.1 received msg from peer: 10.0.0.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.0.0/24 (0)                                                                       
                                                                                                                              
 time: 0.251736 %%  router: 10.0.2.1 received msg from peer: 10.0.0.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.0.0/24 (0)                                                                       
                                                                                                                              
 time: 0.253488 %%  router: 10.0.2.1 received msg from peer: 10.0.1.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.0.0/24 (1 0)                                                                     
                                                                                                                              
 time: 0.253488 %%  router: 10.0.1.1 received msg from peer: 10.0.2.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.0.0/24 (2 0)                                                                     
                                                                                                                              
 time: 0.35                                                                                                                   
 n1 (ip_addr 10.0.1.1)  defines a network 10.0.1.0/24.                                                                        
                                                                                                                              
 time: 0.351736 %%  router: 10.0.0.1 received msg from peer: 10.0.1.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.1.0/24 (1)                                                                       
                                                                                                                              
 time: 0.45                                                                                                                   
 n2 (ip_addr 10.0.2.1)  defines a network 10.0.2.0/24.                                                                        

 time: 0.451736 %%  router: 10.0.0.1 received msg from peer: 10.0.2.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.2.0/24 (2) 

 time: 27.2518 %%  router: 10.0.1.1 received msg from peer: 10.0.0.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.2.0/24 (0 2) 

 time: 27.2518 %%  router: 10.0.2.1 received msg from peer: 10.0.0.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.1.0/24 (0 1) 

 time: 27.2535 %%  router: 10.0.2.1 received msg from peer: 10.0.1.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.1.0/24 (1) 

 time: 27.2535 %%  router: 10.0.1.1 received msg from peer: 10.0.2.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.2.0/24 (2) 

 time: 27.3029 %%  router: 10.0.2.1 received msg from peer: 10.0.1.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: 10.0.2.0/24  ads: -

 time: 27.3029 %%  router: 10.0.1.1 received msg from peer: 10.0.2.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: 10.0.1.0/24  ads: -

 time: 27.3518 %%  router: 10.0.0.1 received msg from peer: 10.0.1.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.2.0/24 (1 2) 

 time: 27.4518 %%  router: 10.0.0.1 received msg from peer: 10.0.2.1 %%  event_type: *RecvUpdate* %%  connection_state: *Established* %%  received msg: wds: -  ads: 10.0.1.0/24 (2 1) 

 time: 39  
 dump routing tables in all BGP agents: 

BGP routing table of n0
BGP table version is 4, local router ID is 10.0.0.1
Status codes: * valid, > best, i - internal.
     Network            Next Hop       Metric  LocPrf  Weight Path 
*>   10.0.0.0/24        self                  -      -      -          
*>   10.0.1.0/24        10.0.1.1/32           -      -      - 1        
*>   10.0.2.0/24        10.0.2.1/32           -      -      - 2        

BGP routing table of n1
BGP table version is 6, local router ID is 10.0.1.1
Status codes: * valid, > best, i - internal.
     Network            Next Hop       Metric  LocPrf  Weight Path 
*>   10.0.0.0/24        10.0.0.1/32           -      -      - 0        
*>   10.0.1.0/24        self                  -      -      -          
*>   10.0.2.0/24        10.0.2.1/32           -      -      - 2        

BGP routing table of n2
BGP table version is 6, local router ID is 10.0.2.1
Status codes: * valid, > best, i - internal.
     Network            Next Hop       Metric  LocPrf  Weight Path 
*>   10.0.0.0/24        10.0.0.1/32           -      -      - 0        
*>   10.0.1.0/24        10.0.1.1/32           -      -      - 1        
*>   10.0.2.0/24        self                  -      -      -          

Simulation finished. Executing nam...
.. And nam will open OK.

-
 
1 members found this post helpful.
Old 02-20-2013, 12:26 PM   #25
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
General info : There is also a "ns-2.34-bgp-rfd-mrai" patch.
http://www2.ensc.sfu.ca/~ljilja/cnl/...-rfd_mrai.html

http://www2.ensc.sfu.ca/~ljilja/cnl/...fd-mrai.tar.gz
> ns-2.34-bgp-rfd-mrai.tar.gz
 
Old 02-21-2013, 04:03 AM   #26
yashwanth58
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Rep: Reputation: Disabled
Smile

@knudfl




Sir which ubuntu version is suitable for ns-allinone-2.34 and i want to use bgp patch also..i tried to execute some tcl script which is present in test folder under bgp folder..but i am getting error there also..I think its problem with the ubuntu itself..Currently i am using ubuntu 12.04..Which would you prefer..
 
Old 02-21-2013, 05:35 AM   #27
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 26 .

All files but one (route-distrib.tcl) in ns-2.34/tcl/bgp/test/ work OK here.
All OK simulations will open nam automaticaly, except two :
reflection.tcl, reflection2.tcl. Nam works with :
$ nam reflection.nam
$ nam reflection2.nam

The files in ns-2.34/tcl/bgp/ : Not to be run.

About testing which Ubuntu that will work best :
I can upload an installable package "bgp-ns-2.34-ubuntu**_i386.deb" ~5 MB,
providing /usr/local/bin/ns-bgp , then you can test $ ns-bgp *.tcl.
I.e. it makes no difference which Ubuntu is used to run the executable
'ns-bgp', as long as it has been successfully built on another Ubuntu version.

-

Last edited by knudfl; 02-21-2013 at 01:49 PM.
 
Old 02-21-2013, 01:31 PM   #28
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The package bgp-ns-2.34-ubuntu1004_i386.deb (6.6 MB) can be downloaded from
https://docs.google.com/file/d/0B7S2...it?usp=sharing
.. And installed with "QApt Package Installer" or :
$ sudo dpkg -i bgp-ns-2.34-ubuntu1004_i386.deb

The package provides /usr/local/bin/ ns-bgp ns-bgp-rfd

Tested OK on Ubuntu 12.04. And the file route-distrib.tcl works too.

The 'ns-bgp-rfd' executable is for the two "bgp-rfd-mrai" examples,
ref. post # 25. ( tcl/bgp/test/ damping1.tcl damping2.tcl ).

-

Last edited by knudfl; 02-21-2013 at 01:33 PM.
 
Old 02-22-2013, 06:58 AM   #29
yashwanth58
LQ Newbie
 
Registered: Feb 2013
Posts: 17

Rep: Reputation: Disabled
sir i tested this file route-distrib.tcl after installing sudo dpkg -i bgp-ns-2.34-ubuntu1004_i386.deb
but then also i am getting this error..



yashwanth@ubuntu:~/ns-allinone-2.34/ns-2.34/tcl/bgp/test$ ns route-disturb.tcl
couldn't read file "route-disturb.tcl": no such file or directory
yashwanth@ubuntu:~/ns-allinone-2.34/ns-2.34/tcl/bgp/test$ ns route-distrib.tcl

ROUTE-DISTRIB Validation Test:

Two directly connected routers, each running BGP, and each representing
a different autonomous system.

AS 0 AS 1
n0 }------ { n1


(_o10 cmd line 1)
invoked from within
"_o10 cmd get-bgp-agent"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o10" line 2)
(SplitObject unknown line 2)
invoked from within
"$n0 get-bgp-agent"
invoked from within
"set bgp_agent0 [$n0 get-bgp-agent]"
(file "route-distrib.tcl" line 27)
yashwanth@ubuntu:~/ns-allinone-2.34/ns-2.34/tcl/bgp/test$
 
Old 02-22-2013, 11:03 AM   #30
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 29
Quote:
yashwanth@ubuntu:~/ns-allinone-2.34/ns-2.34/tcl/bgp/test$ ns route-distrib.tcl
The right command is : $ ns-bgp route-distrib.tcl
 
  


Reply

Tags
bgp, bgp-ns2, bgp-rfd-mrai, ns2



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing leach patch in ns2.34 in ubuntu9.10 g_vaibh Ubuntu 19 04-09-2015 09:43 AM
how to installing LTE module patch in NS2.33 kiwiw Ubuntu 179 02-27-2015 03:27 AM
patch LTE module for ns2 Emna Linux - Newbie 1 03-10-2011 02:59 AM
need 802.11e patch for ns2 stud17 Linux - Software 1 03-09-2011 06:54 AM
integrating patch in ns2 MLinux Linux - Networking 2 11-30-2010 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration