From owner-freebsd-net@FreeBSD.ORG Fri Oct 28 23:43:15 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40B25106566C for ; Fri, 28 Oct 2011 23:43:15 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 1403C8FC1C for ; Fri, 28 Oct 2011 23:43:14 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p9SNhC4N073241 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 28 Oct 2011 16:43:13 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4EAB3E0C.3020203@freebsd.org> Date: Fri, 28 Oct 2011 16:43:08 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15 MIME-Version: 1.0 To: "nyoman.bogi@gmail.com" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: multiple ISP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2011 23:43:15 -0000 On 10/28/11 7:22 AM, nyoman.bogi@gmail.com wrote: > dear all, > > I need to set up a router (using FreeBSD) > that connect to the Internet > to accomodate multiple ISP, > so users can be load balanced through > those several ISP lines. > > how can I do that? Is it ok for you to NAT the connecitons? You pretty much have to unless you can convince your ISPs to call you a peer (unlikely). Basically NAT both outgoing interfaces (see descriptions elsewhere on how to run natd on two interfaces), and then use the setfib rule in ipfw to select which routing table to use for each session and then set up the tables to use different outgoing interfaces. you could also use the 'fwd' ipfw rule instead of the setfib rule. > thanks in advance > > ------------------------------- > Bogi Aditya > Sisfo - IMTelkom > http://bogi.blog.imtelkom.ac.id > _______________________________________________ > 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" >