Batfish
batfish.org
- Free plan
- Windows
- macOS
- Linux
- API
- Self-hosted
What Batfish is
Batfish is an open-source tool that analyzes network device configurations for policy violations and expected behavior. It can examine deployed configurations and validate proposed changes before deployment without direct access to network devices. Checks cover undefined references, MTU and AAA settings, and compliance with configuration templates. Security analysis can restrict sensitive services to specified subnets or devices and verify expected traffic paths. Batfish can test end-to-end reachability after any single-link or single-device failure, including whether services such as DNS remain globally reachable. It compares reachability between current and planned configurations, evaluates ACL or firewall changes, and checks functional equivalence across vendors. Pybatfish provides a Python 3 SDK, with example Jupyter notebooks and an all-in-one Docker container. It runs wherever Docker is supported; containers are actively tested on Mac OS X and Ubuntu 16.04 LTS. Documented device support includes Arista, AWS, Azure, Cisco, Juniper, Palo Alto Networks and others, while Aruba, Dell Force10 and Foundry have limited support.
Who it suits
Batfish suits network engineers and teams validating configuration changes, security policies and failure behavior. It is also useful for Python-based workflows, Docker deployments and multi-vendor environments.
Good to know, and what to watch
- Validates planned changes before deployment
- Analyzes configurations without direct device access
- Checks reachability after single-link or device failures
- Provides a Python 3 SDK
- Runs in Docker-supported operating systems
- Aruba, Dell Force10 and Foundry support is limited
- Requires network device configuration files
- Container testing lists Mac OS X and Ubuntu 16.04 LTS
- Users rely on Slack or GitHub for support
The verdict
Batfish offers configuration-based policy, security, reliability and change analysis for networks. Its Docker, Python and notebook options support automation, but device coverage should be checked for limited platforms.
What the maker publishes
- Change analysis
- Batfish can compare current and planned reachability, assess ACL or firewall changes, and test functional equivalence between configurations from different vendors. source
- Change comparisons
- Batfish can compare reachability across current and planned configurations and assess functional equivalence between configurations from different vendors. source
- Change validation
- Batfish can validate planned configuration changes before deployment and deployed configurations as well. source
- Community support
- The project directs users with questions or feature requests to its Slack community or GitHub. source
- Configuration checks
- Checks include undefined references, settings such as MTU and AAA, and whether devices meet specified configuration templates. source
- Deployment
- The project provides an all-in-one Docker container that includes Batfish and example Jupyter notebooks. source
- Device access
- Core analysis requires network device configurations and does not require direct access to network devices. source
- Failure analysis
- Batfish can check whether end-to-end reachability is preserved after any single-link or single-device failure. source
- Integrations
- Pybatfish is a Python 3 SDK for interacting with the Batfish service, and the project also provides example Jupyter notebooks. source
- Integrations
- The maker documents Ansible modules for extracting and validating configuration facts and asserting network behavior in playbooks. source
- License
- The Batfish repository includes an Apache License 2.0 license. source
- License
- Batfish is released under the Apache Software License, Version 2.0. source
- Operating systems
- Batfish can run on any operating system that supports Docker; its containers are actively tested on Mac OS X and Ubuntu 16.04 LTS. source
- Pre-deployment checks
- Batfish can validate configuration changes before deployment to help ensure only correct changes are deployed. source
- Purpose
- Batfish analyzes network device configurations to find policy violations and validate network behavior. source
- Python client
- Pybatfish is a Python SDK for interacting with the Batfish service. source
- Reliability analysis
- Batfish can check reachability after single-link or single-device failures and whether services such as DNS are globally reachable. source
- Security analysis
- Checks can verify that sensitive services are reachable only from specified subnets or devices and that traffic follows expected paths. source
- Security checks
- Supported checks include verifying that sensitive services are reachable only from specified subnets or devices. source
- Support
- The maker directs users with questions or feature requests to its Slack community or GitHub repository. source
- Supported configurations
- Documented support includes Arista, AWS, Azure, Cisco, Juniper, Palo Alto Networks, and other network platforms; Aruba, Dell Force10, and Foundry have limited support. source
- Supported devices
- Supported configurations include vendors and platforms such as Arista, AWS constructs, Cisco, Juniper, Palo Alto Networks, and SONiC. source
- Supported environments
- Batfish can run on operating systems that support Docker; its containers are actively tested on Mac OS X and Ubuntu 16.04 LTS. source
- Support limitation
- Batfish has limited support for Aruba, Dell Force10, and Foundry platforms. source
Checked against the maker's pages on 5 Oct 2026.