Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 1998 11:02:54 +0200 (CEST)
From:      Malte Lance <malte@webmore.com>
To:        Joe McGuckin <joe@via.net>
Cc:        questions@FreeBSD.ORG
Subject:   RE: rc.network question
Message-ID:  <XFMail.980712110254.malte@webmore.com>
In-Reply-To: <199807120616.XAA20892@monk.via.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <malte@webmore.com>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980712110254.malte>