Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 04:51:25 +0200
From:      Philipp Wuensche <cryx-freebsd@h3q.com>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        freebsd-rc@freebsd.org
Subject:   Re: alias configuration in rc.conf
Message-ID:  <4355B4AD.20001@h3q.com>
In-Reply-To: <20051017215309.GH15097@odin.ac.hmc.edu>
References:  <435412F7.2030906@h3q.com> <20051017215309.GH15097@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

Brooks Davis wrote:
>
> Finally modifications will be needed to rc.conf(5).

Here is what I made up for rc.conf(5):

One can configure more than one IP address with the
ipv4_<interface>_addr variable. One or more IP addresses must
be provided in Classless Inter-Domain Routing (CIDR) address
notation, whose last byte can be a range like
192.168.0.5-23/24.  In this case the address 192.168.0.5 will
be configured with the netmask /24 and the addresses
192.168.0.6 to 192.168.0.23 with the netmask /32.  With the
interface in question being ed0, an example could look like:

ipv4_ed0_addr="127.0.0.1/24 127.0.1.1-5/28"


Patch can be found at http://outpost.h3q.com/patches/rc.conf.5.patch

greetings,
cryx




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4355B4AD.20001>