19th December 2009 at 14:40
#60380
pinapinu
Guest
hii,,
i wanna ask about simulation program to create all kind network topology in NS2.
example :
create ring topology
for {set i 0} {$i < 7} {incr i} { set n($i) [$ns node] } for {set i 0} {$i < 7} {incr i} { $ns duplex-link $n($i) $n([expr ($i+1)%7]) 1Mb 10ms DropTail } i can create ring topology and star topology program. please help me to create mesh,bus and tree topology program... thanks