From owner-freebsd-net@FreeBSD.ORG Thu Feb 16 15:12:21 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 1C2EC1065698 for ; Thu, 16 Feb 2012 15:12:21 +0000 (UTC) (envelope-from aboyer@averesystems.com) Received: from zimbra.averesystems.com (75-149-8-245-Pennsylvania.hfc.comcastbusiness.net [75.149.8.245]) by mx1.freebsd.org (Postfix) with ESMTP id DD6BC8FC19 for ; Thu, 16 Feb 2012 15:12:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.averesystems.com (Postfix) with ESMTP id B1C82446007; Thu, 16 Feb 2012 10:14:45 -0500 (EST) X-Virus-Scanned: amavisd-new at averesystems.com Received: from zimbra.averesystems.com ([127.0.0.1]) by localhost (zimbra.averesystems.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hDwEQzOiEKuy; Thu, 16 Feb 2012 10:14:39 -0500 (EST) Received: from riven.arriad.com (fw.arriad.com [10.0.0.16]) by zimbra.averesystems.com (Postfix) with ESMTPSA id 0EF72446002; Thu, 16 Feb 2012 10:14:39 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Andrew Boyer In-Reply-To: <20120216143007.19060@gmx.net> Date: Thu, 16 Feb 2012 10:12:14 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <0E8A08EB-1F62-420C-9B38-826B99038F6F@averesystems.com> References: <20120216143007.19060@gmx.net> To: Rainer Bredehorn X-Mailer: Apple Mail (2.1084) Cc: freebsd-net@freebsd.org, "M. V." Subject: Re: Assigning multiple IPs in the same network to an interface 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: Thu, 16 Feb 2012 15:12:21 -0000 On Feb 16, 2012, at 9:30 AM, Rainer Bredehorn wrote: >> i have a problem with setting multiple IPs in the same network in = FreeBSD: >>=20 >> - suppose I assign two new IP addresses in the same network to eth0 = with ifconfig: >> #ifconfig eth0 add 192.168.10.1/24 >> #ifconfig eth0 add 192.168.10.2/24 >>=20 > Second address should be an alias address. >=20 > ;-) >=20 'ifconfig add' and 'ifconfig alias' are the same thing. -Andrew -------------------------------------------------- Andrew Boyer aboyer@averesystems.com