[ns] probmlem in wired-cum-wireless topology

2010-03-01 Thread sashtari
Hi I have a problem in wired-cum-wireless topology. I tried to run wireless3.tcl in Marc Greis' Tutorial: http://www.isi.edu/nsnam/ns/tutorial/ In this topology, the traffic source is a wired node and the sink is a moving wireless nodes which goes from the domain of a base station to the domain

[ns] Mac protocol for duplex links

2010-02-08 Thread sashtari
Hello every body If I want to use mac/802.3 in a circular topology between every two nodes, I think I have to use duplex-link for wired Ethernet but I'm not sure duplex-link function uses which mac type? and how to add Mac/802.3 to this type of topology? thanks Saeideh > Send Ns-user

[ns] special node in ns2

2010-01-26 Thread sashtari
Hello Guys Again I have some problem in NS2!!! I want to ask one node to do something, not all of the nodes in my topology. For example just one node add something in mac layer to the packet and the other nodes just forward the packet in a regular manner. For this purpose I have added a variable

[ns] errors in installing ns2.27

2009-12-08 Thread sashtari
Hi folks I want to install an older version of ns: ns2.27, because I want to use SIP protocol. But I get some errors: tclcl-mappings.h: In static member function ‘static int TclObjectHelper::dispatch_(void*, Tcl_Interp*, int, char**)’: tclcl-mappings.h:51: error: incomplete type ‘Tcl’ used i

[ns] attaching more than one sink to an agent

2009-11-30 Thread sashtari
Hi Is it possible to connect more than one sink to a UDP or TCP agent in a LAN? Thanks Saeideh > Send Ns-users mailing list submissions to > ns-users@isi.edu > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.isi.edu/mailman/listinfo/ns-users >

[ns] problem with creating a new agent

2009-11-26 Thread sashtari
Hi every body I want to create a new agent completely similar to a UDP agent. I've copied udp.cc and udp.h, then renamed them to my agent, added my agent to Makefile and modify ns-default.tcl. Finally I've recompile NS2 (configure and make,). But when I want to attach this new agent to a node

[ns] question regarding LAN

2009-11-19 Thread sashtari
Hi every body I have a question about the LANs: I have some nodes in a LAN, a udp agent is attached to one of them. Now I'm looking for a way that all of the other nodes receives the packets form the udp agent attached to the first node. I've attached Null/Agents to the other nodes but I don't kn

[ns] qustion regarding database in Ns2

2009-11-10 Thread sashtari
- Hello every body I want to have a simple database on each node in NS2. I want to use the information of this database in mac header. Does anybody know how should I do this? I should do it in C++ codes or in tcl codes? Thanks Saeideh

[ns] question regarding mac header in ns2

2009-10-28 Thread sashtari
Hello everybody I have a question about Mac header. When we define some nodes in tcl code, I checked and saw that their node IDs are used as source mac address(macSA) and destination mac address(macDA). (I've gotten these results by adding a fprintf command in mac802-3.cc.) Now, my question

[ns] question regarding

2009-10-28 Thread sashtari
Hello everybody I have a question about Mac header. When we define some nodes in tcl code, I checked and saw that their node IDs are used as source mac address(macSA) and destination mac address(macDA). (I've gotten these results by adding a fprintf command in mac802-3.cc.) Now, my question is w

[ns] question regarding switchs in NS2

2009-10-10 Thread sashtari
Hello every body would you tell me how can I define a switch and its ports in NS2? Regards Saeideh

[ns] [Fwd: question regarding adding some fileds to a packet]

2009-10-05 Thread sashtari
Original Message Subject: question regarding adding some fileds to a packet From:sasht...@sce.carleton.ca Date:Mon, October 5, 2009 2:00 pm To: ns-users@ISI.EDU

[ns] Question regarading to implementing protocols in ns

2009-07-21 Thread sashtari
Hi everybody I'm a new user in ns! I'm looking for implementing some protocols, actually 802.1AB (Link Layer Discovery Protocol) in Layer 2 and also SIP in application layer in ns-2. Do you know that these protocols are implemented before and if they are, would you point me the codes. Bests Sa