On Tue, 2011-12-20 at 15:14 +0000, David Hough wrote: > Nice that the list is coming back to life, I find myself needing to do > some controlling of routes. > > Many years ago there was a Perl script called routeskeeper that provided a > workable load-sharing mechanism for multiple internet feeds. I've used > this for many years but now (due to impending hardware failures) I'm > looking at using a smaller PC. I know the script and maintainer vanished > some time back, and I'd prefer to use something that can be booted quickly > from a USB stick with a minimal Linux image. > > Before I try to remember how to play games with iproute2 and iptables and > write my own, does anyone know if there's a modern equivalent to the old > routeskeeper script, ideally without needing to install a load of Perl? I'd not come across routeskeeper, but if you need to roll your own instead, then you may find the following set of scripts useful: http://andybev.com/index.php/PortalShaper It's a bunch of iptables and iproute2 rules that load share, amongst other things. You should be able to just pull out what you need. I'm currently working on the addition of LSM to monitor the status of external links. Failing that, I found the following as quite a good tutorial: http://www.sysresccd.org/Sysresccd-Networking-EN-Iptables-and-netfilter-load-balancing-using-connmark Andy -- To unsubscribe from this list: send the line "unsubscribe lartc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html