From owner-freebsd-questions@FreeBSD.ORG Tue Jun 21 22:33:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08C421065759 for ; Tue, 21 Jun 2011 22:33:24 +0000 (UTC) (envelope-from nino80@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id D167B8FC18 for ; Tue, 21 Jun 2011 22:33:23 +0000 (UTC) Received: by pvg11 with SMTP id 11so202734pvg.13 for ; Tue, 21 Jun 2011 15:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=O8IDmgE7IDa0It1GONQvZWrMJQsiNlgRt8MWTUqd3E8=; b=VTztTMt0bAkJ0modFgzLC8EMLjB0+ckrjnQXg22jqa6WgmX1rZ0oTrsVBeRpmE9mbT txfbQ2s9R3P9VsGfAy+j03wOVmeuTUHnXApWi9z+mvbFf0xPGalBDRrDN2drb7aJpeg7 d2cwYPMecummspeJp/g5DMwWSZJM0AGUqx7JU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=soxBFljc/4sDdXsZoWk0uAfUJJLZGTw95dWdPTxSk4ouq0+FL9SJXH82u0hCnLsSMv Pt9VgHKu2K7QT2gAVX3dBm4LSjAj5lU2WJJwlJG8EDeB5NV4O8qhe2jlKKk42IIEwEYP db0K46no0j+8dDY07lI1RXHxhBNRAaFdkdDZk= Received: by 10.142.151.2 with SMTP id y2mr681104wfd.222.1308693793102; Tue, 21 Jun 2011 15:03:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.218.14 with HTTP; Tue, 21 Jun 2011 15:02:53 -0700 (PDT) In-Reply-To: <4E00D47D.9040603@dichotomia.fr> References: <201106202107.p5KL7PW0091851@x.it.okstate.edu> <4DFFC61B.2080201@radel.com> <27899_1308609017_4DFFC9F9_27899_767_1_D9B37353831173459FDAA836D3B43499BF89C588@WADPMBXV0.waddell.com> <4DFFD0A7.8010806@radel.com> <4DFFE6B9.2020107@dichotomia.fr> <4E00756B.5050805@my.gd> <4E00C720.5010701@dichotomia.fr> <4E00CAA4.7080008@my.gd> <4E00D47D.9040603@dichotomia.fr> From: n j Date: Wed, 22 Jun 2011 00:02:53 +0200 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Two Networks on one System 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, 21 Jun 2011 22:33:24 -0000 I can't really say I understand the exact problem the OP has, but if it's anything similar to asymmetrical/source-based routing problems I was having some time ago, pf and reply-to is probably the best way to do it. However, I'd also like to point out setfib(1), as it seems no-one has brought it up yet, though there were statements like "there can be only one default gw". I was actually quite disappointed with lack of proper solution for this problem on FreeBSD as it is so simple to set up on Linux. Regards, -- Nino