ERSPAN Installation: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
This section describes the '''ERSPAN installation''' for the Allegro Network Multimeter. '''ERSPAN''' is the abbreviation for ''Encapsulated Remote Switch Port Analyzer''. It is switch feature that encapsulates traffic into an IP/GRE tunnel. | This section describes the '''ERSPAN installation''' for the Allegro Network Multimeter to receive ERSPAN packets. '''ERSPAN''' is the abbreviation for ''Encapsulated Remote Switch Port Analyzer''. It is switch feature that encapsulates traffic into an IP/GRE tunnel. | ||
== General == | == General == | ||
Line 17: | Line 17: | ||
=== Where can I configure the '''ERSPAN''' mode === | === Where can I configure the '''ERSPAN''' mode === | ||
Please refer to you switch manual how to set up a switch ERSPAN channel. | Please refer to you switch manual how to set up a switch ERSPAN channel. Please note that the Allegro Network Multimeter can also send '''ERSPAN''' traffic. | ||
The '''ERSPAN''' mode can be configured at '''Settings''' → '''Global Settings''' → '''Expert Settings''' → '''L3 Tunnel mode'''. | The '''ERSPAN''' mode can be configured at '''Settings''' → '''Global Settings''' → '''Expert Settings''' → '''L3 Tunnel mode'''. | ||
[[File:L3 tunnel mode.png|800px]] | [[File:L3 tunnel mode.png|800px]] | ||
You can enable the ERSPAN mode in parallel to the [[In-Line Installation]] or [[Mirror Port, TAP and Packet Broker Installation]] for one or multiple | You can enable the ERSPAN mode in parallel to the [[In-Line Installation]] or [[Mirror Port, TAP and Packet Broker Installation]] for one or multiple interfaces. Please be aware that the ERSPAN cannot work in parallel with the bridge mode for such an interface. The bridge will be disabled for this interface pair when '''ERSPAN''' is enabled for one interface. | ||
The '''ERSPAN''' mode works on all interfaces of the Allegro Network Multimeter, including the virtual version. | |||
Once the ERSPAN mode is activated, the interface will respond to ARP requests for the configured IP address. The '''ERSPAN''' interface responds to '''ICMP PING''' messages. Once the ERSPAN is configured, you should be able to send a ping to the IP address. | |||
=== Behavior of the '''ERSPAN''' mode === | |||
The behavior for all packets on the '''ERSPAN''' interfaces is: | |||
* reply to ARP requests | |||
* reply to PING messages | |||
* decapsulate all ERSPAN packets and forard them to the packet analytics | |||
* discard all other packets | |||
Be aware that mirrored packets without an ERSPAN header are dropped. | |||
The ERSPAN header will be decapsulated for the analytics. The Allegro Network Multimeter analyzes the inner packet and ignores the outer ERSPAN header. The packet ring buffer and Pcap export stores the full packets including the ERSPAN header. | |||
=== Configuration of an Allegro as '''ERSPAN''' sender === | |||
The Allegro Network Multimeter allows to send '''ERSPAN''' as a switch via the management interface like a Pcap capture. Allegro recommend to use the '''ERSPAN''' sending feature only via the LAN interface and not with the Wifi interface. Please see [#Limitations] for more details. | |||
Please make sure that the MTU size of the sending Allegro is big enough to send the whole packet including the '''ERSPAN''' header. To configure the Allegro as an '''ERSPAN''' sender, please increase the MTU on the management interface AND on all switches between the sending and receiving Allegro. This can be done at '''Settings''' → '''Management Settings''' → '''LAN Management Interface'''. | |||
[[File:Lan mtu settings.png|600px]] | |||
Once this is configured, you can start a '''live''' capture of a whole link, IP address on the sending Allegro. Please select the ERSPAN as capture type and fill the receiving IP address. | |||
[[File:Erspan capture dialog.png|400px]] | |||
This can be done also back in time. Please use realtime replay with factor 1.0 to replay with the same packet timing for the receiving Allegro. See [#Limitations] for more details. | |||
== Limitations == | |||
=== ERSPAN protocol version === | |||
The Allegro Network Multimeter supports ERSPAN version II and III as described in the RFC draft [https://tools.ietf.org/html/draft-foschiano-erspan-03 https://tools.ietf.org/html/draft-foschiano-erspan-03]. | |||
=== Fragmentation === | |||
ERSPAN is supported for non-fragmented ERSPAN packets. Please make sure that the link between the switch and the Allegro supports a higher MTU than the monitored link. We recommend to use jumbo frames with 9000 bytes to forward packets. | |||
=== | === Timestamping === | ||
The Allegro Network Multimeter does '''NOT''' use the time stamps of the ERSPAN receiver as there is only one real-time source for the Allegro Network Multimeter. |
Revision as of 09:26, 30 March 2020
This section describes the ERSPAN installation for the Allegro Network Multimeter to receive ERSPAN packets. ERSPAN is the abbreviation for Encapsulated Remote Switch Port Analyzer. It is switch feature that encapsulates traffic into an IP/GRE tunnel.
General
What is the ERSPAN mode
The ERSPAN is an advanced switch feature that encapsulates mirrored traffic into an IP and GRE packet. The full method is described in the RFC draft https://tools.ietf.org/html/draft-foschiano-erspan-03.
The advantage of the ERSPAN mode is that it can be routed via IP and the ERSPAN generator can be at a different location than the Allegro network Multimeter. This allows very simple captures of a low-bandwidth remote device when.
How should the ERSPAN mode be used
The ERSPAN quality depends on the switch performance and the bandwidth and latency between the switch and the Allegro. It will also add substantial load to the IP networks and can generate a packet storm when the ERSPAN packets themself are mirrored again into the ERSPAN tunnel.
See #Limitations for more details.
Where can I configure the ERSPAN mode
Please refer to you switch manual how to set up a switch ERSPAN channel. Please note that the Allegro Network Multimeter can also send ERSPAN traffic.
The ERSPAN mode can be configured at Settings → Global Settings → Expert Settings → L3 Tunnel mode.
You can enable the ERSPAN mode in parallel to the In-Line Installation or Mirror Port, TAP and Packet Broker Installation for one or multiple interfaces. Please be aware that the ERSPAN cannot work in parallel with the bridge mode for such an interface. The bridge will be disabled for this interface pair when ERSPAN is enabled for one interface.
The ERSPAN mode works on all interfaces of the Allegro Network Multimeter, including the virtual version.
Once the ERSPAN mode is activated, the interface will respond to ARP requests for the configured IP address. The ERSPAN interface responds to ICMP PING messages. Once the ERSPAN is configured, you should be able to send a ping to the IP address.
Behavior of the ERSPAN mode
The behavior for all packets on the ERSPAN interfaces is:
- reply to ARP requests
- reply to PING messages
- decapsulate all ERSPAN packets and forard them to the packet analytics
- discard all other packets
Be aware that mirrored packets without an ERSPAN header are dropped.
The ERSPAN header will be decapsulated for the analytics. The Allegro Network Multimeter analyzes the inner packet and ignores the outer ERSPAN header. The packet ring buffer and Pcap export stores the full packets including the ERSPAN header.
Configuration of an Allegro as ERSPAN sender
The Allegro Network Multimeter allows to send ERSPAN as a switch via the management interface like a Pcap capture. Allegro recommend to use the ERSPAN sending feature only via the LAN interface and not with the Wifi interface. Please see [#Limitations] for more details. Please make sure that the MTU size of the sending Allegro is big enough to send the whole packet including the ERSPAN header. To configure the Allegro as an ERSPAN sender, please increase the MTU on the management interface AND on all switches between the sending and receiving Allegro. This can be done at Settings → Management Settings → LAN Management Interface.
Once this is configured, you can start a live capture of a whole link, IP address on the sending Allegro. Please select the ERSPAN as capture type and fill the receiving IP address.
This can be done also back in time. Please use realtime replay with factor 1.0 to replay with the same packet timing for the receiving Allegro. See [#Limitations] for more details.
Limitations
ERSPAN protocol version
The Allegro Network Multimeter supports ERSPAN version II and III as described in the RFC draft https://tools.ietf.org/html/draft-foschiano-erspan-03.
Fragmentation
ERSPAN is supported for non-fragmented ERSPAN packets. Please make sure that the link between the switch and the Allegro supports a higher MTU than the monitored link. We recommend to use jumbo frames with 9000 bytes to forward packets.
Timestamping
The Allegro Network Multimeter does NOT use the time stamps of the ERSPAN receiver as there is only one real-time source for the Allegro Network Multimeter.