From owner-freebsd-questions Tue Aug 27 10:42: 1 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 40B6B37B400 for ; Tue, 27 Aug 2002 10:41:57 -0700 (PDT) Received: from hotmail.com (oe71.pav2.hotmail.com [64.4.36.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAB1443E6A for ; Tue, 27 Aug 2002 10:41:56 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 27 Aug 2002 10:41:56 -0700 X-Originating-IP: [202.41.224.36] From: "Unix Tools" To: , "budsz" Cc: "OrgFreebsd-Questions@Freebsd." References: <005001c24de2$8626c2b0$8d05a8c0@fred> Subject: Re: How to configure multiple IPs on FreeBSD Date: Tue, 27 Aug 2002 11:26:58 +0530 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 Message-ID: X-OriginalArrivalTime: 27 Aug 2002 17:41:56.0878 (UTC) FILETIME=[09ED02E0:01C24DF1] 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 /etc/rc.conf ----- Original Message ----- From: To: "budsz" Cc: "OrgFreebsd-Questions@Freebsd." Sent: Tuesday, August 27, 2002 09:27 PM Subject: Fw: How to configure multiple IPs on FreeBSD > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message