LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Do adhoc routing protocols work with satellite links in ns-2.35 (https://www.linuxquestions.org/questions/linux-software-2/do-adhoc-routing-protocols-work-with-satellite-links-in-ns-2-35-a-4175491628/)

rianariana 01-17-2014 01:33 PM

Do adhoc routing protocols work with satellite links in ns-2.35
 
I was trying to experiment MANET protocols on satellite links (sat-repeater.tcl) using NS 2.35 but it is producing the same results.. say for DSR and AODV.
Once in the ns documentation, I found the routing with SAT links are done by the centralized routing and route computation is done in C++.
And most of the protocols are only possible to implement using conventional wireless links (but not for Satellite networks).

Although, it mentions that 'turning 'ON' the wired routing mode' disables the C++ route computation and enables the TCL script commands. Does this mean that if I add 'set val(adhoc routing) AODV' in my TCL script will make the routing in AODV? I edited the sat-repeater.tcl file this way:

global ns
set ns [new Simulator]

# Global configuration parameters
# We'll set these global options for the satellite terminals

global opt
set opt(chan) Channel/Sat
set opt(bw_up) 2Mb
set opt(bw_down) 2Mb
set opt(phy) Phy/Sat
set opt(mac) Mac/Sat
set opt(ifq) Queue/DropTail
set opt(qlim) 50
set opt(ll) LL/Sat
set opt(wiredRouting) ON
set opt(adhocRouting) AODV

# XXX This tracing enabling must precede link and node creation
set outfile [open out3.tr w]
$ns trace-all $outfile

# Set up satellite and terrestrial nodes

# Configure the node generator for bent-pipe satellite
# geo-repeater uses type Phy/Repeater
$ns node-config -satNodeType geo-repeater \
-phyType Phy/Repeater \
-channelType $opt(chan) \
-downlinkBW $opt(bw_down) \
-wiredRouting $opt(wiredRouting) \

# GEO satellite at 95 degrees longitude West
set n1 [$ns node]
$n1 set-position -95

# Configure the node generator for satellite terminals
$ns node-config -satNodeType terminal \
-llType $opt(ll) \
-ifqType $opt(ifq) \
-ifqLen $opt(qlim) \
-macType $opt(mac) \
-phyType $opt(phy) \
-channelType $opt(chan) \
-downlinkBW $opt(bw_down) \
-adhocRouting $opt(adhocRouting) \
-wiredRouting $opt(wiredRouting) \


But it produces same result if I change protocol to some other protocl such as DSR. So, does it mean SAT links in ns-2.35 is not supported by adhoc protocls?

Thanks.
Riana


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