Skip site navigation (1)Skip section navigation (2)
Date:      07 Jun 2002 13:01:29 +0400
From:      "Vladimir B. " Grebenschikov <vova@sw.ru>
To:        "Joe T." <auximini@yahoo.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: problems with ifconfig aliases
Message-ID:  <1023440489.531.15.camel@vbook.express.ru>
In-Reply-To: <20020607003631.46478.qmail@web10105.mail.yahoo.com>
References:  <20020607003631.46478.qmail@web10105.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=F7 Fri, 07.06.2002, =D7 04:36, Joe T. =CE=C1=D0=C9=D3=C1=CC:
> Hi,
>=20
> Originally, I had created some aliases with the following command:
>=20
> # ifconfig dc0 alias 192.168.1.111 255.255.255.255
> # ifconfig dc0 alias 192.168.1.112 255.255.255.255
> ...
>=20
> This worked fine.. i was able to use the aliases for various projects I w=
as playing with.
> When I was done, I took the aliases out:
>=20
> # ifconfig dc0 -alias 192.168.1.111 255.255.255.255
> ...
>=20
> Now, whever I try re-creating those aliases (or any different ones for th=
at matter) I
> get:
>=20
> # 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
>=20
> What happened here? What did I do wrong? How can I fix it?

Check you routing table you have host routes for theses addresses in it,
remove these routes before.

> Any help is appreciated
> Thanks,
> Joe
>=20
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
>=20
--=20
Vladimir B. Grebenschikov
vova@sw.ru, SWsoft, Inc.

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?1023440489.531.15.camel>