LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2014, 01:33 PM   #1
rianariana
LQ Newbie
 
Registered: Nov 2013
Posts: 8

Rep: Reputation: Disabled
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
 
  


Reply



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
about anthoc routing protocol for adhoc networks Ajit4 Linux - Newbie 1 09-22-2013 04:50 PM
[ASK] About MANET (adhoc routing protocol) kucrut69 Linux - Networking 13 06-06-2013 02:36 PM
[HELP] some scripts for adhoc routing protocol hadi wibowo Linux - Newbie 2 06-16-2012 12:22 AM
Why is multicast protocols designed in Layer 3 when routing protocols in L5 vineeth_thampi Linux - Networking 2 07-04-2006 05:23 PM
package that supports wireless adhoc routing protocols? hedpe Linux - Wireless Networking 0 03-13-2006 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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