LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-22-2013, 05:31 AM   #1
yotta15
LQ Newbie
 
Registered: Mar 2012
Posts: 15

Rep: Reputation: Disabled
ns2 + mobiwan : Conversion des adresse IP


Bonjour,

Je travaille avec NS2.33 avec l'extension Mobiwan.
Dans mon script TCL, je défnit une station de base comme suit :

set bs1_ [create-base-station 1.1.0 1.0.0 200 200 0]
où l'adresse 1.1.0 est @ de ma sation de base
l'adresse 1.0.0 est @du routeur auquelle est rattachée BS1.

La simulation est finie avec succés mais en regardant le fichier de trace pour exploiter les résultats obtenus, j'ai remarqué que NS fait la conversion des adresses IP en un "identifiant" je pense .
Exemple pour la bs1 : 1.1.0 -> 4196352
Est ce que quelqu'un sait comment procéde NS2 pour faire cette conversion ?
Merci pour votre retour.

Cordialement,
Yotta
 
Old 04-22-2013, 08:25 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,314
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
LQ expects posts to be in English, even if it's necessary to use something like Google translate.

I piped your post through Google translate; here's how it came out.

Quote:
I work with NS2.33 with extension Mobiwan.* In my TCL script, I defnes a base station as follows:*

set bs1_ [create-base-station 1.1.0 1.0.0 200 200 0]* 1.1.0 where the address is @ my tion base* 1.0.0 @ address is its piece of the BS1 is attached router.*

The simulation is completed successfully but looking at the trace file to use the results, I noticed that NS is the conversion of IP addresses in an "identifier" I think.* Example for bs1: 1.1.0 -> 4196352*

Does anyone know how to make this process NS2 conversion?* Thank you for your return.* Sincerely,
 
Old 01-08-2014, 06:38 AM   #3
kumar_s
LQ Newbie
 
Registered: Feb 2013
Posts: 6

Rep: Reputation: Disabled
Hi Yotta,

I too changed script and tried to run the topology which is available at the following pic.
I changed address params.

I'm geting Segmentation fault error.

if know plz guide me to set the address domain params for this topology


Thanks
kumar_s
Attached Thumbnails
Click image for larger version

Name:	topo.png
Views:	10
Size:	62.9 KB
ID:	14442  
 
Old 01-13-2014, 12:28 AM   #4
kumar_s
LQ Newbie
 
Registered: Feb 2013
Posts: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by kumar_s View Post
Hi Yotta,

I too changed script and tried to run the topology which is available at the following pic.
I changed address params.

I'm geting Segmentation fault error.

if know plz guide me to set the address domain params for this topology


Thanks
kumar_s

myself corrected the problem.now it works
 
  


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
Mobiwan for NS2.29 yotta15 Linux - Newbie 1 07-28-2012 05:18 AM
NS2.33+ mobiwan : error "Segmentation Defaul" when running a tcl script yotta15 Linux - Newbie 1 06-29-2012 04:09 AM
Mobiwan for Ns2.33 bsyew Linux - Newbie 37 01-22-2012 05:16 AM
More IP adresse on 1 NIC iloncare Linux - Networking 0 01-14-2004 07:12 AM
setting up ip adresse manually snu Linux - Networking 3 07-06-2003 02:14 PM

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

All times are GMT -5. The time now is 12:01 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