On 2003-02-10 14:59, Matthew Jonkman <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to