Candela Technologies Logo
Network Testing and Emulation Solutions

Multiple Stations with a Hunt Script

Goal: Do packet sized testing with a hunt script using multiple stations.

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 the AP wired up to eth1 of our LANforge machine. Requires a CT-520 for only stations, or a CT-523 if you also want a WiFi monitor station.

  1. Create 10 virtual stations: in the Port Mgr tab, highlight radio wiphy0 and click the Create button. In this scenario, we are using SSID jedtest. screenshot
    1. Select WiFi STA
    2. Check DHCP-IPv4
    3. Quantity: 10
    4. Station ID: 0
    5. SSID: jedtest
    6. Click Apply and then close the window.
    7. You should see stations sta0 - sta9.

    For more information see creating virtual stations

  2. (Simple Method) This method only requires setting the IP on eth1. In this scenario, our upstream network is In the Port Mgr tab, highlight eth1 and click Modify. screenshot
    1. IP:
    2. IP Mask:
    3. Gateway IP:
    4. Click OK.
  3. (Optional Advanced Method) Create ten MAC VLANs on the eth1. In this scenario, our upstream network is In the Port Mgr tab, highlight eth1 and click Create. screenshot
    1. Select MAC-VLAN
    2. Quantity: 10
    3. IP:
    4. IP Mask:
    5. Gateway:
    6. Click Apply and close the window.
    7. You should see 10 MAC VLANs, eth1#0 - eth1#9.
  4. 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. In the Layer-3 tab, click Create. screenshot
    1. Name: sta-mac-0
    2. Endpoint-A: eth1 (if using the advanced MAC-VLAN method, set this to eth1#0.
    3. Endpoint-B: sta0
    4. Type: LANforge / UDP
    5. Min Tx Rate: 10Mbps (both sides)
    6. Click Apply. Leave the window open.
  5. Create nine more stations. Click Batch-Create. screenshot
    1. Quantity: 9
    2. Deselect Zero Pad.
    3. If only eth1 is used for upstream traffic, set Port Increment A to 0. Otherwise leave it at 1.
    4. Click Apply and close window.
    5. Close the Create/Modify Cross Connect window.
  6. You will see ten Layer-3 connections in the Layer-3 tab. screenshot
  7. Create a Test Group. In the Test Group tab, click Create. screenshot
    1. Name: sta-mac
    2. Select Config As Totals.
    3. Highlight all the sta-mac-x connections and click ← Add Cx.
    4. Click Apply.
    5. Click Script.
    6. Configure the Test Group Script. screenshot
      1. Group Name: sta-mac
      2. Script Type: ScriptHunt
      3. Script Name: start-10Mbps
      4. Starting Rate: 10M
      5. Click OK.
    7. Close the Create Test Group window.
  8. Start the test. Highlight the test group and click Start. screenshot
  9. You will see the script report window. screenshot
  10. When the test is finished, click Graphical Report to see graphs. screenshot

Candela  Technologies, 2417 Main Street, Suite 201, Ferndale, WA 98248, USA | | +1.360.380.1618
Facebook | LinkedIn | Blog