SRv6 and IPFIX working togheter

SRv6 and IPFIX working togheter


Combining SRv6 and IPFIX netflow can be a successful strategy to create a monitoring and analytics tool for your network. Using a combination of both?you?can build a full view of the flow?as well as?of the SRv6 on top?which?is steering traffic.

The RFC 9487 defines the information elements for IP Flow Information Export (IPFIX) to support IPv6 Segment Routing (SRv6) deployments. Here are the highlighted records that you can use to monitor traffic flows and relevant information:

1. SRv6-specific Information Elements:

  1. srIPv6SegmentEndpoint: This information element represents the SRv6 Segment Endpoint behavior. It indicates the IPv6 address of the SRv6 segment endpoint.
  2. srIPv6SegmentRoutingHeader: This element represents the entire Segment Routing header of the IPv6 packet. It includes all the relevant fields of the SRH (Segment Routing Header), allowing you to extract detailed information about SRv6 paths.
  3. srIPv6SegmentRoutingHeaderLastEntry: This element represents the last entry of the Segment Routing header in an IPv6 packet. It allows you to specifically access the last SRv6 SID (Segment ID) in the SRH.

2. Generic IPFIX Information Elements:

  1. sourceIPv6Address and destinationIPv6Address: These standard IPFIX elements represent the source and destination IPv6 addresses of the traffic flows. They are crucial for identifying the endpoints involved in IPv6 traffic.
  2. sourceTransportPort and destinationTransportPort: These elements represent the source and destination transport layer ports (e.g., TCP or UDP ports) in the traffic flows. They help in identifying the specific application or service using these ports.
  3. packetDeltaCount and octetDeltaCount: These elements represent the packet count and byte count for each flow. They are essential for monitoring traffic volume and throughput.
  4. flowStartMilliseconds and flowEndMilliseconds: These elements represent the start and end timestamps of the flow, measured in milliseconds. They help in tracking flow durations and analyzing temporal patterns in traffic.

By leveraging these IPFIX information elements, especially the SRv6-specific elements introduced in RFC 9487, you can effectively monitor IPv6 traffic flows in SRv6-enabled networks. This monitoring includes extracting SRv6-specific information such as Segment Endpoint addresses, Segment Routing headers, and path details, along with standard traffic flow metrics for comprehensive network visibility and analysis.

?

Pavel Odintsov

On mission to deliver affordable DDoS protection

11 个月

SRv6 deployment is a good reason to overview set of fields in IPFIX and add missing pieces!

Daniel Voyer

Principal at Cisco Systems

11 个月

Yes, great to hear(or read) !!!

Thomas Graf

Distinguished Network Engineer and Network Analytics Architect at Swisscom

11 个月

Thanks for posting. Happy to hear that you find it useful.

Juan Pablo Solano Bacarreza

Service Provider Architect @ Cisco | Forever Learner

11 个月

It’s definitely is!

要查看或添加评论,请登录

Giovanni Iavarone的更多文章

  • Rendering by Jinja2

    Rendering by Jinja2

    Jinja2 is a powerful templating engine for Python, widely used in network automation to generate configuration files…

  • Yaml: a begginers's guide

    Yaml: a begginers's guide

    YAML (YAML Ain’t Markup Language) is a human-readable data serialization format often used for configuration files and…

  • Against the Syn Flood attack

    Against the Syn Flood attack

    One of the most common DoS (Denial of Service) attacks is TCP SYN flooding. In this attack, the hacker sends an initial…

  • Understanding Layer 3 DDoS Attacks: SYN Flood, Smurf Attack, and ICMP Flooding

    Understanding Layer 3 DDoS Attacks: SYN Flood, Smurf Attack, and ICMP Flooding

    Layer 3 Distributed Denial of Service (DDoS) attacks are a serious threat to network infrastructure, exploiting…

  • BGP timers and convergence

    BGP timers and convergence

    This post will explore the process of BGP convergence and its interaction with IGP to achieve network convergence. In…

  • RFC 7381, starting IPv6 for Enterprise

    RFC 7381, starting IPv6 for Enterprise

    Understanding RFC 7381: Enterprise IPv6 Deployment Guidelines Introduction The adoption of IPv6 is a crucial step for…

  • Security aspects of SRv6

    Security aspects of SRv6

    This is my first article about SRv6 security. I must admit that the study is not simple but very vast.

    1 条评论
  • IPv6 SLAAC and RFC 4941: Enhancing Network Efficiency and Privacy

    IPv6 SLAAC and RFC 4941: Enhancing Network Efficiency and Privacy

    Introduction to IPv6 and SLAAC The Internet Protocol version 6 (IPv6) was developed to replace the older IPv4 due to…

  • Network topology

    Network topology

    I often discuss the best network architectures for data centers or ISP environments. The answer is always "It depends!"…

  • RFC 5549 and BGP dynamic Neighbor for full IPv6 fabric

    RFC 5549 and BGP dynamic Neighbor for full IPv6 fabric

    In the previous article I talked about the possibility of creating a data center with only IPv6. BGP dynamic neighbor…

    2 条评论

社区洞察

其他会员也浏览了