From owner-freebsd-stable Tue Mar 25 4:45:26 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 1D60E37B405 for ; Tue, 25 Mar 2003 04:45:24 -0800 (PST) Received: from norton.palomine.net (norton.palomine.net [66.93.48.52]) by mx1.FreeBSD.org (Postfix) with SMTP id 651A643F3F for ; Tue, 25 Mar 2003 04:45:23 -0800 (PST) (envelope-from cjohnson@palomine.net) Received: (qmail 6109 invoked by uid 1000); 25 Mar 2003 12:45:22 -0000 Date: Tue, 25 Mar 2003 07:45:22 -0500 From: Chris Johnson To: Murat USTUNTAS Cc: stable@freebsd.org Subject: Re: ifconfig alias file exists error Message-ID: <20030325124522.GA6081@palomine.net> References: <3E804DC2.6060307@bimel.com.tr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E804DC2.6060307@bimel.com.tr> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-29.0 required=5.0 tests=EMAIL_ATTRIBUTION,HOT_NASTY,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT 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 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