Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 13:54:03 +0100
From:      Henk Wevers <Henk@wevers.org>
To:        patrick <patrick@barmentlo.nl>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: ifconfig alias  (SOLVED)
Message-ID:  <3C8B576B.20601@wevers.org>
References:  <20020310134632.H43886-100000@dsl.barmentlo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This works thanks!

patrick wrote:

> On Sun, 10 Mar 2002, Henk Wevers wrote:
> 
> 
>>Hi,
>>
>>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
>>
>>Maybe a bug?
>>
> 
> no, a change in ifconfig;
> 
> man ifconfig:
> 
>      alias   Establish an additional network address for this interface.  This
>              is sometimes useful when changing network numbers, and one wishes
>              to accept packets addressed to the old interface.  If the address
>              is on the same subnet as the first network address for this
>              interface, a netmask of 0xffffffff has to be specified.
> 
> 
> change the alias subnetmast to 255.255.255.255 and it will work.
> 
> Just ran into it a few days ago.
> 
> Grtz
> patrick
> 
> 
> 



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?3C8B576B.20601>