Analyze connections between remote sites: Difference between revisions

Access restrictions were established for this page. If you see this message, you have no access to this page.
No edit summary
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== Problem ==
== Problem ==
Often multiple locations (offices) are connected through dedicated
Often multiple locations are connected by dedicated
lines. Sometimes, network problems are reported which cannot be easily
lines. Sometimes, network problems are reported which cannot be easily
tracked down. These can be problems in the local network, the remote
tracked down. These can be caused by issues in the local network, the remote
network, or the dedicated line itself.
network, or the dedicated line itself.


Line 13: Line 13:
|}
|}
The image shows an example setup for measuring packet loss and latency
The image shows an example setup for measuring packet loss and latency
between two networks which are connected to each other via the
between two networks which are connected via the
Internet.
Internet.


== Requirements ==
== Requirements ==


1. You need two Allegro Network Multimeters (any model).
# You need two Allegro Network Multimeters (any model).
 
# One Allegro Network Multimeter (the main device) will receive traffic information from the remote Allegro Network Multimeter via a standard SSL connection; the main device must be able to connect to the remote device. If a firewall is in place between both devices, an additional rule might be necessary to connect the remote device on port 443.
2. One Multimeter (the master device) will receive traffic information from the remote Multimeter via a atandard SSL connection. This means the master device must be able to connect to the remote device. If a firewall is in place between both devices, an additional rule might be necessary to connect the remote device on port 443.


== Device installation ==
== Device installation ==


1. Install the master device somewhere in your network where it can see the traffic sent and receievd to the remote site. The Multimeter can be installed on a Mirror Port on a Switch which sees all the traffic, or inline between the local network and uplink to the remote site.
# Install the main device in your network where it can see the traffic sent and received to the remote site. The Allegro Network Multimeter can be installed on a Mirror Port of a Switch which sees all the traffic, or inline between the local network and uplink to the remote site.
 
# Install the device on the remote site at a network position where it sees all traffic from and to the local network. Again, this can be a Mirror Port of a Switch on the remote site, or inline between the remote network and the link to the local network.
2. Install the device on the remote site at a network position where it sees all traffic from and to the local network. Again, this can be a Mirror Port on a Switch on the remote site, or inline between the remote network and the link to the local network.


== Configuration ==
== Configuration ==
Line 34: Line 32:
|}
|}


1. Remote device: There are no special configuration settings necessary on the remote device. You need the following information to use the device on the master device:
# Remote device: First, the remote device must be added to your multi-device setup, which can be configured under [[Multi-device settings|<u>Multi device settings</u>]].
 
# Main device:
* The IP address of the management port.
## Access the web page of the Allegro Network Multimeter and go to "Generic -> Path measurement".
* The TCP port under which the web site of the Multimeter is accessible (defaults to 443).
## Switch to the configuration tab.
* The username and password of the admin user (or any other user with admin role).
## Click on the toggle button to enable the feature.
 
## Enter an descriptive name for the main device to make it easier to read the statistics.
2. Master device:
## For the remote device, enter the information described above. You can select a descriptive name for this device also.
 
## Enter a maximum packet delay. This parameter defines how long the main device waits for data from the remote device until it decides whether or not a packet has been lost. Larger values requires more memory. Typical values are between 2 and 5 seconds.
'''(a)''' Access the web page of the Multimeter and go to "Generic -> Path measurement".
## Finally save the configuration settings.
 
## At the bottom of the page a note will appear in most cases that a restart of the packet processing is necessary. Follow the link to the administration page and click on "Restart processing". Be aware that this will interrupt the network connection for a few seconds (if in Bridge mode); you will lose all previously measured data.
'''(b)''' Switch to the configuration tab.
## Return to the "Generic -> Path measurement" page.
 
## The "Measurement" tab should indicate that the measurement status is either warming up or running.
'''(c)''' Click on the toggle button to enable the feature.
## The "Remote client status" should say "connected". If not, a button appears which can be clicked to reconnect to the remote device. Any error will be displayed in an information box.
 
'''(d)''' You can enter an descriptive name for the master device which makes it easier to read the statistics.
 
'''(e)''' For the remote device, enter the information described above. You can select a descriptive name for this device, too.
 
'''(f)''' Enter a maximum packet delay. This parameter defines how long the master device waits for data from the remote device until it decides whether or not a packet as been lost. Larger values requires more memory. Typical values are between 2 and 5 seconds.
 
'''(g)''' Finally save the configuration settings.
 
'''(h)''' At the bottom of page a note will appear in most cases that arestart of the packet processing is necessary. Follow the link to the administration page and click on "Restart processing". Be aware that this will interrupt the network connection for a few seconds (if in bridge mode) and you will lose all previously measured data.
 
'''(i)''' Return to the "Generic -> Path measurement" page.
 
'''(j)''' The "Measurement" tab should say that the measurement status is either warming up or running.
 
'''(k)''' The "Remote client status" should say "connected". If not, a button appears which can be clicked to reconnect to the remote device. Any error will be printed in a info box.


== Evaluation ==
== Evaluation ==
Line 71: Line 53:


The "Measurement" tab shows the results of the analysis of packet data
The "Measurement" tab shows the results of the analysis of packet data
from the master device and remote device.
between the main and remote device(s).


At the bottom, the fourth graph shows the packet rate of all traffic
At the bottom, the fourth graph shows the packet rate of all traffic
Line 80: Line 62:


To identify packet loss during a time interval, first select the
To identify packet loss during a time interval, first select the
corresponding zoom level to see the whole time range. You can also
corresponding zoom level to see the entire time range. You can also
select the time range by clicking into the graph.
select the time range by clicking into the graph.


The second and third graph shows the number of packets lost,
The second and third graphs show the number of packets lost
separately for each direction. If packet loss happened, you will see a
separately for each direction. If packet loss occurred, you will see a
non-zero graph value in the graph.
non-zero value in the graph.


Keep in mind that the analysis waits the configured maximum packet
Keep in mind that the analysis waits the configured maximum packet
delay before deciding a packet is really lost. This means that the
delay before deciding if a packet is lost. This means that the
time of the packet loss is actually before the data point in the
time of the packet loss is actually before the data point in the
graph, up to the maximum number of packet delay second in the past.
graph, up to the maximum number of packet delay seconds in the past.


Example: In the graph above, a packet loss is indicated at
Example: In the graph above, a packet loss is indicated at
17:45:34. For a configured maximum packet delay of 5 seconds, the
17:45:34. For a configured maximum packet delay of 5 seconds, the
original packet lost was sent 5 seconds earlier, starting from
original lost packet was sent 5 seconds earlier starting from
17:45:29.
17:45:29.


Line 100: Line 82:


The "Two-way latency" graph shows the minimum, maximum and average
The "Two-way latency" graph shows the minimum, maximum and average
delay of both direction aggregated. Select the zoom level for the
delay of both aggregated directions. Select the zoom level for the
wanted time period and check if there are unusual events in the graph.
required time period and check if there are any unusual events in the graph.
 
A high maximum but low average value means that there have been few
points in time where the delay was high but the most traffic had a
much lower delay.


A high maximum and high average indicates a general problem with the
A high maximum but low average value means that there have been a few
latency.
points in time where the delay was high but the majority of the traffic experienced a
lower delay.


A high latency does not necessarily mean a low bandwidth as network
A high maximum and high average indicates a general latency problem.
buffers can cover latency and still provide high bandwidth. But
realtime applications such as audio calls or video chat will
experience worse quality due to high latency.


=== How to identify traffic happening during packet loss or high latency ===
A high latency does not necessarily mean low bandwidth since network
buffers can handle latency and still provide high bandwidth. But
real-time applications such as audio calls or video chats will
exhibit poorer quality due to high latency.


First select the interesting time window when the packet loss or high
=== How to identify packet loss or high latency ===
latency happened. Consider the packet delay configuration value to
select a time early enough to include the first arrival time of lost
packets.


For example, if the value is set to 5 seconds, include at least 5
First, select the relevant time window when the packet loss or high
seconds before a packet loss event in the time window.
latency occurred.  


Once the time window has been selected, switch the "IP -> IP
Once the time window has been selected, switch the "IP -> IP
Line 129: Line 105:
window.
window.


Packet loss for TCP connections always means the use of retransmission
Packet loss for TCP connections always generate retransmission
packets. Toggle the display of "TCP counters" on the top bar and sort
packets. Toggle the display of "TCP counters" on the top bar and sort
the table for "TCP retransmissions" to see the IP addresses with the
the table for "TCP retransmissions" to see the IP addresses with the
most retransmissions in that time period.
most retransmissions in that time period.


Select an conspicuous IP address and check its peers or connections to
Select an IP address which shows a high retransmission rate and check its peers or connections to
identify the traffic happening during the packet loss or high latency.
identify the traffic during the packet loss or high latency period.
 
== See also ==
 
Read on about the [[Path measurement|<u>Path measurement</u>]] module for additional information about configuration, usage, and limitations.

Latest revision as of 08:46, 21 April 2022

Problem

Often multiple locations are connected by dedicated lines. Sometimes, network problems are reported which cannot be easily tracked down. These can be caused by issues in the local network, the remote network, or the dedicated line itself.

This section describes how to use two Allegro Network Multimeters to measure packet loss and network latency between a local installation and a remote site.

The image shows an example setup for measuring packet loss and latency between two networks which are connected via the Internet.

Requirements

  1. You need two Allegro Network Multimeters (any model).
  2. One Allegro Network Multimeter (the main device) will receive traffic information from the remote Allegro Network Multimeter via a standard SSL connection; the main device must be able to connect to the remote device. If a firewall is in place between both devices, an additional rule might be necessary to connect the remote device on port 443.

Device installation

  1. Install the main device in your network where it can see the traffic sent and received to the remote site. The Allegro Network Multimeter can be installed on a Mirror Port of a Switch which sees all the traffic, or inline between the local network and uplink to the remote site.
  2. Install the device on the remote site at a network position where it sees all traffic from and to the local network. Again, this can be a Mirror Port of a Switch on the remote site, or inline between the remote network and the link to the local network.

Configuration

  1. Remote device: First, the remote device must be added to your multi-device setup, which can be configured under Multi device settings.
  2. Main device:
    1. Access the web page of the Allegro Network Multimeter and go to "Generic -> Path measurement".
    2. Switch to the configuration tab.
    3. Click on the toggle button to enable the feature.
    4. Enter an descriptive name for the main device to make it easier to read the statistics.
    5. For the remote device, enter the information described above. You can select a descriptive name for this device also.
    6. Enter a maximum packet delay. This parameter defines how long the main device waits for data from the remote device until it decides whether or not a packet has been lost. Larger values requires more memory. Typical values are between 2 and 5 seconds.
    7. Finally save the configuration settings.
    8. At the bottom of the page a note will appear in most cases that a restart of the packet processing is necessary. Follow the link to the administration page and click on "Restart processing". Be aware that this will interrupt the network connection for a few seconds (if in Bridge mode); you will lose all previously measured data.
    9. Return to the "Generic -> Path measurement" page.
    10. The "Measurement" tab should indicate that the measurement status is either warming up or running.
    11. The "Remote client status" should say "connected". If not, a button appears which can be clicked to reconnect to the remote device. Any error will be displayed in an information box.

Evaluation

The "Measurement" tab shows the results of the analysis of packet data between the main and remote device(s).

At the bottom, the fourth graph shows the packet rate of all traffic that is used for measurement. This includes the traffic seen on both devices, but excludes the traffic that is only seen on one device.

Checking packet loss

To identify packet loss during a time interval, first select the corresponding zoom level to see the entire time range. You can also select the time range by clicking into the graph.

The second and third graphs show the number of packets lost separately for each direction. If packet loss occurred, you will see a non-zero value in the graph.

Keep in mind that the analysis waits the configured maximum packet delay before deciding if a packet is lost. This means that the time of the packet loss is actually before the data point in the graph, up to the maximum number of packet delay seconds in the past.

Example: In the graph above, a packet loss is indicated at 17:45:34. For a configured maximum packet delay of 5 seconds, the original lost packet was sent 5 seconds earlier starting from 17:45:29.

Checking latency

The "Two-way latency" graph shows the minimum, maximum and average delay of both aggregated directions. Select the zoom level for the required time period and check if there are any unusual events in the graph.

A high maximum but low average value means that there have been a few points in time where the delay was high but the majority of the traffic experienced a lower delay.

A high maximum and high average indicates a general latency problem.

A high latency does not necessarily mean low bandwidth since network buffers can handle latency and still provide high bandwidth. But real-time applications such as audio calls or video chats will exhibit poorer quality due to high latency.

How to identify packet loss or high latency

First, select the relevant time window when the packet loss or high latency occurred.

Once the time window has been selected, switch the "IP -> IP statistics" to see which IP addresses had traffic within the time window.

Packet loss for TCP connections always generate retransmission packets. Toggle the display of "TCP counters" on the top bar and sort the table for "TCP retransmissions" to see the IP addresses with the most retransmissions in that time period.

Select an IP address which shows a high retransmission rate and check its peers or connections to identify the traffic during the packet loss or high latency period.

See also

Read on about the Path measurement module for additional information about configuration, usage, and limitations.