Date: Sun, 16 Feb 2003 06:06:41 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Matthew Jonkman <matt@infotex.ws> Cc: freebsd-net@freebsd.org Subject: Re: 5.0-REL alias problem Message-ID: <20030216040641.GA566@gothmog.gr> In-Reply-To: <002f01c2d13e$fbeb6200$9c00000a@mattinfotex> References: <002f01c2d13e$fbeb6200$9c00000a@mattinfotex>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-02-10 14:59, Matthew Jonkman <matt@infotex.ws> 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<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030216040641.GA566>
