From owner-freebsd-questions@FreeBSD.ORG Tue Aug 27 22:48:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D21F59F7 for ; Tue, 27 Aug 2013 22:48:31 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC3C028B5 for ; Tue, 27 Aug 2013 22:48:31 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id w10so5506343pde.9 for ; Tue, 27 Aug 2013 15:48:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=b60AYyK2JsCB0KTzrNwe6cF5E9wll9Qiufr84EJlFP8=; b=AVb5rX5yo7h96O6sJT5dhJ8Q01q7vrkNHaPLzYEGQG0h5rG8uxLk1DKDOr94UNDfCL fZKK5kVGsAFr/Dk3eiulBJaC7Gjli601dwWIZn5EQMcx1M6Dh7lLo/+1N0aIAUutrrME 02PlbL3IfRttjsku0XGlNWCmrpjbptt2gaOXtNznCGbm08MCcij8H6StyT+9jRktvnyf KlFmOtf4RkIeCfvP6omZOknCiEUBmCKRAM0wQ5vgqhtgv7EVUshBZcRIZYkstvDXXYBv 4eqQ0ewiKLYhLRKHzXEexX1VamDfhLv7pso1lB7m7De/QTnnoIqowg8bc2EyHNmc4dAp FekQ== X-Gm-Message-State: ALoCoQlkz5X8kZvbgweJTGr24ainsrEi8oSH+TNay1qepGx9DKeqJPV6a2pwWNkU2GePabg4mNdF MIME-Version: 1.0 X-Received: by 10.68.247.36 with SMTP id yb4mr8171736pbc.138.1377643375144; Tue, 27 Aug 2013 15:42:55 -0700 (PDT) Received: by 10.66.240.5 with HTTP; Tue, 27 Aug 2013 15:42:55 -0700 (PDT) In-Reply-To: References: Date: Tue, 27 Aug 2013 18:42:55 -0400 Message-ID: Subject: Re: Jail with public IP alias From: Alejandro Imass To: Patrick Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 22:48:31 -0000 On Tue, Aug 27, 2013 at 6:28 PM, Patrick wrote: > That's not the behaviour I see. My jail has a private and public IP. > Hi Patrick, thanks for your reply. The issue is actually more basic and it's because the same network card has multiple IPs on the same subnet so the routing table always chooses the primary IP assigned to that interface. I'm trying to figure out if I can fix it in the routing table or will need IPFW to re-write the source address. Thanks, -- Alejandro Imass