[ns] ns80211e.tgz for NS 2.34

2010-08-10 Thread Dinusha Rathnayaka

Dear all,
Can any one help me to find the files for ns80211e.tgz for ns2.34?
I found the patch in http://www.tkn.tu-berlin.de/research/ for ns2.26.
Will this work for ns2.34 also?

I need to take a backup of my previous files in ns2.34 before adding the
patch. If I put that patch which files would be modified?

Thank You.

AJD
Curtin University.


[ns] Generate fixed amount of CBR traffic with a fixed interval rate

2010-08-10 Thread Mustafa Kamal

Hello,

Can anyone guide me the way to send 100 cbr packets with a fixed interval rate 
(for example 1.5/sec)? I only want to send 100 cbr packets after that the cbr 
agent should stop sending any further packets.

Thanks in advance.
 
Regards,
Mustafa Kamal



  


Re: [ns] node id's dislpay when nodes are initialized

2010-08-10 Thread MK8191


You can simply do this by adding
puts Node $address_ was Created
in dsr.tcl , right after
  SRNode instproc init {args} {
   ...
   eval $self next $args;# parent class constructor
   if {$dmux_ ==  } {
 ...
   }
i.e.
  SRNode instproc init {args} {
   ...
   eval $self next $args;# parent class constructor
   if {$dmux_ ==  } {
 ...
   }
   puts Node $address_ was Created




sarah87 wrote:
 
 hello everyone !
 well i want to display node ids as they are initailzed before simulation ,
 and i am using DSR protocol , i tried using nsaddr_t and net_id.dump() but
 it did not work at all. I will really thankful if anyone could lend help.
 

-- 
View this message in context: 
http://old.nabble.com/node-id%27s-dislpay-when-nodes-are-initialized-tp29394346p29396384.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] code to add the hops(path) to source routing in the packet

2010-08-10 Thread Wei Zhang

Hello everybody,

I need code to add the hops of path to source routing in the packet. If you 
have it please send me soon.

Thank you in advance.
Wei





  


[ns] Same addresses (id) for mac_address, node_id, ip address

2010-08-10 Thread MK8191


I am confused in addressing scheme of ns2.

I want to change address fields of mac layer in MANETs as:
 addr1 = Receiver Address (next_hop)
 addr2 = Transmitter Address (current_hop)
 addr3 = next_next_hop
 addr4 = prev_hop of current hop
and, then use this addresses in DSR routing protocol for some purpose like
as routing table update procedure and so on.

But I found ns2 uses different addressing schemes for MAC, IP and Node
addressing.

I tried to disable ARP module of MobileNode and set the MAC address in OTcl
code, but I see different addresses.

How can I solve this problem?

best regards
-- 
View this message in context: 
http://old.nabble.com/Same-addresses-%28id%29-for-mac_address%2C-node_id%2C-ip-address-tp29388822p29388822.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] need scripts for wired protocols

2010-08-10 Thread ankur goyal

Hi All,

I am trying to simulate the distance vector routing and shortest path
algorithm and i need a generalized script to calculate the average network
load, throughput, jitter and average delivery/delay time.

I did find many scripts on internet but none of them is generalized. All the
scripts available requires the input as src node, dst node, flow etc, but
none of the scripts id for complete network.

Can anyone please help me in this.

Thanks,
Ankur