[ns] Adding obstacles in my network topology in NS2

Imran khan imrankhan1984 at gmail.com
Tue Apr 28 12:38:05 PDT 2009


hi,

I want to simulate an ad hoc network topology, where a vehicle travels on
the roads and communicates with other vehicles in its vicinity. I'm using
NS2 version 2.33 for this purpose.

I just want to know how can I add obstacles in my topology like, buildings,
trees etc. in NS2? I'm using a GRID like topology. I'm able to define roads
for vehicles to travel on, but there are open spaces (sort of), that enable
free propagation of wireless signal.

I want to see the effects of problems like hidden node etc. so for that I
need to incorporate some obstacles between my nodes like buildings, tree
etc.

any help regarding this will be highly appreciated.

-- 
"There is nothing on this earth more to be prized than true friendship."
--
Best Regards,

Imran Khan
MS Multimedia & Communications
Muhammad Ali Jinnah University
Islamabad
+92300-5397149


More information about the Ns-users mailing list