Candela Technologies Logo
Network Testing and Emulation Solutions

Generating Traffic to saturate a particular WiFi Channel

Goal: Setup and run Wireless LAN traffic using the LANforge CT523 in order to fully saturate a WiFi channel.

In this test scenario, the LANforge CT523 is used to simulate 4 virtual wireless stations on one radio that associate with an access point on the other radio. This allows a single LANforge machine to be a complete WiFi network. Please see the Wifi Testing cookbook example first. These steps assume the configuration from that cookbook is already in place.

  1. Create a virtual AP on wiphy1.
    1. Go to the Port Manager screenshot
    2. Select port wiphy1 and click Create
    3. Select the Wifi VAP button, then enter MAC, Quantity, STA ID, and SSID. Enter IPv4 address info: screenshot
    4. Configure the radio's channel (which will apply to the VAP that was just created). Select the wiphy1 interface in the Port-Mgr tab and click Modify. Select the channel, and optionally the country-code, and then press Ok. If you elect to change the country code, you must do so on all radios in your system in order for proper function. screenshot

    For more information see LANforge User's Guide: Ports (Interfaces)

  2. Use the Netsmith feature to create a virtual router and configure DHCP for the AP.
    1. Go to the Status tab, and click the Netsmith button for Resource 1.
    2. Drag the existing interfaces into a more pleasing layout.
    3. Right-Click in empty space and create a new Virtual Router. Just click OK, using the default configuration.
    4. Drag the VAP interface into the virtual router and click Apply at the bottom-right of the Netsmith window..
    5. Double-lick the vap0 icon (which should now be green) to bring up the Create/Modify Connection window.
    6. Select the DHCP option, and then fill in the Range Min and Range Max values appropriately.
    7. Apply Netsmith again and the configuration should be done. screenshot
  3. Use Batch-Modify to configure all of the existing WiFi stations to talk to the new AP.
    1. Go to the Port-Mgr tab, select sta0, sta1, sta2, and sta3, and then click the Batch Modify button. Configure the SSID to match the AP, and then press OK screenshot
    2. The station interfaces should now get DHCP addresses matching the new AP screenshot
  4. Create Layer-3 connections between the station interfaces.
    1. Go to the Layer-3 tab. If there are existing connections, stop and/or delete them, and then click Create. Give the test a name, select sta0 and sta1 for ports, set rate to 100M, and set payload size. When complete, press Apply to create the new CX. screenshot
    2. Create a second UDP connection on sta2 and sta3 interfaces. Change name, change ports, and press OK. screenshot

    For more information see LANforge User's Guide: Layer-3 Cross-Connects (FIRE)

  5. Run traffic tests concurrently, and view results.
    1. Select both CXs in the Layer-3 tab, and click the Start button. screenshot
    2. Go to the Port-Mgr tab, scroll to the right, and confirm that the Activity for this channel reports a fairly high percentage. screenshot
    3. Select the 4 station ports and Right-Click → Dynamic Report on the Port-Mgr table to view a live report of the ports. screenshot

    For more information see LANforge User's Guide: Reporting

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