diff options
author | delphij <delphij@FreeBSD.org> | 2009-08-25 19:07:26 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-08-25 19:07:26 +0000 |
commit | 7bae5f082b1ead5d6efedbc7fba5e58295955967 (patch) | |
tree | c04241d9102ffaeee267654f0b109d3ca5915d6e /share/man/man5 | |
parent | 096e2ed52b404555b9562d2c167059a487d764ea (diff) | |
download | FreeBSD-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 'share/man/man5')
-rw-r--r-- | share/man/man5/rc.conf.5 | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 3075a4e..9d2ba43 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 10, 2009 +.Dd August 25, 2009 .Dt RC.CONF 5 .Os .Sh NAME @@ -2227,6 +2227,22 @@ name server!). .Pq Vt str The IPv6 equivalent of .Va defaultrouter . +.It Va static_arp_pairs +.Pq Vt str +Set to the list of static ARP pairs that are to be added at system +boot time. +For each whitespace separated +.Ar element +in the value, a +.Va static_arp_ Ns Aq Ar element +variable is assumed to exist whose contents will later be passed to a +.Dq Nm arp Cm -S +operation. +For example +.Bd -literal +static_arp_pairs="gw" +static_arp_gw="192.168.1.1 00:01:02:03:04:05" +.Ed .It Va static_routes .Pq Vt str Set to the list of static routes that are to be added at system |