From owner-freebsd-questions@FreeBSD.ORG Tue Oct 26 18:04:21 2010 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 E184C1065675 for ; Tue, 26 Oct 2010 18:04:21 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id A59508FC13 for ; Tue, 26 Oct 2010 18:04:21 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id o9QI4JgK017679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 26 Oct 2010 13:04:19 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o9QI4J3o066430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 26 Oct 2010 13:04:19 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id o9QI4IUf066428; Tue, 26 Oct 2010 13:04:19 -0500 (CDT) (envelope-from dan) Date: Tue, 26 Oct 2010 13:04:18 -0500 From: Dan Nelson To: Joe Auty Message-ID: <20101026180418.GH5644@dan.emsphone.com> References: <4CC71554.4040308@netmusician.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CC71554.4040308@netmusician.org> X-OS: FreeBSD 8.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.3 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Tue, 26 Oct 2010 13:04:19 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: IP aliasing and Postfix 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, 26 Oct 2010 18:04:22 -0000 In the last episode (Oct 26), Joe Auty said: > Hello, > > I have a few IP aliases setup: > > em0: flags=8843 metric 0 mtu 1500 > options=9b > ether 00:0c:29:79:d5:66 > inet netmask 0xffffff80 broadcast > inet netmask 0xffffff80 broadcast > inet netmask 0xffffff80 broadcast > media: Ethernet autoselect (1000baseT ) > status: active I usually set up aliases with a /32 netmask, which seems to be a hint to the kernel that outgoing packets shouldn't use that IP. I then put the correct netmask on the "primary" ip. -- Dan Nelson dnelson@allantgroup.com