Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2002 17:36:31 -0700 (PDT)
From:      "Joe T." <auximini@yahoo.com>
To:        freebsd-net@freebsd.org
Subject:   problems with ifconfig aliases
Message-ID:  <20020607003631.46478.qmail@web10105.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi,

Originally, I had created some aliases with the following command:

# ifconfig dc0 alias 192.168.1.111 255.255.255.255
# ifconfig dc0 alias 192.168.1.112 255.255.255.255
...

This worked fine.. i was able to use the aliases for various projects I was playing with.
When I was done, I took the aliases out:

# ifconfig dc0 -alias 192.168.1.111 255.255.255.255
...

Now, whever I try re-creating those aliases (or any different ones for that matter) I
get:

# ifconfig dc0 alias 192.168.1.111 255.255.255.255
ifconfig: ioctl (SIOCAIFADDR): File exists
# ifconfig dc0 alias 192.168.1.2 255.255.255.255  <-- never used before
ifconfig: ioctl (SIOCAIFADDR): File exists

What happened here? What did I do wrong? How can I fix it?

Any help is appreciated
Thanks,
Joe

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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?20020607003631.46478.qmail>