From owner-freebsd-stable Sun Mar 10 5:11:49 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtpzilla3.xs4all.nl (smtpzilla3.xs4all.nl [194.109.127.139]) by hub.freebsd.org (Postfix) with ESMTP id E5B0F37B404 for ; Sun, 10 Mar 2002 05:11:38 -0800 (PST) Received: from canyon.xs4all.nl (canyon.xs4all.nl [194.109.195.185]) by smtpzilla3.xs4all.nl (8.12.0/8.12.0) with ESMTP id g2ADBVRI095195; Sun, 10 Mar 2002 14:11:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by localhost.canyon.xs4all.nl (Postfix) with SMTP id BCCF7BA; Sun, 10 Mar 2002 14:11:30 +0100 (CET) Received: from meander.canyon.xs4all.nl (meander.canyon.xs4all.nl [192.168.1.5]) by canyon.xs4all.nl (Postfix) with ESMTP id 3739AB8; Sun, 10 Mar 2002 14:11:30 +0100 (CET) Date: Sun, 10 Mar 2002 14:12:02 +0100 Subject: Re: ifconfig alias does not work anymore with rl0? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: Henk Wevers , freebsd-stable@FreeBSD.ORG To: Chris Johnson From: Rene de Vries In-Reply-To: <20020310075141.A5324@palomine.net> Message-Id: <69646598-3428-11D6-A512-00039357FA7A@canyon.xs4all.nl> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.481) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The ioctl error message could also be ifconfig trying to update the routing table. If there is already a route for 10.10.1.0/24 this message will appear. e.g. # ifconfig rl0 inet 10.10.1.1 netmask 255.255.255.0 >>> adds a route for 10.10.1/24 via rl0 # ifconfig rl0 ient alias 10.10.1.10 netmask 255.255.255.0 ifconfig: ioctl..... # ifconfig rl0 inet alias 10.10.1.10 netmask 255.255.255.255 >>> should work. Rene On Sunday, March 10, 2002, at 01:51 , Chris Johnson wrote: > On Sun, Mar 10, 2002 at 01:43:39PM +0100, Henk Wevers wrote: >> I use 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Mar 8 09:34:29 CET 2002 >> Sinds two weeks >> # ifconfig rl0 inet alias 10.10.1.10 netmask 255.255.255.0 >> ifconfig: ioctl (SIOCAIFADDR): File exists >> making an ifconfig alias does noet work anymore > > Try: > > # ifconfig rl0 inet 10.10.1.10 netmask 255.255.255.0 alias > > just like the man page says. -- Rene de Vries TUNIX Internet Security & Training Wijchenseweg 111, 6538 SW Nijmegen, the Netherlands phone: +31-(0)24-3455000 / fax: +31-(0)24-3455001 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message