Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 14:12:02 +0100
From:      Rene de Vries <rene@canyon.xs4all.nl>
To:        Chris Johnson <cjohnson@palomine.net>
Cc:        Henk Wevers <henk@wevers.org>, freebsd-stable@FreeBSD.ORG
Subject:   Re: ifconfig alias does not work anymore with rl0?
Message-ID:  <69646598-3428-11D6-A512-00039357FA7A@canyon.xs4all.nl>
In-Reply-To: <20020310075141.A5324@palomine.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <rene@tunix.nl>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69646598-3428-11D6-A512-00039357FA7A>