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. |
 |
Email Candela Technologies at: support@candelatech.com
if you have any questions or suggestions.
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
Candela Technologies, 2026 Main Street, Suite A, P.O. Box 3285, Ferndale, WA 98248, USA
www.candelatech.com |
sales@candelatech.com | +1 360 380 1618
Last modified: Fri Mar 11 09:52:35 PST 2011