LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-26-2014, 05:47 AM   #1
elaheyazdanimiar
LQ Newbie
 
Registered: Apr 2014
Posts: 10

Rep: Reputation: Disabled
Unhappy GPSR-KeLiu


hello,I have install the gpsr protocol (KeLiu version) on my NS-2.34,Ubuntu 12.04. the trace file shows when nodes move,no packet is recieved by sink nodes. I can not understand what the problem is, could anybody help me?tnx.

Last edited by elaheyazdanimiar; 04-26-2014 at 06:32 AM.
 
Old 04-26-2014, 07:46 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Might not be much help, but anyway ... here is my output result :
→ GPSR-KeLiu_output-files.tar.gz →
https://drive.google.com/file/d/0B7S...it?usp=sharing
( The "input files" are included too.)

GPSR-KeLiu info http://www.linuxquestions.org/questi...gs/gpsr-keliu/

-
 
Old 04-27-2014, 12:36 AM   #3
elaheyazdanimiar
LQ Newbie
 
Registered: Apr 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
GPSR-KeLiu

thanks for your help,my trace file is true with your grid-deploy10x10.tcl.but as I add the following codes to the end of grid-deploy10x10.tcl, trace file shows that all packets are droped.
could you help me?
$ns_ at 0.0 "$node_(8) setdest 757.0257 62.571255 0.0"
$ns_ at 1.0 "$node_(8) setdest 755.58734 62.639374 1.44"
$ns_ at 1.0 "$node_(45) setdest 611.46063 685.331 0.0"
$ns_ at 2.0 "$node_(8) setdest 751.61176 62.827644 3.98"
$ns_ at 2.0 "$node_(45) setdest 609.79083 685.3051 1.67"
$ns_ at 2.0 "$node_(51) setdest 2950.5127 1061.5597 0.0"
$ns_ at 3.0 "$node_(8) setdest 745.7983 63.10296 5.82"
$ns_ at 3.0 "$node_(45) setdest 606.15125 685.2487 3.63"
$ns_ at 3.0 "$node_(81) setdest 2918.9033 1300.1571 0.0"
$ns_ at 3.0 "$node_(51) setdest 2949.065 1059.4728 2.54"
and ...
my trace file:
s 76.000000000 _8_ AGT --- 7854 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 76.000000000 _89_ AGT --- 7855 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
s 76.000000000 _51_ AGT --- 7856 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
s 77.423703789 _8_ AGT --- 8037 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 77.908934490 _51_ AGT --- 8058 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 77.908934490 _51_ IFQ ARP 7856 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 78.596493066 _89_ AGT --- 8159 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 78.596493066 _89_ IFQ ARP 7855 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 79.882730968 _51_ AGT --- 8260 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 79.882730968 _51_ IFQ ARP 8058 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 80.020131531 _8_ AGT --- 8265 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 80.646616686 _89_ AGT --- 8363 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 80.646616686 _89_ IFQ ARP 8159 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 82.094591830 _89_ AGT --- 8483 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 82.094591830 _89_ IFQ ARP 8363 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
D 82.094591830 _89_ IFQ ARP 8483 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 82.840692592 _8_ AGT --- 8567 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 82.867078889 _51_ AGT --- 8568 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 82.867078889 _51_ IFQ ARP 8260 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
D 82.867078889 _51_ IFQ ARP 8568 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 83.596862845 _89_ AGT --- 8669 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
s 85.164181280 _89_ AGT --- 8799 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 85.164181280 _89_ IFQ ARP 8669 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 85.230402965 _8_ AGT --- 8812 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 85.360315611 _51_ AGT --- 8835 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
s 86.832707460 _51_ AGT --- 8973 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 86.832707460 _51_ IFQ ARP 8835 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 87.234563786 _89_ AGT --- 9015 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 87.234563786 _89_ IFQ ARP 8799 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 87.875586757 _8_ AGT --- 9075 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 88.819495563 _89_ AGT --- 9176 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 88.819495563 _89_ IFQ ARP 9015 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
D 88.819495563 _89_ IFQ ARP 9176 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 89.637860865 _8_ AGT --- 9277 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 89.708175842 _51_ AGT --- 9278 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 89.708175842 _51_ IFQ ARP 8973 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 91.000946881 _51_ AGT --- 9381 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 91.000946881 _51_ IFQ ARP 9278 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
D 91.000946881 _51_ IFQ ARP 9381 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 91.582600940 _89_ AGT --- 9482 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
s 92.516400481 _8_ AGT --- 9583 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 92.545526180 _51_ AGT --- 9584 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
s 93.162078049 _89_ AGT --- 9612 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 93.162078049 _89_ IFQ ARP 9482 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 93.661073314 _8_ AGT --- 9686 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 94.064946640 _51_ AGT --- 9701 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 94.064946640 _51_ IFQ ARP 9584 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 94.702952896 _8_ AGT --- 9788 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 95.780559873 _89_ AGT --- 9889 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 95.780559873 _89_ IFQ ARP 9612 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 96.547926584 _51_ AGT --- 9990 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 96.547926584 _51_ IFQ ARP 9701 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 96.959892482 _8_ AGT --- 9991 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 97.289561111 _89_ AGT --- 10044 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 97.289561111 _89_ IFQ ARP 9889 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
D 97.289561111 _89_ IFQ ARP 10044 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 98.267400954 _8_ AGT --- 10140 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 99.261411421 _51_ AGT --- 10239 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 99.261411421 _51_ IFQ ARP 9990 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
D 99.261411421 _51_ IFQ ARP 10239 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 99.406912760 _8_ AGT --- 10268 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 100.287346499 _89_ AGT --- 10348 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
s 100.480409119 _51_ AGT --- 10393 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
s 101.927721652 _51_ AGT --- 10500 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 101.927721652 _51_ IFQ ARP 10393 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 102.047292071 _8_ AGT --- 10510 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 102.769852561 _89_ AGT --- 10602 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 102.769852561 _89_ IFQ ARP 10348 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 103.292909618 _8_ AGT --- 10656 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 104.336325291 _8_ AGT --- 10764 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 104.493277593 _89_ AGT --- 10804 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 104.493277593 _89_ IFQ ARP 10602 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 104.681006285 _51_ AGT --- 10806 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 104.681006285 _51_ IFQ ARP 10500 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 105.378512867 _8_ AGT --- 10874 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 106.497101008 _89_ AGT --- 11007 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 106.497101008 _89_ IFQ ARP 10804 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
D 106.497101008 _89_ IFQ ARP 11007 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 107.066481336 _51_ AGT --- 11023 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 107.066481336 _51_ IFQ ARP 10806 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
D 107.066481336 _51_ IFQ ARP 11023 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 107.749914342 _89_ AGT --- 11110 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
s 108.249081879 _8_ AGT --- 11154 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 108.629480667 _51_ AGT --- 11212 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
s 108.967213420 _89_ AGT --- 11213 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 108.967213420 _89_ IFQ ARP 11110 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 109.826259419 _51_ AGT --- 11314 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 109.826259419 _51_ IFQ ARP 11212 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 110.095886610 _8_ AGT --- 11332 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 111.442933521 _89_ AGT --- 11504 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 111.442933521 _89_ IFQ ARP 11213 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 111.560259742 _51_ AGT --- 11519 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 111.560259742 _51_ IFQ ARP 11314 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 112.011255880 _8_ AGT --- 11522 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 113.009667155 _51_ AGT --- 11623 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 113.009667155 _51_ IFQ ARP 11519 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
D 113.009667155 _51_ IFQ ARP 11623 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 114.065948911 _8_ AGT --- 11736 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 114.143336059 _89_ AGT --- 11746 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 114.143336059 _89_ IFQ ARP 11504 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
D 114.143336059 _89_ IFQ ARP 11746 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 115.358795827 _89_ AGT --- 11887 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
s 115.531651958 _51_ AGT --- 11925 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
s 116.872156534 _8_ AGT --- 12026 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 116.929236792 _89_ AGT --- 12027 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 116.929236792 _89_ IFQ ARP 11887 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 117.758290597 _51_ AGT --- 12128 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 117.758290597 _51_ IFQ ARP 11925 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 119.489183003 _89_ AGT --- 12326 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 119.489183003 _89_ IFQ ARP 12027 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 119.690764524 _51_ AGT --- 12330 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 119.690764524 _51_ IFQ ARP 12128 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 119.826923441 _8_ AGT --- 12331 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 120.927969672 _51_ AGT --- 12433 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 120.927969672 _51_ IFQ ARP 12330 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
D 120.927969672 _51_ IFQ ARP 12433 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 120.939244198 _89_ AGT --- 12434 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 120.939244198 _89_ IFQ ARP 12326 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
D 120.939244198 _89_ IFQ ARP 12434 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 121.809096199 _8_ AGT --- 12536 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 122.295664620 _51_ AGT --- 12591 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
s 123.655584702 _51_ AGT --- 12738 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 123.655584702 _51_ IFQ ARP 12591 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 123.861391810 _89_ AGT --- 12739 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
s 123.934854329 _8_ AGT --- 12740 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 125.327431592 _89_ AGT --- 12900 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 125.327431592 _89_ IFQ ARP 12739 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 125.676478622 _51_ AGT --- 12942 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 125.676478622 _51_ IFQ ARP 12738 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 126.549601784 _8_ AGT --- 13043 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 126.936459045 _51_ AGT --- 13044 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 126.936459045 _51_ IFQ ARP 12942 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
D 126.936459045 _51_ IFQ ARP 13044 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 128.299388731 _89_ AGT --- 13200 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 128.299388731 _89_ IFQ ARP 12900 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 128.436771741 _8_ AGT --- 13230 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 128.858045728 _51_ AGT --- 13247 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
s 130.051233913 _89_ AGT --- 13358 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 130.051233913 _89_ IFQ ARP 13200 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
D 130.051233913 _89_ IFQ ARP 13358 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 130.448744487 _8_ AGT --- 13437 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 131.555839234 _51_ AGT --- 13552 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 131.555839234 _51_ IFQ ARP 13247 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 132.777753464 _89_ AGT --- 13653 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
s 133.112221666 _8_ AGT --- 13673 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 133.155604569 _51_ AGT --- 13680 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 133.155604569 _51_ IFQ ARP 13552 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 134.424285319 _8_ AGT --- 13836 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 134.484175877 _89_ AGT --- 13853 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 134.484175877 _89_ IFQ ARP 13653 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 135.147735120 _51_ AGT --- 13882 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 135.147735120 _51_ IFQ ARP 13680 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
D 135.147735120 _51_ IFQ ARP 13882 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 136.689894209 _8_ AGT --- 14059 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 136.810900138 _89_ AGT --- 14060 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 136.810900138 _89_ IFQ ARP 13853 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 137.093455602 _51_ AGT --- 14078 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
s 138.110452511 _51_ AGT --- 14181 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 138.110452511 _51_ IFQ ARP 14078 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 138.884407448 _8_ AGT --- 14263 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 139.329828822 _89_ AGT --- 14324 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 139.329828822 _89_ IFQ ARP 14060 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
D 139.329828822 _89_ IFQ ARP 14324 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 139.472096595 _51_ AGT --- 14360 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 139.472096595 _51_ IFQ ARP 14181 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 140.717083860 _89_ AGT --- 14467 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
s 140.931472001 _51_ AGT --- 14468 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 140.931472001 _51_ IFQ ARP 14360 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
D 140.931472001 _51_ IFQ ARP 14468 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 141.536150756 _8_ AGT --- 14570 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 142.160253784 _51_ AGT --- 14598 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
s 143.283418164 _89_ AGT --- 14724 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 143.283418164 _89_ IFQ ARP 14467 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 143.580656163 _51_ AGT --- 14773 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 143.580656163 _51_ IFQ ARP 14598 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 144.358716338 _8_ AGT --- 14837 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 144.742500007 _89_ AGT --- 14875 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 144.742500007 _89_ IFQ ARP 14724 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 145.433570098 _51_ AGT --- 14959 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 145.433570098 _51_ IFQ ARP 14773 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 145.648156882 _8_ AGT --- 14977 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 147.434527321 _8_ AGT --- 15162 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]
s 147.509467260 _89_ AGT --- 15179 cbr 32 [0 0 0 0] ------- [89:0 9:0 32 0]
D 147.509467260 _89_ IFQ ARP 14875 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
D 147.509467260 _89_ IFQ ARP 15179 cbr 74 [0 0 59 800] ------- [89:0 9:0 31 9]
s 147.966184000 _51_ AGT --- 15180 cbr 32 [0 0 0 0] ------- [51:0 9:1 32 0]
D 147.966184000 _51_ IFQ ARP 14959 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
D 147.966184000 _51_ IFQ ARP 15180 cbr 74 [0 0 33 800] ------- [51:0 9:1 31 57]
s 148.769363665 _8_ AGT --- 15281 cbr 32 [0 0 0 0] ------- [8:0 0:0 32 0]

Last edited by elaheyazdanimiar; 04-27-2014 at 02:58 AM.
 
Old 04-27-2014, 03:00 AM   #4
elaheyazdanimiar
LQ Newbie
 
Registered: Apr 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
GPSR-KeLiu

hi .dont need the GPSR-KeLiu any location services?
 
Old 06-10-2014, 03:43 AM   #5
elaheyazdanimiar
LQ Newbie
 
Registered: Apr 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Does the GPSR work with another mobility script(except grid-deploy10x10.tcl) and more node properly?can anyone send this script to me?please help me i have spent much time for this problem.thanks
 
Old 06-10-2014, 12:18 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5 .

How to generate new "cbr" and "movements" files :
ns-2.xx/indep-utils/cmu-scen-gen/README
ns-2.xx/indep-utils/cmu-scen-gen/setdest/README

Examples ....
$ ns cbrgen.tcl -type cbr -nn 200 -seed 1 -mc 8 -rate 4 > cbr200
$ ./setdest -v 2 -n 200 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 -m 2 -M 15 > nn200
Chop off the surplus lines, example : $ sed -i.bak '606,19297d' nn200

GPSR-KeLiu doesn't seem to complain with e.g. 130 or 200 nodes.
Example : GPSR-KeLiu-examples_0614.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing

-
 
Old 06-10-2014, 01:21 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moved: This thread is more suitable in Linux-Software and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 06-10-2014, 04:57 PM   #8
elaheyazdanimiar
LQ Newbie
 
Registered: Apr 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi Knudfl,
thanks for your help,I run the GPSR with nn-200-200wireless-gpsr.tcl but my trace file show that packet delivery ration is 0% while with wireless-gpsr.tcl ratio is 100%.Do you know what is the problem?

Last edited by elaheyazdanimiar; 06-11-2014 at 02:14 AM.
 
Old 06-14-2014, 02:58 AM   #9
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
Hello elaheyazdanimiar,
Quote:
I run the GPSR with nn-200-200wireless-gpsr.tcl but my trace file show that packet delivery ration is 0% while with wireless-gpsr.tcl ratio is 100%.Do you know what is the problem?
Possible cases:
* The gpsr is not working, for payload. In other words, no data sent.
* All the packets are dropped - due to mobility, insufficient queue length.

*KeLiu's GPSR is different from Original GPSR.
Please study the trace & upload some part of that.
 
Old 08-04-2014, 04:58 AM   #10
elaheyazdanimiar
LQ Newbie
 
Registered: Apr 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
hello,
can you help me?
what is the length of transmission ranges in gpsr KeLiu?
 
Old 08-07-2014, 01:18 PM   #11
Chakraborty
Member
 
Registered: Jan 2014
Location: India
Distribution: Linux-(Ubuntu 12.04,14.04.02). 32-bit for Research
Posts: 84

Rep: Reputation: Disabled
#10
The KeLiu GPSR has the codes in ln 101 in the file wireless-gpsr.tcl
# The transimssion radio range
#Phy/WirelessPhy set Pt_ 6.9872e-4 ;# ?m
#Phy/WirelessPhy set Pt_ 8.5872e-4 ;# 40m
Phy/WirelessPhy set Pt_ 1.33826e-3 ;# 50m
#Phy/WirelessPhy set Pt_ 7.214e-3 ;# 100m
#Phy/WirelessPhy set Pt_ 0.2818 ;# 250m

If something different you need you have to compile the file
wireless-phy.cc in ns-allinone-2.34/ns-2.34/mac
and corresponding changes in the tcl library files.
 
2 members found this post helpful.
Old 09-04-2014, 06:42 AM   #12
elaheyazdanimiar
LQ Newbie
 
Registered: Apr 2014
Posts: 10

Original Poster
Rep: Reputation: Disabled
carry and forward

Hi,
I need gpsr with carry and forward strategy ,please can anyone help me?
With Thanks.

Last edited by elaheyazdanimiar; 09-04-2014 at 08:33 AM.
 
  


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
gpsr muthana Linux - Software 59 08-11-2014 02:32 PM
NS-HLS--GPSR trying to get new hls gpsr example malikkk Linux - Software 0 04-07-2014 09:44 PM
[SOLVED] NS2: tried gpsr-keliu-patched ns but error during installation sants Linux - Software 2 07-25-2013 08:11 PM

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

All times are GMT -5. The time now is 03:42 AM.

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