From owner-freebsd-net@FreeBSD.ORG Thu Feb 16 14:56:50 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 7139A1065670 for ; Thu, 16 Feb 2012 14:56:50 +0000 (UTC) (envelope-from Bredehorn@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id 0DC288FC0C for ; Thu, 16 Feb 2012 14:56:49 +0000 (UTC) Received: (qmail 4217 invoked by uid 0); 16 Feb 2012 14:30:08 -0000 Received: from 93.159.253.120 by rms-de007.v300.gmx.net with HTTP Content-Type: text/plain; charset="utf-8" Date: Thu, 16 Feb 2012 15:30:07 +0100 From: "Rainer Bredehorn" Message-ID: <20120216143007.19060@gmx.net> MIME-Version: 1.0 To: "M. V." ,freebsd-net@freebsd.org X-Authenticated: #168415 X-Flags: 0001 X-Mailer: GMX.net Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: uHdPbxZmeSEqVr7yaXQh7R1+IGRvbwBd Cc: 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 14:56:50 -0000 > i have a problem with setting multiple IPs in the same network in FreeBSD: > > - 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 > Second address should be an alias address. ;-)