From owner-freebsd-net@FreeBSD.ORG Sun Aug 24 20:10:45 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 684EFAFF for ; Sun, 24 Aug 2014 20:10:45 +0000 (UTC) Received: from mail-oa0-f43.google.com (mail-oa0-f43.google.com [209.85.219.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2C607304F for ; Sun, 24 Aug 2014 20:10:44 +0000 (UTC) Received: by mail-oa0-f43.google.com with SMTP id i7so10156952oag.2 for ; Sun, 24 Aug 2014 13:10:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :thread-index:content-language; bh=ZHXJtZA3sL8NPGc+bkNRndTXYlWal/SDgjTpkl7rQtw=; b=XLEtnEq6k7Z+auwTb160Nx1mh82i45NiOShCzQ9rDuPowd+M7IHjUd8gel/OpW2hCu +A7u2EdBJA7e+ugFsQWvWoyYm5SvQsapSDdz4yxXnrN37Q7+FbrMllbce9C3oQeAp1s8 f1p9t9UM5IjZq9wPuINWtpXK3q5t+PTVYLfKvbZrNjhs/EPdkCvFwZRTrR5xLc6/loI4 5kARD29YHL9ENSDHWr9nkC+m/7Pj55dNWr34xO6lAPmeWHB/RB8B2qgvyFjuKbzsxvHO hTbQFfUh6CFzfnmCKmnySR7Fjfk75jfYGPtkec+FieYKrlI96Zx/HVzOnFKoWMPHx7Wy cgpA== X-Gm-Message-State: ALoCoQkowHih7bGMYM58tNs8watvHaPeulrz9qIbAV5mcnACyBz2h3NDd28vjOEbl+eV1rc/B6K2 X-Received: by 10.182.18.101 with SMTP id v5mr3098945obd.64.1408911038491; Sun, 24 Aug 2014 13:10:38 -0700 (PDT) Received: from jimsnuc ([208.123.73.30]) by mx.google.com with ESMTPSA id q4sm101246242oif.19.2014.08.24.13.10.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 24 Aug 2014 13:10:38 -0700 (PDT) From: "Jim Thompson" To: , References: <754783310.20140824233738@serebryakov.spb.ru> In-Reply-To: <754783310.20140824233738@serebryakov.spb.ru> Subject: RE: Does anybody have set of scripts to support two uplink connections (with two ISPs) without AS and BGP? Date: Sun, 24 Aug 2014 13:10:36 -0700 Message-ID: <124301cfbfd7$78d51ca0$6a7f55e0$@netgate.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJbQ8Cn2TE8lRXEx0oAQmVHTixjc5rJJ1qA Content-Language: en-us X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2014 20:10:45 -0000 pfSense has a bunch of PHP scripts that do this. :-) -----Original Message----- From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd-net@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 _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"