summaryrefslogtreecommitdiffstats
path: root/dhcpcd.8.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-11 09:38:02 +0000
committerRoy Marples <roy@marples.name>2008-09-11 09:38:02 +0000
commitba97e49417ba7463405abdb7d62e834349f0d329 (patch)
tree1fb76674117bdf91b2325ab76536bdb52ef3b540 /dhcpcd.8.in
parent03c2c87907acec01b024d525414bd76f7d001a15 (diff)
downloaddhcpcd-ba97e49417ba7463405abdb7d62e834349f0d329.tar.xz
Add allowinterfaces and denyinterfaces options to dhcpcd.conf for better multiple interface support.
Diffstat (limited to 'dhcpcd.8.in')
-rw-r--r--dhcpcd.8.in22
1 files changed, 20 insertions, 2 deletions
diff --git a/dhcpcd.8.in b/dhcpcd.8.in
index aba3b866..f0ae80a5 100644
--- a/dhcpcd.8.in
+++ b/dhcpcd.8.in
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd September 3, 2008
+.Dd September 11, 2008
.Dt DHCPCD 8 SMM
.Sh NAME
.Nm dhcpcd
@@ -42,12 +42,14 @@
.Op Fl t , -timeout Ar seconds
.Op Fl u , -userclass Ar class
.Op Fl v , -vendor Ar code , Ar value
+.Op Fl z , -allowinterfaces Ar pattern
.Op Fl C , -nohook Ar hook
.Op Fl F , -fqdn Ar FQDN
.Op Fl I , -clientid Ar clientid
.Op Fl O , -nooption Ar option
.Op Fl Q , -require Ar option
.Op Fl X , -blacklist Ar address
+.Op Fl Z , -denyinterfaces Ar pattern
.Op interface
.Op ...
.Nm
@@ -104,8 +106,10 @@ can be run per interface or as a single instance to manage all interfaces.
If a list of interfaces are given on the command line, then
.Nm
only works with those interfaces.
-If no interfaces are given then we detect all available interfaces and
+If no interfaces are given then we discover available interfaces and
attempt to configure all of them.
+See options below for controlling what interfaces we allow and deny through
+the use of patterns.
.Ss Hooking into DHCP events
.Nm
runs
@@ -349,6 +353,14 @@ Quiet
.Nm
on the command line, only warnings and errors will be displayed.
The messages are still logged though.
+.It Fl z , -allowinterfaces Ar pattern
+When discovering interfaces, the interface name must match
+.Ar pattern
+which is a space or comma separated list of patterns passed to
+.Xr fnmatch 3 .
+If the same interface is matched in
+.Fl Z , -denyinterfaces
+then it is still denied.
.It Fl A , -noarp
Don't request or claim the address by ARP.
This also disables IPv4LL.
@@ -397,6 +409,11 @@ as the server ID.
This may be expanded in future releases to ignore all packets
matching either the IP or hardware
.Ar address .
+.It Fl Z , -denyinterfaces Ar pattern
+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 .
.El
.Sh NOTES
.Nm
@@ -430,6 +447,7 @@ running on the
.Xr dhcpcd-run-hooks 8 ,
.Xr resolv.conf 5 ,
.Xr resolvconf 8 ,
+.Xr fnmatch 3
.Sh STANDARDS
RFC 2131, RFC 2132, RFC 2855, RFC 3004, RFC 3361, RFC 3396, RFC 3397,
RFC 3442, RFC 3927, RFC 4361, RFC 4390, RFC 4702.