From owner-freebsd-questions Mon Aug 26 17:59:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB97137B400 for ; Mon, 26 Aug 2002 17:59:54 -0700 (PDT) Received: from marlborough.xo.com (marlborough.xo.com [207.155.248.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 739D443E3B for ; Mon, 26 Aug 2002 17:59:54 -0700 (PDT) (envelope-from fred@timogen.com) Received: from fred ([61.170.151.17]) by marlborough.xo.com id UAA18253; Mon, 26 Aug 2002 20:58:34 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] From: fred@timogen.com Message-ID: <005001c24de2$8626c2b0$8d05a8c0@fred> To: "budsz" Cc: "OrgFreebsd-Questions@Freebsd." Subject: Fw: How to configure multiple IPs on FreeBSD Date: Tue, 27 Aug 2002 08:57:50 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I know I can change the IP address by modifying the configure file. Do u know where is the configure files for ifconfig or route in FreeBSD? Regards, Fred Zhang > ----- Original Message ----- > From: "budsz" > To: "FBSDQ" > Sent: Sunday, August 25, 2002 11:18 PM > Subject: Re: How to configure multiple IPs on FreeBSD > > > > On Sun, Aug 25, 2002 at 08:46:11PM -0700, Roger Harrell wrote: > > >I added the lines > > >ifconfig_fxp0_alias0="inet anotherserverip netmask 255.255.255.0" > > >ifconfig_fxp0_alias1="inet anotherserverip netmask 255.255.255.0" > > >to rc.conf but haven't rebooted, I'm a bit nervous that something's not > > >quite right. > > > > > >When I do: > > >ifconfig fxp0 inet myextractip netmask 255.255.255.0 add > > >I get the error: > > >ifconfig: ioctl (SIOCAIFADDR): File exists > > > > > >I get the same error if I run it: > > >ifconfig fxp0 inet myextractip netmask 255.255.255.0 alias > > > > > >What am I missing? > > > > For assure, You should check all of interface (ifconfig -a) that is > > already "up/down". "ifconfig: ioctl (SIOCAIFADDR): File exists" I think > > this error message mean You repeating entry to database interface. > > > > -- > > budsz > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message