From owner-freebsd-stable Tue Mar 25 5:17:38 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7909837B401 for ; Tue, 25 Mar 2003 05:17:35 -0800 (PST) Received: from likya.bimel.com.tr (likya.bimel.com.tr [212.175.96.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 182E043FF3 for ; Tue, 25 Mar 2003 05:17:30 -0800 (PST) (envelope-from ustuntas@bimel.com.tr) Received: (from root@localhost) by likya.bimel.com.tr (8.12.8/8.12.7) id h2PDAwEC071609; Tue, 25 Mar 2003 15:10:58 +0200 (EET) (envelope-from ustuntas@bimel.com.tr) Received: from bimel.com.tr (zeugma.bimel.com.tr [212.175.96.11]) by likya.bimel.com.tr (8.12.8/8.12.7av) with ESMTP id h2PDAu8B071600; Tue, 25 Mar 2003 15:10:56 +0200 (EET) (envelope-from ustuntas@bimel.com.tr) Message-ID: <3E805928.9000103@bimel.com.tr> Date: Tue, 25 Mar 2003 15:27:04 +0200 From: Murat USTUNTAS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202 X-Accept-Language: tr, en-us, en MIME-Version: 1.0 To: Chris Johnson Cc: stable@freebsd.org Subject: Re: ifconfig alias file exists error References: <3E804DC2.6060307@bimel.com.tr> <20030325124522.GA6081@palomine.net> In-Reply-To: <20030325124522.GA6081@palomine.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 X-Spam-Status: No, hits=-17.0 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,HOT_NASTY,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sorry, But, I just searched the FreeBSD mailing list, and I didnt find any answer about the problem, then i sent the message the list. I solve the problem using your answers, thank you. Regards, Murat Ustuntas Chris Johnson wrote: >On Tue, Mar 25, 2003 at 02:38:26PM +0200, Murat USTUNTAS wrote: > > >>I want to put second IP on my nic cart. I have been using FreeBSD-4.8-RC, >> >>when i put the command, >> >>ifconfig rl0 alias xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx >> >>returns me: >> >>ifconfig: ioctl (SIOCAIFADDR): File exists >> >> > >You could have found the answer in two seconds using Google. > >You're adding an address in the same subnet as the first address for this >interface, and you're not providing a netmask of 255.255.255.255. See the >ifconfig man page. > >Chris Johnson > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message