alias configuration in rc.conf

Brooks Davis brooks at one-eyed-alien.net
Wed Oct 19 09:50:18 PDT 2005


On Wed, Oct 19, 2005 at 04:51:25AM +0200, Philipp Wuensche wrote:
> 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"

An example that is likely to actually work would probably go good (not
using 127.0.0.1), but otherwise this seems fine.  The patch to
etc/network.subr looks good as well.  The next step seems to be rolling
up the full patch.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20051019/60dd7c7b/attachment.bin


More information about the freebsd-rc mailing list