| 1 |
*** NS2 simulator for 802.15.4 (release v1.1) *** |
| 2 |
|
| 3 |
ZigBee routing is now maintained by ZigBee NWK WG and |
| 4 |
no longer included in this release. |
| 5 |
|
| 6 |
>>> Platforms supported |
| 7 |
ns2 version: 2.26 and 2.27 |
| 8 |
OS: Linux, Sun Solaris and FreeBSD |
| 9 |
|
| 10 |
>>> Installation |
| 11 |
|
| 12 |
1) Unpack the tarball by entering |
| 13 |
tar -xzvf wpan11.tar.gz |
| 14 |
and the following directories will be automatically created: |
| 15 |
wpan_zbr ---- wpan ---- cpp |
| 16 |
|-- demo |
| 17 |
|-- nam |
| 18 |
|-- tcl |
| 19 |
|-- trace |
| 20 |
|-- update |
| 21 |
|
| 22 |
Note: If you have problems with the above tar command, you can try to |
| 23 |
unpack the tarball by using |
| 24 |
gunzip wpan11.tar.gz |
| 25 |
and then |
| 26 |
tar vxf wpan11.tar |
| 27 |
|
| 28 |
2) Execute (under 'wpan_zbr') |
| 29 |
./install |
| 30 |
|
| 31 |
>>> Testing |
| 32 |
|
| 33 |
Test the simulator by executing (under 'demo'): |
| 34 |
|
| 35 |
1) demo1: AODV |
| 36 |
ns wpan_demo1.tcl // default traffic: ftp |
| 37 |
ns wpan_demo1.tcl -traffic cbr // use cbr traffic |
| 38 |
ns wpan_demo1.tcl -traffic poisson // use poisson traffic |
| 39 |
|
| 40 |
2) demo2: AODV/Star/beacon enabled |
| 41 |
ns wpan_demo2.tcl // default traffic: ftp |
| 42 |
ns wpan_demo2.tcl -traffic cbr // use cbr traffic |
| 43 |
ns wpan_demo2.tcl -traffic poisson // use poisson traffic |
| 44 |
|
| 45 |
3) demo3: AODV/Peer-to-Peer/beacon enabled |
| 46 |
ns wpan_demo3.tcl // default traffic: ftp |
| 47 |
ns wpan_demo3.tcl -traffic cbr // use cbr traffic |
| 48 |
ns wpan_demo3.tcl -traffic poisson // use poisson traffic |
| 49 |
|
| 50 |
4) demo4: ZigBee routing(ZBR)/Peer-to-Peer/beacon enabled |
| 51 |
(a) mixture of RN+ and RN- (11 RN+, 10 RN-) |
| 52 |
ns wpan_demo4.tcl // default traffic: mix (cbr + poisson) |
| 53 |
ns wpan_demo4.tcl -traffic ftp // use ftp traffic |
| 54 |
ns wpan_demo4.tcl -traffic cbr // use cbr traffic |
| 55 |
ns wpan_demo4.tcl -traffic poisson // use poisson traffic |
| 56 |
(b) all RN+ |
| 57 |
(replace wpan_demo4.tcl with wpan_demo4_p.tcl in (a)) |
| 58 |
(c) all RN- |
| 59 |
(replace wpan_demo4.tcl with wpan_demo4_m.tcl in (a)) |
| 60 |
|
| 61 |
5) demo5: ZigBee routing(ZBR)/Peer-to-Peer/beacon enabled |
| 62 |
(replace wpan_demo4.tcl with wpan_demo5.tcl in 4)(a)) |
| 63 |
|
| 64 |
Note: For release not including ZigBee routing, demo4 and demo5 will |
| 65 |
run AODV instead of ZBR. |
| 66 |
|
| 67 |
>>> Uninstallation |
| 68 |
|
| 69 |
To uninstall, execute (under 'wpan_zbr'): |
| 70 |
./install -u |
| 71 |
|
| 72 |
>>> The available commands (accessible through Tcl) are listed in the file COMMAND |
| 73 |
and some brief help information can be found in the file WPAN_ZBR_pub.pdf |
| 74 |
|
| 75 |
|
| 76 |
>>> Please report bugs to: |
| 77 |
Jianliang Zheng ([email protected]) |
| 78 |
Myung J. Lee ([email protected]) |