From owner-freebsd-questions Tue Aug 27 6:20:41 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 1DBDB37B400 for ; Tue, 27 Aug 2002 06:20:34 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C665A43E8A for ; Tue, 27 Aug 2002 06:20:32 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id g7RDKBl15462; Tue, 27 Aug 2002 09:20:11 -0400 (EDT) From: Jerry McAllister Message-Id: <200208271320.g7RDKBl15462@clunix.cl.msu.edu> Subject: Re: Fw: How to configure multiple IPs on FreeBSD To: fred@timogen.com Date: Tue, 27 Aug 2002 09:20:11 -0400 (EDT) Cc: budsz@kumprang.or.id (budsz), freebsd-questions@FreeBSD.ORG (OrgFreebsd-Questions@Freebsd.) In-Reply-To: <005001c24de2$8626c2b0$8d05a8c0@fred> from "fred@timogen.com" at Aug 27, 2002 08:57:50 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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? The ifconfigs go in /etc/rc.conf or /etc/rc.conf.local ////jerry > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message