|Tracking sequence gaps can be useful in the following scenarios:
In this test scenario, LANforge will be set up to generate sequence gaps. Then the sequence gaps will be shown via the layer-3 display window.
Four physical ports will be used, two to generate traffic and two for the WanLink endpoints. This test uses a LANforge CT922 system.
LANforge will be generating UDP traffic at 1 Mbps through a WanLink that is scripted to apply one second of latency every ten seconds. The one second latency should create a one second sequence gap. The packet size will be smaller to increase the rate of traffic and thus decreasing sequence gaps, this will make any larger sequence gaps more apparent.
Set IPs on traffic generating ports, eth0 and eth3 in this case.
In the Port Manager tab modify eth0.
Set the IP Address.
In the Port Manager tab modify eth3.
Set the IP Address.
Create a WanLink.
In Netsmith, right click an open area and click New Connection.
Select the Skip checkboxes on Port 1-B and Port 2-B.
Set Port 1-A to eth1.
Set Port 2-A to eth2.
Click Apply in Netsmith.
Configure the WanLink.
In the WanLinks tab, modify the WanLink.
Set the Transfer Rate to 10Mbps for both endpoints.
Click the Script button on Endpoint A.
Set the Script Type to ScriptWL.
Click the Loop checkbox.
Run Duration = 1s
Rates = 10Mbps
Latencies = 0,0,0,0,0,0,0,0,0,1000
Jitter = 0
Drops = 0
Click OK to close the WanLink modify window.
Create a Layer 3 connection.
In the Layer-3 tab, Click Create.
CX Name = udp-1m
Report Timer = 1s
Endpoint A Port = eth0
Endpoint B Port = eth3
Endpoint A and B = 1m
Endpoint A and B Min PDU Size = 64 B
Create a test group to start the layer 3 connection and WanLink at the same time.
In the Test Group tab, click Create.
Test Group Name = tg
Select the WanLink and Layer 3 connection on the right and click Add Cx.
Start the test group. This will start both the layer 3 connection and the scripted WanLink.
In the Test Group tab, select tg and click Start. You will see the Script Report window appear.
Display the Layer 3 connection and analyze the Rx Gap (sequence gap).
In the Layer-3 tab, select udp-1m and click Display.
The Rx Gap graph is highlighted in the below screenshot. The Rx Gap for Endpoint B doesn't show one second sequence gaps because that side of the WanLink was not scripted.
The colored numbers on the left side of the colon represent time in milliseconds. The right colored numbers represent the number of times a sequence gap reached the particular time on the left side.
You'll notice that 9 sequence gaps hit 1024ms. These gaps were the result of the WanLink script occasionally sending one second latency.