From owner-freebsd-questions Sun Jul 12 02:04:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA28234 for freebsd-questions-outgoing; Sun, 12 Jul 1998 02:04:51 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (cyclone.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA28219 for ; Sun, 12 Jul 1998 02:04:40 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.162]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Sun, 12 Jul 1998 11:06:19 +0200 Received: (from malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) id LAA02307; Sun, 12 Jul 1998 11:02:55 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199807120616.XAA20892@monk.via.net> Date: Sun, 12 Jul 1998 11:02:54 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: Joe McGuckin Subject: RE: rc.network question Cc: questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In /etc/rc.conf: ------------------ network_interfaces="isppp0 ed0 lo0" # List of network interfaces (lo0 is loo pback). ifconfig_ed0="" # see /etc/start_if.ed0 ifconfig_lo0="" # default loopback device configuration. # see /etc/start_if.lo0 ifconfig_isppp0="" # see /etc/start_if.isppp In /etc/start_if.ed0: ----------------------- /sbin/ifconfig ed0 inet 192.168.250.5 netmask 0xffffff00 # /sbin/ifconfig ed0 inet 192.168.250.2 netmask 0xffffffff alias # /sbin/ifconfig ed0 inet 192.168.1.2 netmask 0xffffff00 alias Why do you want to ifconfig via /etc/rc.conf at all when you are already using /etc/start_if.* ? Malte. On 12-Jul-98 Joe McGuckin wrote: > > > Is there any particular reason that start_if is evaluated before the > primary ifconfig stmt in rc.conf? > > I have been using the rc.conf to set the 'primary' address of a web server > and then using start_if to set all the aliases. > Unfortunately, due to the order of evaluation of the start_if file and > the primary ifconfig stmt in rc.conf the result is that the first alias > stmt in start_if is deleted/negated. > > joe > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Malte Lance Date: 12-Jul-98 Time: 10:58:57 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message