set udp1 [new Agent/UDP]
$ns attach-agent $n0 $udp1
set udp2 [new Agent/UDP]
$ns attach-agent $n0 $udp2
set src1 [new Application/Traffic/CBR]
$src1 attach-agent $udp1
set src2 [new Application/Traffic/CBR]
$src2 attach-agent $udp2
set null1 [new Agent/Null]
$ns attach-agent $n1 $null1
set
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)
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 AckTimeout