How to install ZRP (Zone routing protocol) patch in ns-2.34
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dear friends, excuse me may anyone help me by sending me awk script to calculate the performance metrics in the trace file obtained by using Zone Routing Protocol (ZRP).
1-normalizing routing load
2-packet delivery ratio
3-average End-to-End delay
4-throughput
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 123 .
General examples : ns-2.xx/tcl/ex , ns-2.xx/tcl/mobility/ .
ZRP : $ grep mobil examples/*
zrp_9.tcl: set val(nn) 100 ;# number of mobilenodes
zrp-Demo1-1.tcl:set val(nn) 10 ;# number of mobilenodes
zrp-Demo2-1.tcl:set val(nn) 20 ;# number of mobilenodes
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 126 .
Why try to ececute a directory ?
( ns-allinone-2.33/ns-2.33/indep-utils/cmu-scen-gen/setdest/ )
Please do : $ cd setdest/
.. where you will hopefully find the executable file 'setdest'
.. and can do $ ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 > scen-20-test
Dear Mr.knudfl, excuse me may you help me about how can I choose the radio range in ZRP in order to operate as multi hop and where in tcl file can I change the radio range to do the simulation.
Dear Mr.knudfl, please may you help me about how can I change the transmission range in the tcl file of ZRP example.is it the transmission range 250.
Thanks
# unity gain, omni-directional antennas
# set up the antennas to be centered in the node and 1.5 meters above it
Antenna/OmniAntenna set X_ 0
Antenna/OmniAntenna set Y_ 0
Antenna/OmniAntenna set Z_ 1.5
Antenna/OmniAntenna set Gt_ 1.0
Antenna/OmniAntenna set Gr_ 1.0
# Initialize the SharedMedia interface with parameters to make
# it work like the 914MHz Lucent WaveLAN DSSS radio interface
Phy/WirelessPhy set CPThresh_ 10.0
Phy/WirelessPhy set CSThresh_ 1.559e-11
Phy/WirelessPhy set RXThresh_ 3.652e-10
Phy/WirelessPhy set Rb_ 2*1e6
Phy/WirelessPhy set Pt_ 0.2818
Phy/WirelessPhy set freq_ 914e+6
Phy/WirelessPhy set L_ 1.0
Dear friends, excuse me may you help me about what is the following codes mean:
# unity gain, omni-directional antennas
# set up the antennas to be centered in the node and 1.5 meters above it
Antenna/OmniAntenna set X_ 0
Antenna/OmniAntenna set Y_ 0
Antenna/OmniAntenna set Z_ 1.5
Antenna/OmniAntenna set Gt_ 1.0
Antenna/OmniAntenna set Gr_ 1.0
# Initialize the SharedMedia interface with parameters to make
# it work like the 914MHz Lucent WaveLAN DSSS radio interface
Phy/WirelessPhy set CPThresh_ 10.0
Phy/WirelessPhy set CSThresh_ 1.559e-11
Phy/WirelessPhy set RXThresh_ 3.652e-10
Phy/WirelessPhy set Rb_ 2*1e6
Phy/WirelessPhy set Pt_ 0.2818
Phy/WirelessPhy set freq_ 914e+6
Phy/WirelessPhy set L_ 1.0
is it the transmission range in the above code 250. how can I choose another transmission range for example 100 to do the simulation
Dear friends, please anyone now about how to change the transmission range in the tcl file to make ZRP operate as proactive and reactive may help me in this matter.
Dear friends, please may you help me about how can I adjust the transmission range to 100 meter in the link below tcl file to make ZRP work as proactive and reactive at the same time with fixed network size and varying zone radius.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.