From owner-freebsd-net@FreeBSD.ORG Fri Dec 12 19:30:09 2008 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 112DA1065672 for ; Fri, 12 Dec 2008 19:30:09 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id BFEC88FC1B for ; Fri, 12 Dec 2008 19:30:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id A593241C679; Fri, 12 Dec 2008 20:30:05 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id GF54-Tae05mX; Fri, 12 Dec 2008 20:30:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 3C8D141C67E; Fri, 12 Dec 2008 20:30:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 193664448DD; Fri, 12 Dec 2008 19:25:58 +0000 (UTC) Date: Fri, 12 Dec 2008 19:25:57 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Vyacheslav Bocharov In-Reply-To: <566611296.20081212205648@gmail.com> Message-ID: <20081212192435.L97918@maildrop.int.zabbadoz.net> References: <80861bfa0812110629h70527769w5e29f9acd7d0a5cd@mail.gmail.com> <20081212181246.GG34842@funkthat.com> <566611296.20081212205648@gmail.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: Re[2]: strange problem with ifconfig alias 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: Fri, 12 Dec 2008 19:30:09 -0000 On Fri, 12 Dec 2008, Vyacheslav Bocharov wrote: Hi, >>> root@chip# ifconfig em1 alias 195.3.245.xx/30 >>> ifconfig: ioctl (SIOCAIFADDR): File exists > >> If there is already an ip in that range on the interface, you need to use: >> ifconfig em1 alias 195.3.245.xx/32 > There are no other ip on any interfaces in that range > >> Next time include ifconfig -a so we know what addresses and interfaces >> you have. Makes diagnostics easier. > I have included in mail: > > root@chip# ifconfig |grep 195.3.245. > root@chip# which freebsd version are you using? /bz PS: parameters like alias belong to the end of the command (but that won't help you; just the general advise). -- Bjoern A. Zeeb The greatest risk is not taking one.