Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 07:45:22 -0500
From:      Chris Johnson <dcj-dated-1048596266.eigigdff@palomine.net>
To:        Murat USTUNTAS <ustuntas@bimel.com.tr>
Cc:        stable@freebsd.org
Subject:   Re: ifconfig alias file exists error
Message-ID:  <20030325124522.GA6081@palomine.net>
In-Reply-To: <3E804DC2.6060307@bimel.com.tr>
References:  <3E804DC2.6060307@bimel.com.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030325124522.GA6081>