From owner-freebsd-questions@FreeBSD.ORG Tue Sep 5 03:33:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 296B316A4DD for ; Tue, 5 Sep 2006 03:33:44 +0000 (UTC) (envelope-from subhro.kar@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EDDF43D45 for ; Tue, 5 Sep 2006 03:33:43 +0000 (GMT) (envelope-from subhro.kar@gmail.com) Received: by nf-out-0910.google.com with SMTP id l35so1254428nfa for ; Mon, 04 Sep 2006 20:33:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cA0FmFGdk9Th5/dvB0bK177Yi0ojQoJiQx0A58i1FpJJ4pCCurxhPiz2HnpfTQTzWsk27vjliEQBvaf65M4smenk4dpPtv8ITjtfogVsF/WWEpysq9o7jsREVR54rmFbvNHjjTqc+qRKjlqw05AAo+qx1R0E+3bCG1/+l2ZA9hw= Received: by 10.48.210.20 with SMTP id i20mr7310697nfg; Mon, 04 Sep 2006 20:33:41 -0700 (PDT) Received: by 10.49.60.11 with HTTP; Mon, 4 Sep 2006 20:33:41 -0700 (PDT) Message-ID: Date: Tue, 5 Sep 2006 09:03:41 +0530 From: Subhro To: Bob In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: FreeBSD Questions Subject: Re: load balancing nat X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2006 03:33:44 -0000 Hello Bob, Thanks for taking the time to answer. I would post a diagram as requested. To ISP | (ext_if) -------------- | | | FBSD | |________| (int1_if) | | (int2_if) | | ------------- ----------------- | | ---------------- --------------- | | | | | LAN 1 | | LAN 2 | | ________ | |________ | As shown above, int1_if = 192.168.0.0/24 and int2_if = 10.0.0.0/24 The FreeBSD box needs to route the packes from both the networks to the ISP with equal priority. Thanks and Best Regards Subhro On 9/5/06, Bob wrote: > How about posting a diagram of the cable wiring of your network, > then maybe we have a starting point to work on your problem. > > Chances this has nothing to do with NAT as source of problem. > > > > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Subhro > Sent: Monday, September 04, 2006 5:04 PM > To: FreeBSD Questions > Subject: load balancing nat > > Hello folks, > > I have a strange problem on hand. I have got two internal LANs and one > ISP link. I am trying to share the link between the two internal LANs > and do a load balancing between the two. The rules I am using are: > > nat on $ext_if from { $int1_if:network, $int2_if:network } to any -> > $ext_if round-robin > > where $int1_if, $int2_if are two internal interfaces and $ext_if is > the external interface. > > However my observation is systems using $int_2 as gateway loose > connectivity randomly. Also the TTL values for the pings to the > gateway change to 150 from 64 as soon as the system looses > connectivity. > > The systems in the LAN are all windows xp boxes. > > Could anyone please tell me where I am going wrong? > > Thanks and Best Regards > Subhro > > -- > Subhro Kar > Security Engineer > iViZ Techno Solutions Pvt. Ltd. > Dhanshree Bldg, 1st Floor > Plot XI-16, Sector V > Salt Lake City > 700091 > India > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- Subhro Kar Security Engineer iViZ Techno Solutions Pvt. Ltd. Dhanshree Bldg, 1st Floor Plot XI-16, Sector V Salt Lake City 700091 India