From owner-freebsd-net Sat Feb 15 20: 7:13 2003 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D45A837B401 for ; Sat, 15 Feb 2003 20:07:11 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21FD643F3F for ; Sat, 15 Feb 2003 20:07:06 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a098.otenet.gr [212.205.215.98]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h1G46xSe025193; Sun, 16 Feb 2003 06:07:04 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.7/8.12.7) with ESMTP id h1G46wU8001034; Sun, 16 Feb 2003 06:06:58 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.7/8.12.7/Submit) id h1G46fjN001033; Sun, 16 Feb 2003 06:06:41 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 16 Feb 2003 06:06:41 +0200 From: Giorgos Keramidas To: Matthew Jonkman Cc: freebsd-net@freebsd.org Subject: Re: 5.0-REL alias problem Message-ID: <20030216040641.GA566@gothmog.gr> References: <002f01c2d13e$fbeb6200$9c00000a@mattinfotex> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002f01c2d13e$fbeb6200$9c00000a@mattinfotex> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2003-02-10 14:59, Matthew Jonkman wrote: > I can't add more than one alias to an interface on a new install of > 5.0-rel. > > I have tried specifying every possible detail of the alias but no > change, just get this: > > ifconfig: ioctl (SIOCAIFADDR): File exists > > The first alias works fine, can't add more. Notable details: The aliases > are in the same subnet but trying aliases in other subnets has the same > effect. Hmmm, are you sure you're using the correct ifconfig params? # ifconfig lo0 127.0.0.2 netmask 255.255.255.255 alias # ifconfig lo0 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet 127.0.0.2 netmask 0xffffffff # ifconfig lo0 127.0.0.2 netmask 255.255.255.255 -alias # ifconfig lo0 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 # To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message