Flowmon

NetFlow / IPFIX Monitoring

NetFlow is a network standard originally developed by Cisco for collecting IP traffic information and monitoring of network telemetry data. NetFlow enabled switches or routers, so-called exporters, generate these aggregated traffic statistics that provide a picture of bandwidth utilisation, communication partners and clients activity.

The most commonly used format is NetFlow v5. To support a demand to extract wider data set, independent IPFIX format has emerged among a variety of proprietary formats such as jFlow, sFlow or NetStream.

NetFlow traffic statistics dashboard

NetFlow collected data visualization

NetFlow / IPFIX vs. SNMP in network monitoring

For years, regular monitoring of a network was performed by the SNMP protocol that delivers an overview of the IT infrastructure; giving network administrators information about the availability of its components.

Today, when the availability and proper working of a company's network are crucial for its existence, much more information and sophisticated methods are needed. To get this information, organisations widely adopt NetFlow and IPFIX. Routers, switches and specialised network probes that export this type of data also register increasing demand.

Network traffic monitoring generates statistics both on the underlying data transfers when abstracting from packets, and the subject of the communication itself (the content of the communication is not stored). These statistics represent the flow data in the network, which can be thought of as similar to a list of telephone calls. Network and Security Operations gain an understanding of who communicates with whom, when, how long and how often. In the language of a data network environment, they monitor IP addresses, data volumes, time, ports, protocols and this can further be enriched with latency measurements and application layer data for a variety of protocols.

NetFlow data gathering scheme

NetFlow data gathering scheme

What NetFlow / IPFIX is used for

[CMSDataProperties.LoadTransformation]: Transformation 'Flowmon.Tile.SimpleIconText' not found.
AND MORE
 
  • Report on service degradation that may impact mission-critical operations
  • Use advanced reporting to stay ahead of network incidents
  • Observe device activity and enforce security policies, including BYOD
  • Understand network incident the root-cause and affected services
  • Make the most effective decisions on infrastructure and server capacity needs
  • Track historical data to learn about trends and make proactive decisions
NetFlow bandwidth stats

Bandwidth stats from NetFlow

Collecting NetFlow. How does it work?
#collecting-netflow-how-does-it-work

When a request from a client to the server is sent (green envelope), the active device with NetFlow export capability looks into the packet header and creates a flow record. The flow record contains information about the source & destination IP addresses and ports, protocol number, number of bytes and packets and all other information from layer 3 and 4. Individual data network communications are identified by source & destination IP addresses, ports and protocol number.
 

So when the server responds to the client IP addresses and ports in the packet header are reversed and another flow record is created – NetFlow is one-way traffic technology.  The subsequent packets with the same attributes update the previously created flow records (e.g.: number of bytes, duration of communication). When the communication is over, flow records are sent to are sent to a software or a physical device called Netflow Collector. Here the data is ready to be stored and analysed for different reasons.
 

NetFlow statistics are provided by network elements (routers, switches) or by specialised standalone hardware probes. The probes are transparently connected to the monitored network as passive appliances, creating a precise and detailed flow of statistics from the copy of network traffic. This approach is used to overcome various performance and feature limitations of router-based NetFlow monitoring.

It is always important to check the router/switch documentation to ensure it supports NetFlow and if so which version. It is usually necessary to test if it does – older nodes can sometimes suffer from performance issues, do not provide precise statistics or have limited scope for monitored network traffic characteristics.

Flowmon NetFlow infrastracture scheme
Flowmon NetFlow infrastracture scheme

What is IPFIX? NetFlow vs. IPFIX
#netflow-vs-ipfix

NetFlow data extracted from routers or switches is an abstraction of the network traffic itself. Flow statistics are created as an aggregation of the network traffic that contains basic L3/L4 telemetry data from IP header such as IP, port or protocol or Type of Service. The content of the communication is not stored, therefore the achievable aggregation rate is about 500:1 as compared to storing full packet traces. This means that the bandwidth NetFlow exports consume about 0.2%. Such data enables to analyse traffic structure, identify end-stations transferring large amounts of data or to troubleshoot network issues and wrong configurations. In other words, it represents a sufficient level of detail to handle about 80% of network incidents, as Gartner has reported since 2012. However the level of detail contained in NetFlow data might not suffice for further troubleshooting, forensics or performance monitoring.

Leveraging flexible format IPFIX, specialized exporters are able to enrich NetFlow data fields with application layer information from packet payload to provide a deeper understanding of network traffic while maintaining aggregation rate of 250:1 or 0.4% to 0.5% of the bandwidth. This brings appropriate detail while retaining scalability, providing an insight into data communication, flexible reporting and effective troubleshooting of operational issues and the detection of security incidents. This approach enables to handle up to 95% of network incidents.

 
NetFlow gained traffic data
Data gained via NetFlow
 
IPFIX / NetFlow v10 gained traffic data
Data gained via ​​​​​​​IPFIX. In addition to the NetFlow stats, application data (Host Name, Average Round Trip Time and Average Server Response Time) are visible in column 9, 10 and 11.

NetFlow / IPFIX monitoring by Flowmon

Flowmon collects NetFlow/IPFIX from its dedicated proprietary network probes or your flow-enabled infrastructure components, processes it to gain deep insight for security, troubleshooting, UX monitoring, etc., and stores it for further analysis and reporting. All these use cases are available in physical, virtual, cloud, and hybrid environments for all networks regardless of their complexity and nature.

"Flowmon gives KBC with its Flow based Network Performance Monitoring tool a great overview of the dataflow metrics in the network so that the network health can be easily assessed. In case of an issue the tool allows very fast and efficient troubleshooting by visualize the traffic that is causing the problem."
KBC
Marc Daemen Senior System Engineer

Technical Reading: How to transform your network operations with flow data

Learn more about the technical background of Flowmon Enriched Flow Data technology, which enables you to resolve 95% of all troubleshooting cases. Together with on-demand packet capture, Flowmon is an all-in-one platform to successfully monitor and manage your network.

Check the transformation to flow whitepaper
Netflow transformation whitepaper

Flowmon’s proprietary IPFIX data fields support visibility into:

L2 L3/4 L7
MAC Standard Items NBAR2 SMB/CIFS
VLAN NPM Metrics (RTT, SRT, …) HTTP VoIP (SIP)
MPLS TTL, SYN size, … SNI E-mail
GRE tunnel ASN (BGP) DNS SQL
OTV Geolocation DHCP SSL/TLS

List of Flow standards
#list-of-flow-standards

NetFlow comes in many standards and proprietary forms, each varying in functionality and usability.
 
NetFlow v5 Original Cisco standard for flow monitoring supported by many routers and switches. Fixed format and set of attributes focusing on L3/L4 network information. Considered as obsolete now due to many limitations like missing IPv6 traffic information or no extensibility. Supported by many monitoring tools and applications.
NetFlow v9 Extended flow monitoring standard dealing with limitations of version 5. Provides IPv6 traffic monitoring, information from L2 like MAC addresses or VLAN tags. Details are covered in RFC 3954.
Flexible NetFlow A Cisco standard, similar to NetFlow version 9 with more flexibility on flow export configuration and customization on key fields (how packets are being aggregated to flows) and what information is being exported. Flexible NetFlow extends monitoring to L7 by technology NBAR2 (Network Based Application Recognition) which identifies application based on payload.
IPFIX (NetFlow v10) Independent international standard that enables vendors of flow-based monitoring tools like Flowmon Probe to define own protocol extensions to export literary any information from L2 to L7. Flowmon is a pioneer of this technology providing visibility into many application protocols since 2012 with continuous grow of supported protocol scope. This is crucial technology that enables to deliver unique network visibility without the need for continuous packet capture, integrate NetOps & SecOps into single platform and scale in a multi 100G environment. Specifications for IPFIX are covered by RFC 7011 through RFC 7015, and RFC 5103. In the Cisco environment, IPFIX is usually referred to as NetFlow v10. Standardized by IETF.
jFlow Juniper standard for flow monitoring available in both version v5 and v9. The main difference compared to NetFlow is that timestamps of exported flow data are preserved for the whole network session which needs a bit different handling on collector side. In general, this standard is compatible with NetFlow.
NetStream Huawei standard for flow monitoring available in both version 5 and 9. This standard is compatible with NetFlow.
cflow Alcatel-Lucent standard for flow monitoring available in both version 5 and 9. This standard is compatible with NetFlow however usually available only as sampled flow data.
NEL/NSEL over NetFlow NEL stands for Network Event Logging which refers to logs from network address translation. NSEL stands for Network Security Event Logging which refers to firewall logs produced by Cisco ASA. NetFlow v9 is used to transport these logs to the collector but this data cannot be considered as real NetFlow as information provided in NEL or NSEL does not able to reconstruct a real network traffic chart.
sFlow sFlow is an industry standard technology for monitoring high speed switched networks. In contrary to NetFlow this technology does not work with the concept of flow cache and aggregation of metadata extracted from packets to flows. Sampled packet headers are encoded to NetFlow-like format and exported to the collector. 
Due to heavy sampling rates (usually 1:1000) this data is not accurate enough to handle troubleshooting uses case or network-based anomaly detection. On the other hand, it is easy to produce such data so sFlow standard is supported by entry-level enterprise switches.
NetFlow Lite NetFlow Lite is Cisco version of sFlow with all pros and cons related to this technology.
FlowLogs FlowLogs is a new emerging technology provided by public cloud platforms to enable network traffic monitoring using flow-based approach. FlowLogs are usually provided via special APIs of particular cloud platform provides in CSV like or JSON format which needs conversion to traditional flow formats for collection and further processing on standard traffic monitoring platforms. In Amazon AWS this technology is referred to as VPC FlowLogs. In Microsoft Azure this technology is known as NSG FlowLogs.

Flow-enabled devices

Network equipment (routers/switches)
Cisco routers, switchesHP routers, switchesHuawei routers, switchesJuniper routers, switchesAlcatel routers, switchesExtreme routers, switches


Firewalls, UTMs, load balancers, hypervisors
Check Point Firewalls, UTMs, load balancers, hypervisorsPalo Alto Networks Firewalls, UTMs, load balancers, hypervisorsSonicWall Firewalls, UTMs, load balancers, hypervisorsVMware Firewalls, UTMs, load balancers, hypervisorsKemp load balancers


Packet brokers and matrix switches
IXIA Packet brokers and matrix switchesGigamon Packet brokers and matrix switchesCubro Packet brokers and matrix switches

Ready to see what Flowmon can do for you?