LinuxQuestions.org
Help answer threads with 0 replies.
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, 06: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, 09: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: 17,922
Blog Entries: 28

Rep: Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589Reputation: 5589
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, 07: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:	9
Size:	62.9 KB
ID:	14442  
 
Old 01-13-2014, 01: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

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