Implement GSR & FSR protocol

138 views
Skip to first unread message

SK NOORALAM RAHAMAN

unread,
May 2, 2021, 3:25:59 PM5/2/21
to Network Simulator 2 (NS2)
Dear knudfl sir,

I want to implement GSR & FSR routing protocol in NS 2.35. It would be very helpful if you can guide me. I am a beginner in this domain. please help me.

knudfl

unread,
May 2, 2021, 4:56:48 PM5/2/21
to Network Simulator 2 (NS2)
Hi.

Actually GSR and FSR is the same, I think.  "FSR is an improvement of GSR"

SK NOORALAM RAHAMAN

unread,
May 2, 2021, 6:30:54 PM5/2/21
to ns-u...@googlegroups.com
Yes sir, I did some study about this. But this link which one you have sended i can't understand it. Like what'll actually i have to do?

--
You received this message because you are subscribed to a topic in the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-users/0BVlJ2E1NeI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/d0b2bc9f-68cc-48e2-86ad-d2495e69be74n%40googlegroups.com.

SK NOORALAM RAHAMAN

unread,
May 2, 2021, 6:33:08 PM5/2/21
to ns-u...@googlegroups.com
Please explain this to me. Thank you for your response.

knudfl

unread,
May 3, 2021, 4:27:37 AM5/3/21
to Network Simulator 2 (NS2)
The link is about FSR :  Build an "fsr simulator" .... and use it.
Other information about FSR :  Please search the Internet.  E.g. Google,   ns2 fsr
..... and Google,   ns2 fisheye state routing
 
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


SK NOORALAM RAHAMAN

unread,
May 8, 2021, 1:57:32 AM5/8/21
to ns-u...@googlegroups.com
how will I build the simulator?


Message has been deleted

knudfl

unread,
May 8, 2021, 4:14:13 AM5/8/21
to Network Simulator 2 (NS2)
»» how will I build the simulator? «« :
Assume a genuine Linux OS, installed to a hard disk partition.

Install the ns2 build prerequisites .....
Debian, Ubuntu, Mint :  sudo apt install g++ g++-48  autoconf libxmu-dev
Fedora, CentOS :  # yum install gcc-c++ autoconf automake libXmu-devel

Download  ns-allinone-2.35_gcc5.tar.gz 
.....  and follow the text in my previously post.

SK NOORALAM RAHAMAN

unread,
May 12, 2021, 12:59:26 AM5/12/21
to ns-u...@googlegroups.com
getting this error  :
bash: FSR_ns235.patch: No such file or directory

You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/4a8e6b60-3524-413b-ae08-af50a81357fcn%40googlegroups.com.

knudfl

unread,
May 12, 2021, 4:02:01 AM5/12/21
to Network Simulator 2 (NS2)
patch -p0 < FSR_ns235-g++5.patch    .... means : the patch is assumed present in cd ns-allinone-2.35/
.... i.e. move or copy the patch to that location.

SK NOORALAM RAHAMAN

unread,
May 13, 2021, 8:11:57 AM5/13/21
to ns-u...@googlegroups.com
Thank You, sir. It works for me. Now I want to implement the GSR routing protocol.

knudfl

unread,
May 13, 2021, 11:06:54 AM5/13/21
to Network Simulator 2 (NS2)
Please read the above first post.  No GSR was saved on the Internet, AFAIK.

SK NOORALAM RAHAMAN

unread,
Jun 21, 2021, 7:41:27 AM6/21/21
to Network Simulator 2 (NS2)

Getting this error while running OLSR examples
Screenshot from 2021-06-21 17-04-02.png

knudfl

unread,
Jun 21, 2021, 9:42:42 AM6/21/21
to Network Simulator 2 (NS2)
My comments : I guess you know how to copy-paste a text.
And :   Images will often not be read.


The OLSR protocol can be added to ns-2.35 with   `umolsr-ns235_v1.0-2014.patch´
https://drive.google.com/file/d/0B7S255p3kFXNeVZhWFVVZlJnUEU/view?usp=sharing
Reply all
Reply to author
Forward
0 new messages