LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-02-2017, 12:08 PM   #1
Omnen
LQ Newbie
 
Registered: Sep 2017
Posts: 6

Rep: Reputation: Disabled
how to setup hierarchical addressing in ns-2 ?


Hi there,


I have read about the hierarchical mipv4 and v6.... and installed the necessary extension files for ns-2.35. The simula.tcl example works just fine and I have tested it..

Now, I wanted to create a more scalable scenario (multiple MAPs, with multiple AP's)
I presume I need to change the domain setup to accommodate the scenario..(as seen below)

AddrParams set domain_num_ 5
lappend cluster_num 2 1 1 2 2
AddrParams set cluster_num_ $cluster_num
lappend eilastlevel 1 1 2 1 1 1 1 1
AddrParams set nodes_num_ $eilastlevel


What to change to have ( n MH, and m MAPs, k APs ) ??
I had the following addressing sketch but not sure if it's correct??

# if we have 32 APs' --> 8 MAPs (each has 4 APs under)
domain 0 : 0.0.0 (CN), 0.1.0(N1)
domain 1: 1.0.0 (HA), 1.0.n (MH's)
domain 2: 2.0.0 (MAP1), 2.0.1-4(APs 1 to 4)
domain 3: --- same as domain 2
..


If its correct ... how would I define it in the tcl script?

Thank you in advance,

Last edited by Omnen; 09-02-2017 at 12:11 PM.
 
Old 09-03-2017, 06:39 AM   #2
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
Welcome to LQ.

Herarchical address : The basic examples ...
ns-2.3x/tcl/{ex/hier-rtg-10.tcl, ex/hier-rtg-100.tcl, test/hier-test-1000.tcl}.
The scenario files are { ex/hts100-0.tcl, test/hts1000.tcl }.

All cluster examples, clustering-examples-07.17.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

All examples https://drive.google.com/drive/folde...Ws?usp=sharing

-
 
1 members found this post helpful.
Old 09-12-2017, 11:03 PM   #3
Omnen
LQ Newbie
 
Registered: Sep 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you knudfl
 
  


Reply

Tags
herarchical address, ns2


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
adhoc hierarchical networks netuser Linux - Networking 2 05-23-2012 06:05 PM
Hierarchical PEGASIS salutrcmoi Linux - Wireless Networking 1 05-16-2012 11:37 AM
[SOLVED] hierarchical notes. YellowSnowIsBad Linux - Software 3 01-07-2011 12:39 AM
hierarchical flexgrid in vb6 sudif Programming 0 09-17-2005 10:34 AM
autofs problem with hierarchical david1274 Linux - Enterprise 1 05-29-2004 12:33 PM

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

All times are GMT -5. The time now is 01:07 AM.

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