netsane
$Date: 2004/05/16 14:56:04 $Netsane is a bash script to easily configure multipath routing under Linux, allowing the use of multiple gateway links, and affording some measure of equalization (not true load balancing) across these links. Netsane currently supports 2 gateway links.
Multipath routing under Linux is not without caveats -- see Julian Anastasov's excellent site and patches for additional information and enhancements, as well as Christoph Simon's notes on how to use more than one independent Internet connection.
Netsane is free software, released under the BSD License. You can download the latest release (v1.0).
features
Netsane hopes to make life a bit easier for the admin who has multiple links with disparate gateways and unusual routing needs by providing:- easily configured multipath routing, including equalized route cycling
- options to add blackhole/null routes
- options to bind specific destinations to specific routes
- options to mark specific traffic to use specific routes (via iptables)
caveats
Netsane CANNOT provide ANY form of redundancy NOR robust failover. It simply affords a relatively easy way to configure multipath routing.Netsane itself will NOT detect dead upstreams, and will failover routes only in cases of direct failure (e.g., the interface is marked as 'down')
Netsane will not play nice with old-style ipaliasing (e.g., eth0:1).
requirements
A modern generation Linux kernel (v2.4.0 or higher) with the following options enabled:- CONFIG_IP_ADVANCED_ROUTER
- CONFIG_IP_MULTIPLE_TABLES
- CONFIG_IP_ROUTE_MULTIPATH