LANforge-FIRE Cookbook
The LANforge-FIRE Cookbook provides a set of high-level examples of how to
setup useful test scenarios in LANforge-FIRE for traffic generation. Each example
intends to give the reader a brief introduction to the test scenario and a set
of step-by-step instructions on how to use the LANforge-GUI to configure the test.
All of the following examples will work on Linux systems running the
LANforge software with the LANforge kernel and a sufficient license. If you are running
another Linux kernel, you will not be able to exactly duplicate some of the
examples, but there are usually work-arounds available to assist you.
Please contact us at
support@candelatech.com if you have any questions.
If you are using the Windows version of LANforge, you will have to modify ports
using the Windows utilities.
Everything else should work approximately the same, but
the performance is limited to 10Mbps speeds.
LANforge-FIRE Traffic Generation
Before attempting the examples below, ensure that you have successfully
followed these software installation guides:
It is also recommended that you back up your current running LANforge Server
database so that you may safely return to your current operating state.
LANforge-FIRE Cookbook Examples
- Switched Network Testing
- Routed Network Testing
- Firewall Testing
- Webserver Testing - Updated
- DSLAM Testing
- VoIP Testing
- WiFi Testing
- Armageddon Testing (Accelerated UDP)
- Armageddon Testing with Random MAC Addresses
- Scripted Layer-3 Test (RFC-2544)
- Scripted Armageddon Test (RFC-2544)
- Multiple Thousands of TCP Connections
- Multiple Thousands of UDP Connections
- FIRE Chili
1. Generating Traffic to a Switched Network
Goal: Setup and run traffic on a switched network.
Return to LANforge-FIRE Cookbook
In this test scenario, a basic, unmanaged switch is the device under test (DUT) while
LANforge-FIRE is used to generate traffic and verify switch throughput.
- Connect two available data generating ports of your LANforge
Server to the DUT, an unmanaged switch.
- Setup the LANforge Ports so that they have valid IP addresses.
| A: Go to the Port Manager |
 |
| B: Modify port for Endpoint A (eth2) |
 |
| C: Modify port for Endpoint B (eth3) |
 |
| D: Verify the port configuration |
 |
- Create a Layer-3 Connection using the two configured ports.
| A: Go to the Layer-3 tab |
 |
| B: Create a new Cross-Connect |
 |
| C: Verify the new Cross-Connect |
 |
- Run traffic and observe results.
| A: Select the cross-connect on the Layer-3 tab,
click Start and then Display |
 |
| B: View the Layer-3 cross-connect display |
 |
- In this case, the overall throughput of the DUT is approximately 76Mbps.
The Report Manager can also be used to record the throughput over time.
| A: Select Report Manager from the Reporting
pull-down menu |
 |
B: Choose a directory to save raw (.csv) data then click
Start Saving. After desired test duration, click Stop Saving and Generate
Report.
NOTE: Your report will look cleaner if you stop traffic about 2 minutes before you stop saving data. |
 |
| C: Choose a directory to save the HTML report, select the
entities to be included, then click Generate Report |
 |
| D: This window lists all the reports being generated. The
last line indicates the location of the HTML report. |
 |
| E: View the HTML report |
 |
2. Generating Traffic to a Routed Network
Goal: Setup and run traffic on a routed network.
Return to LANforge-FIRE Cookbook
In this test scenario, LANforge-FIRE is used to generate traffic to a basic
router in order to test throughput.
- Connect one LANforge-FIRE port to the router's LAN port.
- Connect another LANforge-FIRE port to the router's WAN port.
- Setup the LANforge Ports so that they have valid IP addresses.
| A: Go to the Port Manager |
 |
| B: Modify port for Endpoint A (eth2). Set a valid network
IP address and Gateway IP. |
 |
| C: Modify port for Endpoint B (eth3). Set a valid network
IP address and Gateway IP. |
 |
| D: Verify the port configuration |
 |
- Create a Layer-3 Connection using the two configured ports.
| A: Go to the Layer-3 tab |
 |
| B: Create a new Cross-Connect |
 |
| C: Verify the new Cross-Connect |
 |
- Run traffic and determine router throughput.
| A: Select the cross-connect on the Layer-3 tab,
click Start and then Display |
 |
| B: View the Layer-3 cross-connect display |
 |
- For this example, a low performance router was used to illustrate poor throughput, variable
latency, and dropped packets.
| A: Go to the L3 Endps tab
|
 |
| B: Scroll to the right to view Latency and Dropped Packets |
 |
3. Generating Traffic to a Firewall
Goal: Setup and run traffic to test a firewall.
Return to LANforge-FIRE Cookbook
In this test scenario, LANforge-FIRE is used to generate traffic to a
firewall DUT in order to measure the following benchmarks:
- UDP Throughput - Maximum payload bits per second with a UDP traffic flow.
- TCP Throughput - Maximum payload bits per second with a TCP traffic flow.
- TCP Concurrent Connections - Maximum number of simultaneous TCP connections.
- TCP Connections per Second - Maximum number of established TCP connections per second.
NOTE: If you are attempting to run this test scenario, you will need a LANforge
license key that enables the correct number of ports and multi-connections.
Please contact us at
support@candelatech.com for assistance.
- The UDP Throughput test will use a scripted Layer-3 connection to vary the rate
and payload size to determine the bi-directional UDP throughput of the DUT across the
scripted parameters.
- The TCP Throughput test will use a scripted Layer-3 connection to vary the rate
and payload size to determine the bi-directional TCP throughput of the DUT across the
scripted parameters.
- The TCP Concurrent Connections test will measure the maximum number of
simultaneous TCP connections that the DUT can maintain at once.
| A: On the Port Manager tab, create 5 MAC-VLANs on
the LANforge Port connected to the DUT LAN port. |
 |
| B: Verify that the MAC-VLANs have correct IP addresses. |
 |
| C: Create a Layer-3 connection that has a low-speed rate with
Multi-Conn set to 10000 on Endpoint Side-A. Multi-Conn should be set to 1 on Endpoint Side-B.
• Side-A will be one of the MAC-VLANs and Side-B will be the port connected
to the DUT WAN port. This setup will initiate the TCP sessions from the LAN side of the DUT.
• Low-speed depends on the DUT, we could also set the rate to zero which would
allow the TCP connections to be setup without payload data to be transmitted, but
this would not give an accurate picture of the firewall performance. Here we are using
1Kbps connections with 1KB size payload.
• This is an iterative test, the number of TCP connections to use will depend
on the DUT capabilities. Modify the number of connections as necessary to find
the most accurate measurement.
• The DUT should be power-cycled to reset it before each test run. |
 |
| D: Select the Batch-Create button to create 4 more copies
of this connection each with a new MAC-VLAN port. |
 |
| E: Highlight and Start each set of 10000 connections until
the target max simultaneous connections are running. |
 |
| F: On the Layer-3 Endpoints tab, highlight the Running
A-Side Endpoints, then right-click and select Calculations. |
 |
| G: The top line, Sum, is what we are interested in for
Maximum Concurrent TCP Connections. |
 |
H: Scroll right to the CX Active and CX Established columns
and select the Refresh button.
This DUT can maintain a maximum of 41,864 simultaneous TCP connections.
• CX Active is the metric we are attempting to measure, Maximum Simultaneous TCP
Connections. It will fluctuate with the DUT's ability to maintain the number
of active TCP connections.
• CX Established is the number of TCP connections LANforge has established since
the start of the test. It will continue to increase as the DUT closes the TCP
connections it cannot maintain. |
 |
- The TCP Connections per Second test will measure the rate of TCP connections that can be setup through the DUT.
| A: Create a Layer-3 TCP connection with the Duration and IP Port set to zero. |
 |
| B: Highlight and Start the connection. |
 |
C: View the Connections/second rate on the Layer-3 Endpoints tab.
This DUT can setup about 120 Connections/second. |
 |
4. Generating Traffic to a Web Server
Goal: Setup and run traffic to a Web Server.
Return to LANforge-FIRE Cookbook
In this test scenario, LANforge-FIRE is used to generate traffic in the form of
URL requests in order to determine the maximum number of URLs/second the Web Server
can process.
Please note that the Web Server used in this example is an isolated Linux system running Apache.
- Connect one LANforge-FIRE port to the Web Server's network.
- Setup the LANforge Port so that it has a valid IP address.
| A: Go to the Port Manager |
 |
| B: Modify the port connected to the Web Server. Set a valid
network IP address and Gateway IP. |
 |
| C: Verify the port configuration |
 |
- Setup the URL requests.
| A: Go to the Layer-4 tab
|
 |
| B: Create a Layer-4 Endpoint:
• Enter a name and select the port configured in the previous step
• URLs per 10m should be set to around 1,200,000 which is 2,000 URLs/second
• Leave the SSL Cert alone as we are not using it in this example
• UL/DL should be set to Download
• URL should be set to the Web Server's IP address and file that you wish to download.
In this example, index.php is a small test file.
• File is the designated location that the downloaded file will be stored. In this
example, we use /dev/null which will essentially throw the file away so that it
does not slow down the LANforge system with writing files.
• Select the 'Allow-Reuse' checkbox to maximize the number of URL requests LANforge
can make per connection |
 |
| C: Repeat the above step to make 10 Layer-4 Endpoints:
• Each of the 10 Layer-4 Endpoints will attempt to generate 2000 URLs/second,
effectively generating 20,000 URLs/second |
 |
- Run traffic and determine Web Server performance.
| A: On the Layer-4 tab, select one Layer-4 endpoint,
click Start, then repeat for all 10 Layer-4 endpoints:
• As each endpoint is started, the rate of URLs/second will start to converge on
a rate that the Web Server is capable of providing. Finding the final Web Server
performance rate is a matter of adding up the rates of all running Layer-4 endpoints.
• Several Layer-4 endpoints (10 in this case) are used so each endpoint can make
an independently large number of URL requests without having to wait for too many replies.
Each URL request is waiting for a reply from the Web Server, so if only one Layer-4
endpoint was making requests, it would spend too much time waiting for replies instead of
generating more requests. Spreading the URL requests over several endpoints allows each
LANforge connection to the Web Server to maximize its rate of URL requests. |
 |
| B: Layer-4 Endpoint Results:
• After starting all 10 endpoints, and letting them run for at least 1 minute, the
overall URLs/second
rate converges to around 17,000 URLs/second. |
 |
5. Generating Traffic for DSLAM Testing
Goal: Setup and run traffic to a DSLAM system as shown in the
CT570 product description.
Return to LANforge-FIRE Cookbook
Please refer to the diagram in the CT570 link above. In this test scenario,
the LANforge-FIRE Core is one interface on a LANforge system. The LANforge-FIRE
Edge is another interface on the same LANforge system. The LF Core
interface is connected to the upstream DSLAM interface either directly or
through a switch. The CPEs are connected to a multi-port VLAN switch which
has a VLAN trunk that is connected to the LF Edge. Traffic is sent between
the LF Core and the LF Edge to achieve end-to-end network traffic testing of
the DSLAM system.
- Connect one LANforge-FIRE interface to the DSLAM upstream internet connection.
This is the LF Core part of the diagram mentioned above.
- Setup the LANforge port so that it has a valid IP address and IP mask.
| A: Go to the Port Manager |
 |
| B: Modify the port connected to the DSLAM. Set a valid
network IP address and IP mask. |
 |
| C: Verify the port configuration |
 |
- Setup virtual interfaces.
| A: On the Port Mgr tab, select the port that will
connect to the multi-port switch and will also be your VLAN trunk. This is the LF Edge
part of the diagram. |
 |
| B: Click the Create button:
• Select the 802.1Q-VLAN virtual interface type
• The VLAN ID should correspond to your multi-port switch VLAN configuration
• Enter Quantity (number of virtual interfaces to be created)
• Enter the appropriate IP address and IP mask
• Click OK or Apply to create the virtual interfaces |
 |
| C: Verify that the virtual interfaces are created and have
the correct IP assignments |
 |
| D: Modify each port's MAC address for each virtual interface
so that they are unique
• Select the 'Set MAC' checkbox on the left to edit the MAC address field |
 |
| E: Scroll to the right to verify that the MAC addresses are
unique |
 |
- Create Layer-3 connections.
| A: Go to the Layer-3 tab |
 |
| B: Click the Create button
• Fill in a connection name, select a connection type and set the report timer
• Make endpoint A the DSLAM upstream port or LF Core
• Make endpoint B the CPE downstream port or LF Edge
• You can make the TX/RX rates asymmetric for the connection to simulate how
the connection would be used in a real-world scenario. Here we have about
5Mbps downstream (DSLAM to CPE) and 1Mbps upstream (CPE to DSLAM).
• Click Apply to create the connection |
 |
| C: Create multiple connections
• Change the connection name and endpoint B to the next virtual interface then
click Apply to create the next connection
Repeat until all five connections are created. |
 |
- Run traffic.
| A: Select the connections you want to start |
 |
| B: Click the Start button |
 |
6. Generating Traffic for VoIP Testing
Goal: Setup and run VoIP traffic.
Return to LANforge-FIRE Cookbook
In this example, LANforge-FIRE is used to setup two VoIP test calls
that may be used as a basis for VoIP load testing or VoIP Gateway testing.
- Test 1: Directed VoIP call where a LANforge Endpoint calls another LANforge Endpoint.
- Test 2: Gateway VoIP call where two LANforge Endpoints register with a VoIP Gateway so that
the call from one endpoint to the other goes through the gateway. The VoIP Gateway used in this
example is Asterisk.
- Setup the LANforge physical connections. The same two ports are used for both tests.
Connect eth1 and eth2 from the LANforge-FIRE system to a network switch that is also
connected to the VoIP Gateway. This example assumes that your VoIP Gateway is setup
properly. If you need assistance, you can contact us at
support@candelatech.com or you can find a
basic Asterisk setup at this link:
LANforge FAQ: How do I configure Asterisk for SIP Phones?
- Setup the LANforge ports so that they have valid IP addresses and IP masks.
- Setup Test 1, a Directed VoIP call.
| A: Go to the VoIP/RTP tab |
 |
| B: Click the Create button:
• Enter test-1 in the CX Name field
• Select the Multi-Call and Directed buttons
• Endpoint A is on Port eth2 in this example. If you have a PESQ licensed server
available, you can select Record and Enable PESQ.
• Endpoint B is on Port eth2. If you are using PESQ, be sure to enter a
Record file and the IP address and port of your PESQ licensed server. Be sure
to select the Rcv Call checkbox for this endpoint to receive the call.
• Click OK to create the VoIP Directed call |
 |
| C: Verify that the test call is created |
 |
- Setup Test 2, a Gateway VoIP call.
| A: Go to the VoIP/RTP tab |
 |
| B: Click the Create button:
• Enter test-2 in the CX Name field
• Select the Multi-Call and Use Gateway buttons
• Endpoint A is on Port eth1 in this example. Be sure to enter the proper
username and password for the endpoint so that it can authenticate with the VoIP
Gateway if necessary.
• Endpoint B is on Port eth2. Be sure to select the Rcv Call checkbox
for this endpoint to receive the call.
• Click OK to create the VoIP Gateway call |
 |
| C: Verify that the test call is created |
 |
- Run Test 1 and Test 2 individually.
| A: Select Test-1 and click the Start button |
 |
| B: Go to the VoIP/RTP Endps tab to see detailed results:
• The PESQ score will be reported after the first successful call is completed and
updated after each subsequent call
• NOTE: Endpoints are Unregistered while the call is in progress because
they are not calling through the VoIP gateway |
 |
| C: Stop Test-1, select Test-2 and click Start |
 |
| D: Go to the VoIP/RTP Endps tab to see detailed results:
• PESQ remains 0: 0 when it is disabled for the call in progress
• NOTE: Endpoints are Registered with the VoIP gateway while the call is in
progress
• Calls Attempted, Calls Completed and Calls Failed can be viewed by scrolling to
the right on the VoIP/RTP Endps tab |
 |
7. Generating Traffic for WLAN Testing
Goal: Setup and run Wireless LAN traffic using the
LANforge CT520.
Return to LANforge-FIRE Cookbook
In this test scenario, the LANforge CT520 is used to simulate 4 virtual wireless
stations that associate with a third party access point. Three traffic tests will
be configured and run to demonstrate possible wireless access point tests.
- Configure the wireless card on your LANforge CT520.
| A: Go to the Port Manager and select port ath0 or wmaster0 |
 |
| B: Modify port ath0 or wmaster0 |
 |
| C: Setup the Wifi Channel and Mode you want to use,
then click OK |
 |
- Create the virtual wireless stations.
Note: Because there is only one physical wireless card in the LANforge CT520, all
of its virtual stations will use the same wireless channel, but each virtual
station can associate with different access points by using multiple ESSIDs.
| A: Select port ath0 or wmaster0 and click Create |
 |
| B: Select the Wifi STA button, then enter Quantity,
STA ID, and ESSID:
• In this example, all 4 virtual stations will connect to the same access point
• If your access point can serve DHCP, you can select the 'DHCP-IPv4' checkbox
here to enable each virtual station as a DHCP client
• If you choose to enter IP addresses manually, the create function will increment
the last octet of the IP address for each virtual station created
• Click OK when finished |
 |
| C: Verify that the virtual wireless stations are created |
 |
- Setup IP addresses using DHCP.
| A: CTRL-select all of the virtual wireless stations and eth0
then click Modify
• NOTE: This will bring up 5 modify windows at once |
 |
| B: Verify the 'DHCP-IPv4' checkbox is selected for each
interface intended as a DHCP client (if not done when created):
• If using WEP for the wireless stations, replace 'none' in the Key field with
the hexadecimal key string generated by your access point where you enabled WEP
• Click OK when finished |
 |
| C: If your access point DHCP service is running, the 4
virtual wireless stations and eth0 will acquire their IP addresses after a few seconds |
 |
| D: Scroll to the right to view each station's link quality
and other interface details |
 |
- Create Layer-3 connections.
| A: Go to the Layer-3 tab and click Create |
 |
| B: Create a wireless-to-wired UDP speed test:
• Test 1: sta1-eth0, UDP, 15 Mbps bi-directional, 1472 byte packets
|
 |
| C: Create a wireless-to-wired TCP connections per second test:
• Test 2: sta2-eth0, TCP, Endpoint-A IP Port 0, CX Duration 0
• NOTE: Duration 0 means there will be zero delay between attempted TCP
connections created between sta2 and eth0 which will allow LANforge to generate as
many connections per second as possible through the access point
|
 |
| D: Create a wireless station-to-wireless station speed test:
• Test 3: sta3-sta4, UDP, 1.544 Mbps bi-directional, 1472 byte packets
|
 |
- Run traffic tests individually, and view results on the L3 Endps tab.
8. Generating Traffic Using Armageddon
Goal: Setup and run near line-speed 1Gbps traffic using the LANforge Armageddon feature.
Return to LANforge-FIRE Cookbook
In this test scenario, LANforge Armageddon is setup to run at about 80,000 packets/second
full-duplex to achieve near line-speed 1Gbps traffic generation.
Note: In order to use the LANforge Armageddon feature, your system must have
the LANforge kernel patch applied and your system must be properly licensed. Please
feel free to contact us at support@candelatech.com
if you would like to obtain a demo license for the Armageddon feature.
- Configure the physical interfaces.
- Create the Armageddon cross-connect.
| A: On the Armageddon tab, click the Create
button |
 |
| B: Select ports eth2 and eth3 and enter the speed and packet
size
• For this example, 10000pps at 1514byte packet size should generate about 121Mbps
• Click OK when finished |
 |
| C: Verify that the Armageddon connection is created |
 |
- Run the Armageddon cross-connect and view results.
9. Generating Armageddon Traffic Containing Random MAC Addresses
Goal: Setup and run traffic containing random MAC addresses using the LANforge
Armageddon feature.
Return to LANforge-FIRE Cookbook
In this test scenario, LANforge Armageddon is setup to run with random MAC addresses. This is
useful when performance/stress testing network devices that may not be able to keep up with
high-speed traffic containing rapidly changing MAC addresses.
Note: In order to use the LANforge Armageddon feature, your system must have the
LANforge kernel patch applied and your system must be properly licensed. Please feel free to
contact us at support@candelatech.com
if you would like to obtain a demo license for the Armageddon feature.
- Configure the physical interfaces.
| A: Go to the Port Manager and select ports eth2 and eth3 |
 |
| B: Modify ports eth2 and eth3
• In this example, eth2 and eth3 are connected to another LANforge system running a
WanLink so that the Armageddon traffic can be sniffed on the other machine's interface |
 |
| C: Configure each port with a valid IP address, then
click OK
• NOTE: Be sure that both ports are in Promiscuous mode by selecting
the 'Set PROMISC' and 'PROMISC' checkboxes |
 |
- Create the Armageddon cross-connect.
| A: On the Armageddon tab, click Create |
 |
| B: Select ports eth2 and eth3 and enter the speed and
packet size |
 |
| C: Enter values for the Source and Destination MAC addresses
and specify a MAC count |
 |
- Run the Armageddon cross-connect and verify results with Wireshark.
10. Scripted Layer-3 Test
Goal: Use RFC-2544
as a guide to create a Layer-3 connection that can run automatically
through various payload sizes and rates for a specified duration.
Return to LANforge-FIRE Cookbook
In this example, LANforge is used to setup a scripted connection that will iterate through
a user-defined list of payload sizes and transmission rates. Each iteration will run for a
user-defined duration with a user-defined pause between iterations. A summary text report
is generated at the conclusion of all iterations.
- Create a Layer-3 connection. For details refer to:
Generating Traffic to a Switched Network
- Modify the Layer-3 connection to add the script.
| A: Highlight the Layer-3 connection and select Modify. |
 |
| B: Select the Script button on Endpoint A. |
 |
C: Select the Script Type, RFC-2544.
Note: A default set of payload sizes are setup based on
RFC-2544
but, can be changed by typing over the default values.
Note: For Layer-3 UDP and TCP connections, 'payload size' refers to
size of the payload being carried by the protocol and not the ethernet frame size. |
 |
- Setup script options. For details refer to: LANforge User's Guide:
Scripted Cross Connect
| A: Select Symmetric for the script to run both endpoints
for a bi-directional traffic test. |
 |
| B: Set the Run and Pause Duration. |
 |
| C: Note the total number of Script Iterations and
Estimated Total Duration to help determine how long it will take to run this script. |
 |
| D: Select OK to close the Add/Modify Script window. |
 |
| E: The Script Type for Endpoint B is set to NONE
because Endpoint A is controlling both ends of the connection in this symmetric script example. |
 |
| F: Select OK to close the Create/Modify Cross Connect window. |
 |
- Start the Scripted Layer-3 Cross Connect.
11. Scripted Armageddon Test
Goal: Use RFC-2544
as a guide to create an Armageddon connection that can run automatically
through various payload sizes and rates for a specified duration.
Return to LANforge-FIRE Cookbook
In this example, LANforge is used to setup a scripted connection that will iterate through
a user-defined list of payload sizes and transmission rates. Each iteration will run for a
user-defined duration with a user-defined pause between iterations. A summary text report
is generated at the conclusion of all iterations.
- Create an Armageddon connection. For details refer to:
Armageddon Testing (Accelerated UDP)
- Modify the Armageddon connection to add the script.
| A: Highlight the Armageddon connection and select Modify. |
 |
| B: Select the Script button on Endpoint A. |
 |
C: Select the Script Type, RFC-2544.
Note: A default set of payload sizes are setup based on
RFC-2544
but, can be changed by typing over the default values.
Note: For Armageddon UDP connections, 'payload size' refers to
size of the ethernet frame size. |
 |
- Setup script options. For details refer to: LANforge User's Guide:
Scripted Armageddon Cross Connect
| A: Select Symmetric for the script to run both endpoints
for a bi-directional traffic test. |
 |
| B: Set the Run and Pause Duration, modify Rates
and Payload Sizes as needed. |
 |
| C: Note the total number of Script Iterations and
Estimated Total Duration to help determine how long it will take to run this script. |
 |
| D: Select OK to close the Add/Modify Script window. |
 |
| E: The Script Type for Endpoint B is set to NONE
because Endpoint A is controlling both ends of the connection in this symmetric script example. |
 |
| F: Select OK to close the Create/Modify Cross Connect window. |
 |
- Start the Scripted Armageddon Cross Connect.
12. Multiple Thousands of TCP Connections
Goal: Setup and run traffic on multiple thousands of stateful TCP connections.
Return to LANforge-FIRE Cookbook
As of LANforge release version 5.1.4, LANforge-FIRE has the capability to create
multiple thousands of TCP connections using only two ports on one Layer-3 connection
that can all run simultaneously and in a stateful manner. This feature
can be used to test connection state aware devices such as firewalls,
stateful packet inspection systems and intrusion detection/prevention systems.
The upper limit of the total number of concurrent connections is determined
by the processor speed and total memory available on the system running the LANforge software.
In addition, the packet rate and payload size of each connection will also affect performance.
NOTE: If you are attempting to run this test scenario, you will need a LANforge
license key that enables the correct number of multi-connections. Please contact us at
support@candelatech.com for assistance.
- For this example, two physical ports on a single LANforge system are connected
together.
- Setup the LANforge ports so that they have valid IP addresses and IP masks.
| A: Using the LANforge GUI, go to the Port Manager tab. |
 |
| B: Assign IP addresses and masks to the two ports. |
 |
| C: Verify the port configuration. |
 |
- Setup a Layer-3 Multi-Conn TCP connection.
| A: Go to the Layer-3 tab, and select the
Create button. |
 |
| B: For Endpoint A, type in a name in the CX Name field,
choose a CX Type of LANforge/TCP, choose the correct ports and set the
Report Timer to 1000 ms. |
 |
| C: Set the Min Tx Rate and Max Tx Rate on
both Endpoints A and B to 9.6Kbps.
NOTE: Higher speeds and/or bursty transmit rates will require more memory
to process per connection. |
 |
| D: Leave the Min Pkt Size and Max Pkt Size
on both Endpoints A and B set to 1024B.
NOTE: Larger packet sizes will use more memory, smaller packet sizes
will require more CPU processing time.
|
 |
| E: Leave the TCP Duration set to Forever, unless
you want each of the multiple TCP connections to teardown and restart after a
specified duration. |
 |
| F: For Endpoint A, set the Multi-Conn to the
desired number of multiple TCP connections.
You can type in any value that your license allows here or choose one from
the drop down box. The recommended approach is to create a new Multi-Conn
connection for every 5000 connections. |
 |
| G: For Endpoint B, set the Multi-Conn to one,
then select OK to create the connection.
Endpoint B is the "server" side of the TCP connection, therefore it is only
necessary to have one Multi-Conn setup on Endpoint B to reply to all of the
Endpoint A TCP SYN packets when the 5000 connections are being established. |
 |
- Create 5 more Layer-3 Multi-Conn TCP connections.
| A: On the Layer-3 tab, highlight the first
connection created in the previous step and select Modify. |
 |
| B: Select the Batch-Create button. |
 |
| C: Set the Quantity to 5, and set
Port Increment A and Port Increment B to 0. |
 |
| D: Select the Apply button. |
 |
| E: Verify that six Multi-Conn TCP connections were created. |
 |
- Run traffic and verify results.
13. Multiple Thousands of UDP Connections
Coming Soon...
14. Making FIRE Chili...
Goal: Make some tasty chili.
Return to LANforge-FIRE Cookbook
In this test scenario, LANforge-FIRE is not used to generate traffic. Instead, the test
engineer should realize that all work and no play makes Homer something something.
Please note that this chili recipe is just as quick and dirty as the rest of the examples
in this cookbook, but ever more tasty. Feel free to improvise...
- Get yourself in a kitchen with some groceries.
- Prep some ingredients.
| A: Chop up some onions. One should be good enough. |
 |
| B: Chop up some garlic. Just a few cloves. |
 |
- Cook it all up.
| A: Brown some ground beef.
|
 |
| B: Heat up tomato sauce, kidney beans. 16oz of each is good. |
 |
| C: Add garlic, onions, beef and spices such as cayenne,
cumin, chili powder, salt and pepper. |
 |
D: Don't forget the beer!
Note: The beer is for you, not the chili...unless of course you are experimenting! |
 |
| E: Cornbread is also nice to have. |
 |
- Enjoy!
| A: Serve with additional chopped onions, corn chips and
cheddar cheese. |
 |
Candela Technologies, Inc., 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
www.candelatech.com | sales@candelatech.com | +1 360 380 1618