From owner-freebsd-questions@FreeBSD.ORG Thu Aug 26 22:03:01 2004 Return-Path: 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 162A416A4CE for ; Thu, 26 Aug 2004 22:03:01 +0000 (GMT) Received: from grog.secure-computing.net (grog.secure-computing.net [63.228.14.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87B5C43D39 for ; Thu, 26 Aug 2004 22:03:00 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from [127.0.0.1] (nat-server.secure-computing.net [63.228.14.245]) (authenticated bits=0)i7QM1h2s048497; Thu, 26 Aug 2004 17:01:48 -0500 (CDT) (envelope-from ecrist@secure-computing.net) Message-ID: <412E5C4B.3040205@secure-computing.net> Date: Thu, 26 Aug 2004 16:55:23 -0500 From: Eric F Crist Organization: Secure Computing Networks User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bob Ababurko References: <5.2.1.1.0.20040824183938.01a70a08@mail.dc2.adelphia.net> In-Reply-To: <5.2.1.1.0.20040824183938.01a70a08@mail.dc2.adelphia.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version 0.74, clamav-milter version 0.74a on grog.secure-computing.net X-Virus-Status: Clean cc: questions@freebsd.org Subject: Re: cannot get rc.conf to configure an second interface X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ecrist@secure-computing.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Aug 2004 22:03:01 -0000 Bob Ababurko wrote: > Hello- > > I am trying to configure rc.conf to set up my second interface. Right > now, I have these lines in the rc.conf file and when I boot the mahine, > fxp1 is not configured. Also, it seems that that ipv6 is set up an I am > not sure how to disable it. Here is my rc.conf entries that refer to > the network: > > ifconfig_fxp0="inet 192.168.102.14 netmask 255.255.255.0" > ifconfig_fxp1="inet 192.168.102.15 netmask 255.255.255.0" > defaultrouter="192.168.102.1" > > IS there thing else that I need to do to configure fxp1 to survive a > reboot? One thing that happens when I configure the NIC with ifconfig > is this: > bash-2.05b# ifconfig fxp1 192.168.102.15 netmask 255.255.255.0 > ifconfig: ioctl (SIOCAIFADDR): File exists > what I end up needing to do is configure the IP and then the network, > separately. I think that this error has something to do with my > problem, but I am not sure how to deal with that. Any info that anyone > ca lead me to will be great. > > thanks, > Bob If I've been learning anything lately, you cannot have two interfaces configured on the same subnet on FreeBSD. The boot process is erroring out on this, hence why you're getting the ifconfig error listed above. One way to get around this is set those interfaces with a netmask of all ones, or 255.255.255.255, or simply do have these entries in you're rc.conf file: ifconfig_fxp0="inet 192.168.102.14/32" ifconfig_fxp1="inet 192.168.102.15/32" defaultrouter="192.168.102.1" Again, this is if I got everything correctly. HTH Eric F Crist