使用eBPF和SRv6进行灵活的故障检测和快速重新路由
Flexible failure detection and fast reroute using eBPF and SRv6
摘要:
分段路由是源路由的现代变体,网络运营商正在逐步部署。大型ISP将其用于流量工程和快速重新路由目的。它的IPv6数据平面(名为SRv6)超越了最初的MPLS数据平面,特别是通过启用网络可编程性。使用SRv6,可以在路由器和端主机上定义透明网络功能。这些功能被映射到IPv6地址,它们的执行由放置在转发的数据包中的段来调度。我们最近扩展了Linux SRv6实现,以便在接收到包含本地段的SRv6数据包时执行特定的eBPF代码。eBPF是Linux内核中包含的虚拟机。我们利用Linux 4.18的这一新功能,提出并实现了灵活的基于eBPF的快速重路由和故障检测方案。我们的实验室测量证实,它们提供了良好的性能,并且比Linux路由器和服务器上现有的BFD实现更快地进行故障检测。
英文摘要:
Segment Routing is a modern variant of source routing that is being gradually deployed by network operators. Large ISPs use it for traffic engineering and fast reroute purposes. Its IPv6 dataplane, named SRv6, goes beyond the initial MPLS dataplane, notably by enabling network programmability. With SRv6, it becomes possible to define transparent network functions on routers and endhosts. These functions are mapped to IPv6 addresses and their execution is scheduled by segments placed in the forwarded packets. We have recently extended the Linux SRv6 implementation to enable the execution of specific eBPF code upon reception of an SRv6 packet containing local segments. eBPF is a virtual machine that is included in the Linux kernel. We leverage this new feature of Linux 4.18 to propose and implement flexible eBPF-based fast-reroute and failure detection schemes. Our lab measurements confirm that they provide good performance and enable faster failure detections than existing BFD implementations on Linux routers and servers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。