[ns] udp forward packets

2010-05-01 Thread alessandro lazzara
hello, I want use udp agent for a script tcl for 802.11.for example I have node 0 node 1 and node2 and I want that 0(udp agent) send to 1 and 1 forward to 2 that is sink(null agent)but when 1 receive, how can forward to 2?

[ns] Please reply me!!!Add AODV in this script

2010-04-19 Thread alessandro lazzara
set MESSAGE_PORT 42 set ACK_SIZE 12 set HEADER_SIZE 12 set PAYLOAD_UNIT 6 set DIFS 0.0; set AckTimeout 0.02; set BER 1e-6; set val(Nsink) 2 ;#numbers of nodes for sink set val(L) 3 ;# numbers of sink set val(chan) Channel/WirelessChannel;# Channel Type set val(prop)

[ns] static routing help!!!

2010-04-14 Thread alessandro lazzara
Hello.I am a noob of NS2.I must be some simulations, but i must modify in this tcl routing.I must usiing a statiic routing.How modify this tcl to work static routing leaving the rest?thanks set MESSAGE_PORT 42 set ACK_SIZE 12 set HEADER_SIZE 12 set PAYLOAD_UNIT 6 set DIFS 0.0; set