From owner-freebsd-net Fri Jun 7 2: 1:36 2002 Delivered-To: freebsd-net@freebsd.org Received: from vbook.express.ru (asplinux.ru [195.133.213.194]) by hub.freebsd.org (Postfix) with ESMTP id 22C2937B403 for ; Fri, 7 Jun 2002 02:01:33 -0700 (PDT) Received: from vova by vbook.express.ru with local (Exim 3.36 #1) id 17GFcg-0000EJ-00; Fri, 07 Jun 2002 13:01:30 +0400 Subject: Re: problems with ifconfig aliases From: "Vladimir B. " Grebenschikov To: "Joe T." Cc: freebsd-net@freebsd.org In-Reply-To: <20020607003631.46478.qmail@web10105.mail.yahoo.com> References: <20020607003631.46478.qmail@web10105.mail.yahoo.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Mailer: Ximian Evolution 1.0.5 Date: 07 Jun 2002 13:01:29 +0400 Message-Id: <1023440489.531.15.camel@vbook.express.ru> Mime-Version: 1.0 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org =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