summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2006-04-13 06:50:46 +0000
committerbrooks <brooks@FreeBSD.org>2006-04-13 06:50:46 +0000
commit1f100dedee20c4e7c39b261b0341b1576fc7d656 (patch)
tree9e34297d1772831e3888eb1ecfaa29edae777b1c /share/man
parentb016b4a6093d851f23e2b8536c356732069b9edb (diff)
downloadFreeBSD-src-1f100dedee20c4e7c39b261b0341b1576fc7d656.zip
FreeBSD-src-1f100dedee20c4e7c39b261b0341b1576fc7d656.tar.gz
Commit the various network interface configutation updates I've been
working on. 1) Make it possible to configure interfaces with certain characters in their names that aren't valid in shell variables. Currently supported characters are ".-/+". They are converted into '_' characters. 2) Replace nearly all eval statements in network.subr with a new function get_if_var which substitues an interface name (after the translations above) for "IF" in a variable name. 3) Fix list_net_interfaces() in the nodhcp case. 4) Allow the administrator to specify if dhclient should be started when /etc/rc.d/netif configures the interface or only by devd. This can be set on both a per interface and system wide basis. PR: conf/88974 [1,2], conf/92433 [1,2]
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man5/rc.conf.538
1 files changed, 30 insertions, 8 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index fa05c72..5872475 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -364,6 +364,22 @@ to start the DHCP client in background.
This can cause trouble with applications depending on
a working network, but it will provide a faster startup
in many cases.
+.It Va syncronous_dhclient
+.Pq Bt bool
+Set to
+.Dq Li NO
+to start
+.Xr dhclient 8
+only in response to interface events and not syncronously at startup.
+This behavior can be overridden on a per-interface basis by replacing
+the
+.Dq Li DHCP
+keyword in the
+.Va ifconfig_ Ns Aq Ar interface
+variable with
+.Dq Li SYNCDHCP
+or
+.Dq Li NOSYNCDHCP .
.It Va firewall_enable
.Pq Vt bool
Set to
@@ -942,19 +958,25 @@ for more information.
Set to the list of network interfaces to configure on this host or
.Dq Li AUTO
(the default) for all current interfaces.
-For example, if the only active network devices in the system
-are the loopback device
-.Pq Li lo0
-and a NIC using the
-.Xr ed 4
-driver,
-this could be set to
-.Dq Li "lo0 ed0" .
+Setting the
+.Va network_interfaces
+variable to anything other than the default is deprecated.
+Interfaces that the administrator wishes to store configration for,
+but not start at boot should be configured with the
+.Dq Li NOAUTO
+keyword in their
+.Va ifconfig_ Ns Aq Ar interface
+variables as described below.
.Pp
An
.Va ifconfig_ Ns Aq Ar interface
variable is also assumed to exist for each value of
.Ar interface .
+When an interface name contains any of the characters
+.Dq Li .-/+
+they are translated to
+.Dq Li _
+before lookup.
The variable can contain arguments to
.Xr ifconfig 8 ,
as well as special case-insensitive keywords described below.
OpenPOWER on IntegriCloud