Diagnosing and Repairing Distributed Routing Configurations Using Selective Symbolic Simulation
Rulan Yang, Gao Han, Hanyang Shao, Xiaoqiang Zheng, Xing Fang, Ziyi Wang, Lizhao You, Ruiting Zhou, Linghe Kong, Ennan Zhai, Qiao Xiang, Jiwu Shu
Abstract
Although substantial progress has been made in automatically verifying whether distributed routing configurations comply with certain intents, diagnosing and repairing configuration errors remains manual and time-consuming. To fill this gap, we propose S 2 Sim, a novel system for automatic routing configuration diagnosis and repair. Our key insight is that by deriving a set of contracts that guarantees an intent-compliant variant of the erroneous configuration, we can systematically check for all contract violations in the configuration via symbolic simulation to pinpoint and repair the errors. S 2 Sim also introduces a series of extensions to support complex configurations (e.g., ACL, route aggregation and multi-path routing), networks (e.g., underlay and overlay networks), and intents (e.g., k-link failure tolerance). We fully implement S 2 Sim and evaluate its performance using real configurations from two major providers and synthesized configurations composed from their real errors and real-world topologies with different scales O(10) to O(1000). Results show that S 2 Sim accurately and efficiently diagnoses and repairs real configuration errors (i.e., up to 20 seconds in real networks of O(100) nodes and up to 15 minutes in synthesized networks of O(1000) nodes). F's configuration snippet 1 ip as-path al1 permit C 2 ! 3 route-map setLP permit 10 4 match as-path al1 5 set local-preference 200 6 ! 7 route-map setLP permit 20 8 set local-preference 80 9 ! 10 bgp F 11 neighbor A route-map setLP in 12 neighbor E route-map setLP in 13 ! Intents: (1) All routers can reach p (2) A must waypoint C (3) F must avoid B Forwarding path D C E B A F p C's configuration snippet 1 ip prefix-list pl1 seq 5 permit p 2 ! 3 route-map filter deny 10 4 match ip address prefix-list pl1 5 ! 6 route-map filter permit 20 7 ! 8 bgp C 9 neighbor B route-map filter out 10 !
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5223c0fc-5976-45da-9ade-d358ffe1656eBuilds on16
- Tiramisu: Fast Multilayer Network VerificationAnubhavnidhi Abhashkumar, Aaron Gember-Jacobson, Aditya AkellaNSDI 2020 · 146 citations
- Contra: A Programmable System for Performance-aware RoutingKuo-Feng Hsu, Ryan Beckett, Ang Chen, Jennifer Rexford et al.NSDI 2020 · 104 citations
- Accuracy, Scalability, Coverage: A Practical Configuration Verifier on a Global WANFangdan Ye, Da Yu, Ennan Zhai, Hongqiang Harry Liu et al.SIGCOMM 2020 · 55 citations
- Finding Network Misconfigurations by Automatic Template InferenceSiva Kesava Reddy K., Alan Tang, Ryan Beckett, Karthick Jayaraman et al.NSDI 2020 · 53 citations
- Abstract interpretation of distributed network control planesRyan Beckett, Aarti Gupta, Ratul Mahajan, David WalkerPOPL 2020 · 46 citations
Related papers
- Expresso: Comprehensively Reasoning About External Routes Using Symbolic SimulationDan Wang, Peng Zhang, Aaron Gember-JacobsonSIGCOMM 2024 · 7 citations
- Campion: debugging router configuration differencesAlan Tang, Siva Kesava Reddy Kakarla, Ryan Beckett, Ennan Zhai et al.SIGCOMM 2021 · 37 citations
- S2: A Distributed Configuration Verifier for Hyper-Scale NetworksDan Wang, Peng Zhang, Wenbing Sun, Wenkai Li et al.SIGCOMM 2025 · 3 citations
- A General and Efficient Approach to Verifying Traffic Load Properties under Arbitrary k FailuresRuihan Li, Yifei Yuan, Fangdan Ye, Mengqi Liu et al.SIGCOMM 2024 · 10 citations
- MESSI: Behavioral Testing of BGP ImplementationsRathin Singha, Rajdeep Mondal, Ryan Beckett, Siva Kesava Reddy Kakarla et al.NSDI 2024 · 8 citations
