summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-11-14 23:34:50 +0000
committerbrooks <brooks@FreeBSD.org>2005-11-14 23:34:50 +0000
commit267072f91c36769a3994a91f21382a9acc77974b (patch)
treef08460df623c0fe4e9db71dff9c7e9dec4e7944f /etc/defaults
parentf30753dc685cc64419b3334ab1b9a49db265f00f (diff)
downloadFreeBSD-src-267072f91c36769a3994a91f21382a9acc77974b.zip
FreeBSD-src-267072f91c36769a3994a91f21382a9acc77974b.tar.gz
Add a new configuration variable, ipv4_addrs_<ifn>, which adds one or
more IPv4 address from a ranged list in CIRD notation: ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28" In the process move alias processing into new ipv4_up/down functions to more toward a less IPv4 centric world. Submitted by: Philipp Wuensche <cryx dash freebsd at h3q dot com>
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 3d543ac..3cce26b 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -154,6 +154,7 @@ ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry.
#ifconfig_ed0_ipx="ipx 0x00010010" # Sample IPX address family entry.
#ifconfig_fxp0_name="net0" # Change interface name from fxp0 to net0.
+#ipv4_addrs_fxp0="192.168.0.1/24 192.168.1.1-5/28" # example IPv4 address entry.
#
# If you have any sppp(4) interfaces above, you might also want to set
# the following parameters. Refer to spppcontrol(8) for their meaning.
OpenPOWER on IntegriCloud