From owner-freebsd-questions@FreeBSD.ORG Wed Aug 31 09:02:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 D900716A41F for ; Wed, 31 Aug 2005 09:02:50 +0000 (GMT) (envelope-from Ewald.Jenisch@oekb.at) Received: from srvdmz13.oekb.co.at (srvdmz13.oekb.co.at [143.245.5.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id E85DE43D46 for ; Wed, 31 Aug 2005 09:02:48 +0000 (GMT) (envelope-from Ewald.Jenisch@oekb.at) X-SEF-Processed: 5_0_0_713__2005_08_31_11_02_46 X-SEF-EB89CDFD-460A-478E-BCAC-B017B9EC121B: 1 Received: from Unknown [143.245.2.191] by srvdmz13.oekb.co.at - SurfControl E-mail Filter (5.0); Mi, 31 Aug 2005 11:02:46 +0200 Received: from aurora.oekb.co.at ([143.245.9.16]) by MAIL01.oekb.co.at with Microsoft SMTPSVC(5.0.2195.6713); Wed, 31 Aug 2005 11:02:46 +0200 Received: from aurora.oekb.co.at (localhost.oekb.co.at [127.0.0.1]) by aurora.oekb.co.at (8.13.3/8.13.1) with ESMTP id j7V92j37003600 for ; Wed, 31 Aug 2005 11:02:45 +0200 (CEST) (envelope-from ej@aurora.oekb.co.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.13.3/8.13.1/Submit) id j7V92jRB003599 for freebsd-questions@freebsd.org; Wed, 31 Aug 2005 11:02:45 +0200 (CEST) (envelope-from ej) Date: Wed, 31 Aug 2005 11:02:45 +0200 From: Ewald Jenisch To: freebsd-questions@freebsd.org Message-ID: <20050831090245.GA3534@aurora.oekb.co.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 31 Aug 2005 09:02:46.0435 (UTC) FILETIME=[C1359F30:01C5AE0A] Subject: rc.conf - setting interface UP without IP-address? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2005 09:02:51 -0000 Hi, I'm looking for a way to set an interface UP using /etc/rc.conf without giving the interface an IP-address (i.e. neither static nor DHCP) Background: The machine in question has three Ethernet-IFs - one connects to the LAN (and has an IP-address) the other two are used for monitoring traffic via ethereal only. For security reasons I don't want to assign IP-addresses to the two "ethereal-only" interfaces - but I need them "UP". Sure enough I can "up" these interfaces manually but I want them up at boot-time. I've tried with entries like e.g. ifconfig_fxp1="" ifconfig_fxp1="UP" in my /etc/rc.conf - none of these work. So what should I configure in /etc/rc.conf in order to get the interfaces UP? BTW - ethereal only recognizes interfaces that are in the "UP" state. Thanks much in advance for any clue, -ewald