Ns2.29.3 + nist-mob

133 views
Skip to first unread message

arnaudmw...@gmail.com

unread,
Nov 18, 2020, 6:49:59 AM11/18/20
to Network Simulator 2 (NS2)
          Hi, i'm a new to this group. I'm a new to ubuntu. I want to simulate a vertical handover between wifi and wimax. i'm using  ubuntu 16.04 lts. When i try to install it i find always error. i made researches on internet, others said it is impossible to  simulate with Ns2.29.3 + nist-mob with new versions of ubuntu. 
                 Please could you help me , which version of ubuntu can support Ns2.29.3 + nist-mob-ns2.29 for vertical handover ?

knudfl

unread,
Nov 18, 2020, 9:47:24 AM11/18/20
to Network Simulator 2 (NS2)
Hi.

You cannot build nist-mob with Ubuntu 16.04. A 32bit old OS is required:
CentOS 6.10 - i386 or Ubuntu 10.10 - i386.
 
But you can use an old executable "ns-nist" that was built with an old OS →
→ Nist-mob ns2 app →  nist-pmip6-ns_229-ubuntu12_i386.deb  (4.3MB)
https://drive.google.com/file/d/0B7S255p3kFXNcWw3U3ZVTnZjWDQ/view?usp=sharing
... Povides /usr/local/bin/ns229-nist-pmip6-el6
( sudo chmod +x /usr/local/bin/ns229-nist-pmip6-el6 )

Download ... and install
$ sudo gdebi Downloads/nist-pmip6-ns_229-ubuntu12_i386.deb
... Some 32bits dependencies will be installed, if 64bit OS.
Simulation ex : $ ns229-nist-pmip6-el6 handover-13.tcl 1 2 3 4

nist-mob_examples-02.19.tar.gz
https://drive.google.com/file/d/1TIkHH4Fr4IXiGzaw8DrPB9UT1zV8V4cT/view?usp=sharing 
→ handover-13.tcl . Other "handover" :
$ cd ex-nist-2019/
$ grep -Rin handover * > nist-mob_handover.txt


Other Wimax handover, see wimax-ex-all_10.2015.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNZkx5bmJjZEYyVEE/view?usp=sharing
$ wimax-ex-all-mixed-together/
$ grep -Rin handover * > wimax-all_handover.txt

Simulation ex : $ ns235-Wimax-Mesh+802-16j-OFDMA l2handover.tcl

arnaudmw...@gmail.com

unread,
Nov 18, 2020, 10:37:44 AM11/18/20
to Network Simulator 2 (NS2)
thank you  knudfl for replying. Now is it possible to install centos 6.10 in Vmware work station ? 
Could you send me the orrect link for downloading centos 6.10,  please ?  I tried to look for process of installing ns2.29.3 + nist-mob for handover in centos 6.10 but i don't find it, please could you help me ?

knudfl

unread,
Nov 18, 2020, 12:11:54 PM11/18/20
to Network Simulator 2 (NS2)
Installing a complete run time ns-allinone-2.29 + nist-mob is this :
$ sudo gdebi Downloads/nist-pmip6-ns_229-ubuntu12_i386.deb

I.e. there is no reason to build something that already has been built.
( Reason for building any ns-allinone-2.xx is when you intend to modify c++ code ).

Please read ns2-INFO carefully ....
QUOTE :  "Important note :
Conditions for ns2 → A 'Linux OS' installed to hard disk.
Both VirtualBox and wmWare have resulted in poor unusable 'ns' executable since 2017.
No OK results at all !"

I.e. please do not expect an OK ns2 build when using VirtualBox and wmWare.

CentOS 6.10 :
# yum install gcc-c++ compat-gcc-34-c++ automake autoconf libtool libXmu-devel

$ tar xvf ns-allinone-2.29.3.tar.gz
$ cd ns-allinone-2.29/
$ tar xvf ns-2.29-nist-mob-022707.tgz
$ patch -p0 < pmip6-for-ns-2.29-nist.patch
$ export CC=gcc34 CXX=g++34 && ./install
$ cd ns-2.29/
$ copy ns ns-nist
$ su
# copy ns-nist /usr/local/bin/

NIST-mob info

arnaudmw...@gmail.com

unread,
Nov 18, 2020, 2:15:42 PM11/18/20
to Network Simulator 2 (NS2)

 The exact thing i need to do is to modify the code of Media independent handover. To developpe an algorithm  based on bandwidth so that i add the perfomance to the  exist algorithm (based on power) in ns2. Is it possible ?

knudfl

unread,
Nov 18, 2020, 2:42:10 PM11/18/20
to Network Simulator 2 (NS2)
»»develop an algorithm  based on bandwidth so that i add the perfomance to the  exist algorithm (based on power)««:
I have no idea if it's possible.

arnaudmw...@gmail.com

unread,
Nov 18, 2020, 2:49:50 PM11/18/20
to Network Simulator 2 (NS2)
Thanks a lot. 

arnaudmw...@gmail.com

unread,
Nov 20, 2020, 6:40:58 AM11/20/20
to Network Simulator 2 (NS2)

knudfl
18 nov. 2020, 21:42:10 (avant-hier) 
à Network Simulator 2 (NS2)
»»develop an algorithm  based on bandwidth so that i add the perfomance to the  exist algorithm (based on power)««:
I have no idea if it's possible.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------
He, i want to install ns2.29.3 with nist-mob. I downloaded CentOS-6.10-i386-LiveDVD.iso as mentioned in the link.  i create a liveUSB via line commands and it is ok. But when i reboot my computer, we show me the message : NO OPERATING SYSTEM DETECTED

          Somebody can help me please !

knudfl

unread,
Nov 20, 2020, 6:14:32 PM11/20/20
to Network Simulator 2 (NS2)
»» I create a liveUSB via line commands and it is ok «« :
Not really ns2 related.   You can ask general questions here ....
  • It is very important that you then tell what you installed, and to which partition.
.... Looks like you intended to install CentOS 6.10, but your question doesn't tell your actions.
Missing boot loader: Might have been installed to unknown item / partition ?
                   Have you tried to boot from USB ?
.... May also be that installing the boot loader failed, when you installed the OS ?

arnaudmw...@gmail.com

unread,
Nov 21, 2020, 7:48:17 AM11/21/20
to Network Simulator 2 (NS2)
.... Looks like you intended to install CentOS 6.10, but your question doesn't tell your actions.
Missing boot loader: Might have been installed to unknown item / partition ?
                   Have you tried to boot from USB ?
.... May also be that installing the boot loader failed, when you installed the OS ?
************************************************************************************
Think you for the remark.
In fact, In command line i followed these steps: 
After that i used ventoy. With ventoy, when i reboot on my USB drive   i get this message:  No boot file found for uefi maybe the image does not support x64 uefi.        . 
            
 Have you tried to boot from USB ?  Yes
Reply all
Reply to author
Forward
0 new messages