From owner-freebsd-net@FreeBSD.ORG Fri Dec 12 22:43:45 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 69D9D106564A for ; Fri, 12 Dec 2008 22:43:45 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 452858FC14 for ; Fri, 12 Dec 2008 22:43:44 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (61j03ey6j16sbzjd@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id mBCMhifW067351; Fri, 12 Dec 2008 14:43:44 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id mBCMhiOQ067350; Fri, 12 Dec 2008 14:43:44 -0800 (PST) (envelope-from jmg) Date: Fri, 12 Dec 2008 14:43:44 -0800 From: John-Mark Gurney To: Vyacheslav Bocharov Message-ID: <20081212224343.GH34842@funkthat.com> Mail-Followup-To: Vyacheslav Bocharov , freebsd-net@freebsd.org References: <80861bfa0812110629h70527769w5e29f9acd7d0a5cd@mail.gmail.com> <20081212181246.GG34842@funkthat.com> <566611296.20081212205648@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <566611296.20081212205648@gmail.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (hydrogen.funkthat.com [127.0.0.1]); Fri, 12 Dec 2008 14:43:44 -0800 (PST) Cc: freebsd-net@freebsd.org Subject: Re: 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 22:43:45 -0000 Vyacheslav Bocharov wrote this message on Fri, Dec 12, 2008 at 20:56 +0200: > >> 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# This is not ifconfig -a. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."