From owner-freebsd-ipfw@FreeBSD.ORG Tue Sep 20 16:56:57 2005 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C61316A41F for ; Tue, 20 Sep 2005 16:56:57 +0000 (GMT) (envelope-from bsdt@roamingsolutions.net) Received: from basillia.speedxs.net (basillia.speedxs.net [83.98.255.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id A88E743D45 for ; Tue, 20 Sep 2005 16:56:56 +0000 (GMT) (envelope-from bsdt@roamingsolutions.net) Received: from ongers.net (ongers.speedxs.nl [83.98.237.210]) by basillia.speedxs.net (Postfix) with ESMTP id 4025D7035 for ; Tue, 20 Sep 2005 18:46:09 +0200 (CEST) Received: from (66.110.35.16 [66.110.35.16]) by MailEnable Inbound Mail Agent with ESMTP; Tue, 20 Sep 2005 19:01:28 +0200 Received: from 127.0.0.1 (AVG SMTP 7.0.344 [267.11.1]); Tue, 20 Sep 2005 18:56:59 +0200 Message-ID: <43303F5B.2050108@roamingsolutions.net> Date: Tue, 20 Sep 2005 18:56:59 +0200 From: G Bryant User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ipfw@freebsd.org References: <433009A6.9070705@roamingsolutions.net> <255492927.20050920184148@spaingsm.com> In-Reply-To: <255492927.20050920184148@spaingsm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: multiple incoming lines X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 16:56:57 -0000 Thanks for the help. I am trying to do load-balancing using 2 ISP's. Mostly traffic from the LAN. I will look at possible routing, but don't see how I can manipulate outgoing packets to split the outgoing load between the two external NIC's. Anybody done this before? Thanks Gray vladone wrote: >U have (for set 2) this rules to divert packets that outgoing: >$cmd 10050 set 2 divert natd2 ip from any to any out via $ext_if1 >$cmd 10050 set 2 divert natd2 ip from any to any out via $ext_if2 >I dont understand what u want to do? >This rules translate all adress that outgoing throught $ext_if1 and >$ext_if2 with address indicated by natd2. Divert and route is two >thinks completly different. > If u want to route packets to different >outgoing interfaces, need to use different routes. (man route). > If u want to outgoing packets with different addresses, but same >interface, need to use divert (and need to put alias for external >interface with addresses that u need). > If u want to make so named load balancing, when use to lines for >incoming trafic that sumarize bandwidth then is more complicated. > >_______________________________________________ >freebsd-ipfw@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw >To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org" > > > > >