Problem with multiple static flows

59 views
Skip to first unread message

Mahesh

unread,
Oct 8, 2017, 10:06:59 AM10/8/17
to ns-3-users
Hi all,

I have set up 2 static flows on a 802.11ac wifi network. However, when I run the code, flow monitor gives me throughput stats for just 1 one flow. The other flow isn't working at all. When I turn on only a single flow, it works fine. But two flows do not work together. Topology:

0                         1                            2                        3

4                         5                            6                        7

8                         9                            10                      11

Flow 1 is from 0--->5--->10--->11
Flow 2 is from 8--->5--->2---->3

I want flow 1 to happen on channel 42 and flow 2 to be on channel 58. Please help. Where am I going wrong ? Attached is the code.


Thanks,
Mahesh
test-multiple-static-flows.cc

Mahesh

unread,
Oct 8, 2017, 10:22:27 AM10/8/17
to ns-3-users
When both flows are on the same channel 42, then the program works fine. But when they are on different channels (flow 1 on ch. 42 and flow 2 on ch. 58), only the first flow gets traffic.

Why is this so ? Node 5 which is common to both flows has multiple interfaces through which I am setting up the static route on different channels.

Please reply.

Mahesh

unread,
Oct 9, 2017, 5:04:23 AM10/9/17
to ns-3-users
There seems to be an issue with channel numbers assigned to the flows. If two flows are assigned different channels, then only one flow receives traffic. However I am unable to justify why this is happening. Since the two flows are on different channels, I don't expect any interference. Or should I ?

Can someone please help ?

- Mahesh

Rediet

unread,
Oct 9, 2017, 9:12:20 AM10/9/17
to ns-3-users
Hi,

There is something that I find very odd in your script. You're considering the Wi-Fi channel as if it where a P2P channel... This will certainly lead to some errors.

Rediet
Reply all
Reply to author
Forward
0 new messages