pfSense has a bunch of PHP scripts that do this.  :-)

-----Original Message-----
From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd-...@freebsd.org]
On Behalf Of Lev Serebryakov
Sent: Sunday, August 24, 2014 12:38 PM
To: freebsd-net@freebsd.org
Subject: Does anybody have set of scripts to support two uplink connections
(with two ISPs) without AS and BGP?

Hello, Freebsd-net.

 Typical task: two "home-grade" ISPs, one router. Need to monitor both
channels, switch default route, balance outgoing traffic, manage ipfw
firewall, etc.

 For Linux here is Net::ISP::Balance
 (http://lstein.github.io/Net-ISP-Balance/) and LSM as part of it
(http://lsm.foobar.fi/download/), but they are very Linux-specific.

 Maybe, somebody have good set of such scripts?

 Looks like /sbin/dhclient-script should be rewritten too, for example,
because standard one uses "default interface" detection which fails in race
condition of two ISPs (both uses DHCP!), for example.

--
// Black Lion AKA Lev Serebryakov <l...@freebsd.org>

_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to