tap-wifi-virtual-machine.cc something is abnormal

163 views
Skip to first unread message

Tan Dang Tai

unread,
Nov 9, 2015, 2:38:20 AM11/9/15
to ns-3-users
Dear Experts!

I established the model:

LXC(left) <---> br-left <---> tap-left <---> ns 3 network <---> tap-right <---> br-right <---> LXC (right)

1. Created bridge, tap birdge by running file : /ns3.24-1/src/tap-bridge/examples/virtual-network-setup.sh
2. I follew the HOWTO to create the LXC ==> Done 
     I have LXC@right$ and LXC@left$
3. I run tap-wifi-virtual-machine.cc  ==> scenario: standard wifi 801.11a and datarate = 54Mbps
4. To assess the quality of ns3 network.
4.1: I installed iperf on both of  LXCs and at server run: $iperf -s -u  ;;;; at client run: $iperf -c <ip_server>-u -b <bandwidth>
4.2: Results when I adjusted bandwidth: 
          BW:           1Mbps            |   2Mbps         |        5Mbps       |    10Mbps                     
    Throughput:     0.998Mbps    |   1.02Mbps    |      1.02Mbps    |     1.02Mbps

My question: I don't why all cases are got the same throughput approximate 1Mbps, although the bandwidth is increased and the datarate= 54Mps ??

I also verified this by try CSMA: tap-csma-virtual-machine.cc and change UseBridge and UseLocal. and change datarate, All of cases are worked as expected. 

I Hope some experts can give some explanation. or If I did wrong, please give some solutions. I appreciate your help. I hope my question is not duplicate
Thank you

P/s:
I also looked for this issue on this groups, but no results. And I also see some problem about UseBridge is not supported for STA/Adhoc mode. Is this also be my problem.?
I also I find solution to use UseBridge for adhocmode by Jinxue Zhang. but, I got error

I also tried other mode: AP and STA 
                ==> I got same problem as many people had got





Tan Dang Tai

unread,
Nov 11, 2015, 2:32:10 AM11/11/15
to ns-3-users

Dear Experts! 
I attached a image, which is in client side. I hope someone will help me.
I appreciate your help.

Vào 16:38:20 UTC+9 Thứ Hai, ngày 09 tháng 11 năm 2015, Tan Dang Tai đã viết:

shivanshu shekhar

unread,
Dec 16, 2022, 12:26:23 AM12/16/22
to ns-3-users
Hi,

Did this issue get fixed?

Thanks in Advance
Reply all
Reply to author
Forward
0 new messages