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 01:11 PM.
|