GSR Source Code for NS2

120 views
Skip to first unread message

Yoshua BImo

unread,
Apr 3, 2021, 10:05:29 AM4/3/21
to Network Simulator 2 (NS2)
I need help for my thesis about routing protocol.
I need GSR source code for mt NS2.35 can somebody help me

knudfl

unread,
Apr 3, 2021, 11:52:49 AM4/3/21
to Network Simulator 2 (NS2)
Global State Routing (GSR) :  Never seen for ns2.

Fisheye State Routing (FSR) is an improvement of GSR

→  FSR_ns235-g++5.patch
"-g++5" means you can use a non PIE g++-5 for the FSR code 
..... but gcc-5.4 .. 5.5 tends to be updated to PIE,
.... so most often in e.g. Ubuntu the g++-4.8 is used.

Build example :
tar xvf ns-allinone-2.35_gcc5.tar.gz         ### 2014 update
cd ns-allinone-2.35/
patch -p0 < FSR_ns235-g++5.patch
export CC=gcc-4.8 CXX=g++-4.8 && ./install
cd ns-2.35/
cp ns ns235-fsr
sudo cp ns235-fsr /usr/local/bin/
--------- Simulation ---------------
ns235-fsr fsr-zigbee.tcl
Etc. etc from the examples, FSR-examples-10.18.tar.gz
Reply all
Reply to author
Forward
0 new messages