From owner-freebsd-net@FreeBSD.ORG Fri Sep 21 05:22:30 2012 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 A4E45106564A for ; Fri, 21 Sep 2012 05:22:30 +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 764078FC0A for ; Fri, 21 Sep 2012 05:22:30 +0000 (UTC) Received: from JRE-MBP-2.local (c-50-143-149-8.hsd1.ca.comcast.net [50.143.149.8]) (authenticated bits=0) by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id q8L5MFpD005423 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 20 Sep 2012 22:22:19 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <505BF987.5020602@freebsd.org> Date: Thu, 20 Sep 2012 22:22:15 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Juan_Jos=E9_S=E1nchez_Mesa?= References: <505B2555.40704@doblej.net> In-Reply-To: <505B2555.40704@doblej.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org Subject: Re: Multiroute question 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, 21 Sep 2012 05:22:30 -0000 On 9/20/12 7:16 AM, Juan José Sánchez Mesa wrote: > Hi! > > (sorry for my bad english) > > I have a FreeBSD machine (8.2-RELEASE-p3). The machine has two > ethernet cards, configured in this way: > > - Card A: internet IP address > - Card B: intranet IP address > > Default route goes via card A. > > Now, on the intranet I have a "normal" DSL router. Then, using NAT > i've forewarded a simple port from the DSL to the intranet IP of > this machine. I do not understand this line please draw pictures :-) internet ---DSL ----DLSROUTER------A[FreeBSD]B------inside net.. is this what you mean? > > The incoming packets from the DSL comes ok to the machine (via card > B), but the outgoing packet goes to card A, due to the default route. > > There is a way to configure the network so that outgoing packets > goes to the card from where the incoming packets was arrived ? > > Or is this impossible to configure ? > > Thanks!!! > > _______________________________________________ > 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" > >