Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-13-2017, 03:24 AM   #1
fatma alzahra
LQ Newbie
Registered: Aug 2014
Posts: 26

Rep: Reputation: Disabled
PMIP & MIH combine in one scenario NS2

Hello All;
I successfuly install MIH and PMIP in ubuntu 10.04 i686 using

and got result successfully
******question is *********
1) how to make a scenario that combine MIH with PMIP ??
2) Is the combination done at c++ & otcl or the tcl example only and HOW ????

3) if i need to generalize this combination to be MIH with FHMIP
- the combination will be done at c++ & otcl or the tcl example ??? how ???

4) the MIH-hsntg patch contain .... should it be replaced with ???? and how to integrate packets in between????

5) TclClass("Agent/MIPv6") {} , TclClass("Agent/MIH") {}

i really appreciate your help;
thanks in advance..

Last edited by fatma alzahra; 07-13-2017 at 07:07 AM.
Old 07-13-2017, 12:57 PM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622

Both MIH and PMIP are present. We know that. May not be easy to use in the same simulation.

tcl/lib/ns-lib.tcl :	~230  source ns-pmip6.tcl
tcl/lib/ns-packet.tcl :	~180  PMIPv6

common/packet.h :		
	//PMIP6: type


ns-hsntg-nist.tcl:44:Agent/MIHUser set default_port_ 253
ns-hsntg-nist.tcl:46:Agent/MIHUser/IFMNGMT/MIPV6 set flowRequestTimeout_ 0.02
ns-hsntg-nist.tcl:48:Agent/MIHUser/IFMNGMT/MIPV6/Handover set detectionTimeout_ 1
ns-hsntg-nist.tcl:50:Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover1 set case_ 1 ;# no trigger
ns-hsntg-nist.tcl:51:Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover1 set confidence_th_ 80 ;#80% confidence if going down are used (case 3)
ns-hsntg-nist.tcl:53:Agent/MIH set default_port_ 252     
ns-hsntg-nist.tcl:54:Agent/MIH set supported_events_        255  ;#0xFF: all events
ns-hsntg-nist.tcl:55:Agent/MIH set supported_commands_      4095 ;#0xFFF: all commands
ns-hsntg-nist.tcl:56:Agent/MIH set supported_transport_     33686018  ;#0x02020202: L3 only
ns-hsntg-nist.tcl:57:Agent/MIH set supported_query_type_    1    ;#0x1: TLV
ns-hsntg-nist.tcl:58:Agent/MIH set es_timeout_              0.5
ns-hsntg-nist.tcl:59:Agent/MIH set cs_timeout_              0.5
ns-hsntg-nist.tcl:60:Agent/MIH set is_timeout_              1
ns-hsntg-nist.tcl:61:Agent/MIH set retryLimit_              3
ns-hsntg-nist.tcl:198:    set ag [new Agent/MIHUser/IFMNGMT/MIPV6]
ns-hsntg-nist.tcl:203:Agent/MIHUser/IFMNGMT instproc attach-nd { nd } {
ns-hsntg-nist.tcl:208:# Install and return the MIH module in the given node
ns-hsntg-nist.tcl:210:    set ag [new Agent/MIH]

common/packet.h :



mih, ns2, pmip6

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
install ns2.29.3 + MIH module in Ubuntu 11.04 juniorlx Linux - Software 17 06-08-2015 08:56 AM
run a scenario in ns2 mary1001 Linux - Software 8 01-24-2015 04:34 PM
[NS2] the RSS & link_events code in MIH implemented by NIST RSM_smile Linux - Newbie 0 09-26-2012 08:25 AM
patch for Hierarchical media independent handover (MIH) service in ns2.34 anamnazir Linux - Newbie 5 12-20-2011 05:22 PM > Forums > Linux Forums > Linux - Newbie

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

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