Actually mine is not a pure adhoc network to use that article.
once BS(0) gives packet to m0, then it should adhocly give packet to m1....
but in ns2,as soon as i define a Base station, wireless node must associate
to a BS. routing happens only through base station,not among nodes....


Mojtaba Asgari wrote:
> 
> 
> Yes, you can. You can find useful information in the article "Implementing
> a New Manet Unicast Routing Protocol in NS2" by Francisco J. Ros and 
> Pedro M. Ruiz, and also in NS2 Document.
> 
> 
> ________________________________
>  
> 
> ________________________________
>  From: Agepati Sujana <suj...@ece.iisc.ernet.in>
> To: ns-users@ISI.EDU 
> Sent: Tuesday, August 7, 2012 2:23 PM
> Subject: [ns] wired cum wireless multi hop network in ns2
>  
> 
> 
> n0==b0--m0--m1--m2--m3--m4--b1==n1
> 
> here == means wired connection
>         --  means wireles connection
> 
> There is TCP source at n0 & TCP sink at n1. m0 to m4 is adhoc multi hop
> network. is it possible to simulate above model in ns2??
> I'm new to ns2.i have to simulate the above attached model.
> when i read the tutorials,i feel that once base station is used,all
> wireless nodes must be attached to it.
>             but i require adhoc multi hop between wireless nodes so that
> data sent from wired node n0 reaches n1.
>         Is it possible to simulate this in ns2??
> please help me.i have spent weeks on this.still didnt get any idea how to
> do this...
> -sujana.
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> 

-- 
View this message in context: 
http://old.nabble.com/wired-cum-wireless-multi-hop-network-in-ns2-tp34264599p34281167.html
Sent from the ns-users mailing list archive at Nabble.com.


Reply via email to