Re: [ns] Disabling ARP protocol for MAC evaluation
first you need to get a tcl reference for the arp-table: e.g. ($val(nn) = number of nodes in simulation) for {set i 0} {$i $val(nn) } { incr i } { set ll($i) [$node_($i) set ll_(0)] set arp($i) [$ll($i) get-arptable] } then you can put entries in the arp-table. for {set i 0} {$i $val(nn) } { incr i } { for {set j 0} {$j $val(nn) } { incr j } { if { $j != $i } then { $arp($i) putentry_mobile $node_($j) $ll($j) } } } now you have fixed all the arp-tables. I hope this helps. grtz, Michael
[ns] Disabling ARP protocol for MAC evaluation
Hi all How can I disable ARP and assign destination Mac address in the TCL script? In fact, I am trying to evaluate a enhanced version of 802.11 DCF and I want to disable the effects of ARP protocol. Thanks in advance. Mohammad