We will manipulate the parameters of 10 Layer 3 connections using a single hunt script. The WiFi stations will change packet size as a group by being part of a Test Group. In this scenario, we will create traffic to different upstream destinations using MAC VLANs, and have our AP wired up to eth1 of our LANforge machine. Requires a CT-520 for only stations, or a CT-521 if you also want a WiFi monitor station.
Create 10 virtual stations: in the ports tab, highlight radio wiphy0 and click the Create button. In this scenario, we are using WPA2 SSID jedtest.
Station ID: 100
Click Apply and then close the window.
You should see stations sta100 - sta109.
For more information see creating virtual stations
(Simple Method) Create ten MAC VLANs on the eth1. In this scenario, our upstream network is 10.26.1.0/24. In the Ports tab, highlight eth1 and click Create
IP Mask: 255.255.255.0
Click Apply and close the window.
You should see 10 MAC VLANs, eth1#0 - eth1#9
(Optional Advanced Method) Create many MAC VLANs behind eth1 using a redirect device.
Create a bridge (br0) and add eth0 to it.
Using Status->Resource 1->Netsmith, create a virtual router.
Add br0 to the virtual router.
Right click on br0, select Modify.
Select DHCP, create a pool from 10.26.1.10--10.26.1.250
Create a redirect device (r0a/r0b) and add r0a to the bridge.
Select r0b in the Ports Tab, click Create, and create 10 MAC VLANs.
Select MAC VLAN
Click Apply and close the window
You will see ports r0b#0 - r0b#9
Create ten Layer-3 cross connects. We will start at 10Mbps transmit on them as a reasonable start. In general hunt scripts start low and try to work their way higher. When using more stations, set a lower starting transmit rate.
Minimum TxRate: 10Mbps
Maximum TxRate: Same
Click Apply Leave the window open.
If you want to force packet sizes, expand the Create/Modify Cross Connect window to Box #5:
Set TCP MSS to force maximum segment size. The mouse-over tip reminds us that the Ethernet frame size becomes 54+TCP MSS size.
Select TCP_NODELAY to disable the NAGLE algorithm. This disables the OS frame re-sizing behavior.
Create nine more stations. Click Batch-Create
Click Apply and close window
Close the Create/Modify Cross Connect window.
You will see ten Layer-3 connections ita- the Layer-3 tab.
Create a Test Group. In the Test Group tab, click Create
Highlight all the sta-max-1xx connections and click ← Add Cx
Configure the Test Group Script.
Group Name: sta-mac
Script Type: ScriptHunt
Script Name: start-10Mbps
Starting Rate: 10M
Max Jitter: high 100ms
Max RT Latency: 500ms
Start the test, highlight the test group and click Start.
You will see the script report window.
When the test is finished, click Graphical Report to see graphs.