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