alias configuration in rc.conf

Philipp Wuensche cryx-freebsd at h3q.com
Tue Oct 18 19:51:24 PDT 2005


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



More information about the freebsd-rc mailing list