summaryrefslogtreecommitdiffstats
path: root/dhcpcd.conf.5.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-03-31 08:35:38 +0000
committerRoy Marples <roy@marples.name>2009-03-31 08:35:38 +0000
commit6f767217f6e4c3be4a23fcd330f5252b8ff5c238 (patch)
treec93d968d8652a118e4d7ed02f8153f6d1e54f806 /dhcpcd.conf.5.in
parent4a4bcf7cf5fa713dd62912f0c1c7c2e1ef543e4b (diff)
downloaddhcpcd-6f767217f6e4c3be4a23fcd330f5252b8ff5c238.tar.xz
Add the ability to arping an address and select a profile based on the
hardware address replied with or the ip address.
Diffstat (limited to 'dhcpcd.conf.5.in')
-rw-r--r--dhcpcd.conf.5.in21
1 files changed, 18 insertions, 3 deletions
diff --git a/dhcpcd.conf.5.in b/dhcpcd.conf.5.in
index 988d74e9..51793773 100644
--- a/dhcpcd.conf.5.in
+++ b/dhcpcd.conf.5.in
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd March 19, 2009
+.Dd March 31, 2009
.Dt DHCPCD.CONF 5 SMM
.Os
.Sh NAME
@@ -57,13 +57,25 @@ When discovering interfaces, the interface name must not match
.Ar pattern
which is a space or comma separated list of patterns passed to
.Xr fnmatch 3 .
+.It Ic arping Ar address Op address
+.Nm dhcpcd
+will arping each address in order.
+If an address is found, we will select the replying hardware address as the
+profile, otherwise the ip address.
+Example:
+.Pp
+.D1 interface bge0
+.D1 arping 192.168.0.1
+.Pp
+.D1 profile 192.168.0.1
+.D1 static ip_address=192.168.0.10/24
.It Ic background
Background immediately.
This is useful for startup scripts which don't disable link messages for
carrier status.
-.It Ic blacklist Ar address Ns Op Ar /cidr
+.It Ic blacklist Ar address Ns Op /cidr
Ignores all packets from
-.Ar address Ns Op Ar /cidr .
+.Ar address Ns Op /cidr .
.It Ic clientid Ar string
Send the
.Ar clientid .
@@ -149,6 +161,9 @@ If
detects an address added to a point to point interface (PPP, TUN, etc) then
it will set the listed DHCP options to the destination address of the
interface.
+.It Ic profile Ar name
+Subsequent options are only parsed for this profile
+.Ar name .
.It Ic quiet
Supress any dhcpcd output to the console, except for errors.
.It Ic reboot Ar seconds