Thnx, but I have already done that and didn't work and that's why I
posted here.
> On Mon, Oct 25, 2010 at 8:20 PM, lito <
litokri...@hotmail.com> wrote:
> > Hello,
> > I would like to know how can I create a topology of an adhoc network
> > with more than one links using 802.11a.
>
> Have you looked at examples/wireless/wifi-simple-adhoc-grid.cc?
This is exactly what I want to do but it does not work correctly after
I add more than one links. In order to add more links I have added a
for loop in the file starting before creating the sockets and ending
after the scheduling of the generator function. In there I change the
sender and the receiver for every link. The problem is that no matter
the distance or the rate used the throughput I calculated was the same
every time which does not seem correct. I also saw that despite the
fact that packets were generated from all senders, packets from nodes
4 and 5 for example were never received by the sink node no matter the
distance or the rate between them. So something is obviously not
working there well.
Does anyone have a clue why?
Thnx again
>
> > For example many nodes sending traffic to the same sink or the other
> > way round.
>
> You can simply tune the above example to your needs.
>
> > Moreover, I need to calculate not only the overall throughput of the
> > network, but the per link throughput as well.
>
> The flow monitor might help.
>
> > Does anybody have any clue?
> > I am really frustrated with ns3 as I am really new and I need to do
> > this in the next couple of days... :(
>
> Maybe you should have a look at the tutorial as well.
>
>
>
> Thanx a lot
>
> > Lito
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ns-3-users" group.
> > To post to this group, send email to
ns-3-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
ns-3-users+...@googlegroups.com<ns-3-users%2Bunsubscribe@googlegrou
ps.com>
> > .
> *Instituto Superior Técnico*
www.lalith.in