summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-08-25 19:07:26 +0000
committerdelphij <delphij@FreeBSD.org>2009-08-25 19:07:26 +0000
commit7bae5f082b1ead5d6efedbc7fba5e58295955967 (patch)
treec04241d9102ffaeee267654f0b109d3ca5915d6e /etc/defaults
parent096e2ed52b404555b9562d2c167059a487d764ea (diff)
downloadFreeBSD-src-7bae5f082b1ead5d6efedbc7fba5e58295955967.zip
FreeBSD-src-7bae5f082b1ead5d6efedbc7fba5e58295955967.tar.gz
Add a new rc.d script, static_arp, which enables the administrator to
statically bind IPv4 <-> MAC address at boot time. In order to use this, the administrator needs to configure the following rc.conf(5) variable: - static_arp_pairs: A list of names for static bind pairs, and, - a series of static_arp_(name): the arguments that is being passed to ``arp -S'' operation. Example: static_arp_pairs="gw" static_arp_gw="192.168.1.1 00:01:02:03:04:05" See the rc.conf(5) manual page for more details. Reviewed by: -rc@ MFC after: 2 weeks
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 edeedae..afb7e74 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -357,6 +357,7 @@ bsnmpd_flags="" # Flags for bsnmpd.
### Network routing options: ###
defaultrouter="NO" # Set to default gateway (or NO).
+static_arp_pairs="" # Set to static ARP list (or leave empty).
static_routes="" # Set to static route list (or leave empty).
natm_static_routes="" # Set to static route list for NATM (or leave empty).
gateway_enable="NO" # Set to YES if this host will be a gateway.
OpenPOWER on IntegriCloud