[ns] problem with Pcap and Tap (please help me!!!)

2007-11-10 Thread sogol babai

Hi
I can't use Tap command in NS like

[new Agent/Tap]

it shows me this error when i run the command

class Agent/Tap: constructor failed: invalid command name Agent/Tap

and even i can not use the Pcap command like

[new Network/Pcap/Live]

it show this error

class Network/Pcap/Live: constructor failed: invalid command name Network/Pcap/
Live

what should i do to overcome the problem?please help me.



[ns] Fwd: Ns question

2007-11-10 Thread sogol babai

-- Forwarded message --
From: sogol babai [EMAIL PROTECTED]
Date: Nov 8, 2007 1:41 AM
Subject: Ns question
To: [EMAIL PROTECTED]


Hello

 My nam is Sogol Babai and I'm working on a NS project.As a part of my
project it is required to simulate a network containing real nodes and
virtual nodes. The simulation is carried out by Network Simulator (NS)
on Windows operating system using cygwin. The exact topology of our
desired network is depicted below:

A - - - - - - - - - - - - - - - - -B  - - - - - - - - -- - - - - -
-C - - - - - - -  - - - - - - -  D
(virtual node )  ( real node)  ( real
node)(virtual node )

In the course of simulations I have found myself in crucial problems
which I'd kindly appreciate if you could share your expertise with me.


1) Does the NS have the capability of connecting a virtual node and a
real node, real node being an actual PC?

2) Does the NS have the capability to connect two virtual node in two
different PCs?

If the answer of two above question is yes now, I would like to know:


1) What is the exact command and its syntax format in NS to connect a
virtual node to real node?

2) What is the exact command and syntax format in NS to connect two
virtual nodes in two different PCs?

3) How an IP address can be set for a real and virtual node in NS?

I would be more than happy if you could provide me with any script
with similar subject related to content I addressed.
At the end I'd like to tender my appreciation in advance for
considering my email.


Sincerely yours,

Sogol Babai



[ns] Question (problem with Pcap and Tap)

2007-11-07 Thread sogol babai

Hi
I can't use Tap cammand in NS like
it shows me this error when i run the command

class Agent/Tap: constructor failed: invalid command name Agent/Tap

and even i can not use the Pcap cammand like


[new Network/Pcap/Live]

it show this error

class Network/Pcap/Live: constructor failed: invalid command name
Network/Pcap/
Live

what should i do to overcome the problem?please help me.