home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20120305.etc.tar.gz / bradford.20120305.etc.tar / etc / sysconfig / network / dhcp < prev    next >
Text File  |  2007-02-24  |  7KB  |  240 lines

  1. ## Path:    Network/DHCP/DHCP client
  2. ## Description:    DHCP configuration tweaking
  3. #
  4. # Note: 
  5. # To configure one or more interfaces for DHCP configuration, you have to
  6. # change the BOOTPROTO variable in /etc/sysconfig/network/ifcfg-<interface> to
  7. # 'dhcp' (and possibly set STARTMODE='onboot'). 
  8. #
  9. # Most of these options are used only by dhcpcd, not by the ISC dhclient (which 
  10. # uses a config file).
  11. #
  12. # Most of the options can be overridden by setting them in the ifcfg-* files,
  13. # too.
  14.  
  15. ## Type:    string
  16. ## Default:    ""
  17. ## ServiceRestart: network
  18. #
  19. # Which DHCP client should be used? 
  20. # If empty, dhcpcd is tried, then dhclient 
  21. # Other possible values:
  22. #     dhcpcd   (DHCP client daemon)
  23. #     dhclient (ISC dhclient)
  24. DHCLIENT_BIN=""
  25.  
  26. ## Type:    yesno
  27. ## Default:    no
  28. #
  29. # Start in debug mode? (yes|no)
  30. # (debug info will be logged to /var/log/messages for dhcpcd, or to
  31. # /var/log/dhclient-script for ISC dhclient)
  32. #
  33. DHCLIENT_DEBUG="no"
  34.  
  35. ## Type:    yesno
  36. ## Default:    no
  37. #
  38. # Should the DHCP client set the hostname? (yes|no)
  39. # When it is likely that this would occur during a running X session, 
  40. # your DISPLAY variable could be screwed up and you won't be able to open
  41. # new windows anymore, then this should be "no". 
  42. #
  43. # If it happens during booting it won't be a problem and you can 
  44. # safely say "yes" here. For a roaming notebook with X kept running, "no"
  45. # makes more sense. 
  46. #
  47. DHCLIENT_SET_HOSTNAME="no"
  48.  
  49. ## Type:    yesno
  50. ## Default:    yes
  51. #
  52. # Should the DHCP client modify /etc/resolv.conf at all? 
  53. # If not, set this to "no". (The default is "yes") 
  54. #
  55. # resolv.conf will also stay untouched when MODIFY_RESOLV_CONF_DYNAMICALLY 
  56. # in /etc/sysconfig/network/config is set to "no". 
  57. #
  58. DHCLIENT_MODIFY_RESOLV_CONF="yes"
  59.  
  60. ## Type:    yesno
  61. ## Default:    yes
  62. #
  63. # Should the DHCP client set a default route (default Gateway) (yes|no)
  64. #
  65. # When multiple copies of dhcpcd run, it would make sense that only one
  66. # of them does it. 
  67. #
  68. DHCLIENT_SET_DEFAULT_ROUTE="yes"
  69.  
  70. ## Type:    yesno
  71. ## Default:    no
  72. #
  73. # Should the DHCP client modify the NTP configuration? (yes|no)
  74. #
  75. # If set to yes, /etc/ntp.conf is rewritten (and restored upon exit).
  76. # If you don't want this, set this variable to "no". (The default is "no") 
  77. #
  78. DHCLIENT_MODIFY_NTP_CONF="no"
  79.  
  80. ## Type:    yesno
  81. ## Default:    no
  82. #
  83. # Should the DHCP client modify the NIS configuration? (yes|no)
  84. #
  85. # If set to yes, /etc/yp.conf is rewritten (and restored upon exit).
  86. # If you don't want this, set this variable to "no". (The default is "no") 
  87. #
  88. DHCLIENT_MODIFY_NIS_CONF="yes"
  89.  
  90. ## Type:    yesno
  91. ## Default:    yes
  92. #
  93. # Should the DHCP client set the NIS domainname? (yes|no)
  94. # (if the server supplies the nis-domain option)
  95. #
  96. DHCLIENT_SET_DOMAINNAME="yes"
  97.  
  98. ## Type:    yesno
  99. ## Default:    yes
  100. #
  101. # When writing a new /etc/resolv.conf, should the DHCP client take an 
  102. # existing searchlist and add it to the one derived from the DHCP server? 
  103. #
  104. DHCLIENT_KEEP_SEARCHLIST="yes"
  105.  
  106. ## Type:    integer
  107. ## Default:    ""
  108. #
  109. # Lease time to request ( -l option)
  110. #
  111. # Specifies (in seconds) the lease that is suggested to the server. 
  112. # The default is infinite. For a mobile computer you probably want to
  113. # set this to a lower value.
  114. #
  115. DHCLIENT_LEASE_TIME=""
  116.  
  117. ## Type:    integer
  118. ## Default:    999999
  119. #
  120. # (only dhcpcd does use this setting)
  121. #
  122. # You can set the timeout (dhcpcd will terminate after this time when it 
  123. # does not get a reply from the server). 
  124. #
  125. # The default timeout of dhcpcd is 60 seconds. However, we'll set it to a 
  126. # much longer time. dhcpcd will then run as a daemon in the background and
  127. # broadcast a DHCPDISCOVER once in a while, trying to get a lease.
  128. #
  129. DHCLIENT_TIMEOUT="999999"
  130.  
  131. ## Type:    integer
  132. ## Default:    ""
  133. #
  134. # (only dhcpcd does use this setting)
  135. #
  136. # INIT-REBOOT timeout ( -z option)
  137. #
  138. # This timeout is specifically to control how long dhcpcd tries to reacquire
  139. # a previous lease (init-reboot state), before it starts getting a new one. 
  140. # Default: 10
  141. #
  142. DHCLIENT_REBOOT_TIMEOUT=""
  143.  
  144. ## Type:    string
  145. ## Default:    AUTO
  146. #
  147. # specify a hostname to send ( -h option)
  148. #
  149. # specifies a string used for the hostname option field when dhcpcd sends DHCP
  150. # messages. Some DHCP servers will update nameserver entries (dynamic DNS).
  151. # Also, some DHCP servers, notably those used by @Home Networks, require the
  152. # hostname option field containing a specific string in the DHCP messages from
  153. # clients.
  154. #
  155. # By default the current hostname is sent ("AUTO"), if one is defined in 
  156. # /etc/HOSTNAME. 
  157. # Use this variable to override this with another hostname, or leave empty
  158. # to not send a hostname.
  159. #
  160. DHCLIENT_HOSTNAME_OPTION="AUTO"
  161.  
  162. ## Type:    string
  163. ## Default:    ""
  164. #
  165. # specify a client ID ( -I option)
  166. #
  167. # Specifies a client identifier string. By default the hardware address of the
  168. # network interface is sent as client identifier string, if none is specified
  169. # here.
  170. #
  171. # Note that dhcpcd will prepend a zero to what it sends to the server. In the
  172. # server configuration, you need to write the following to match on it:
  173. #  option dhcp-client-identifier "\0foo";
  174. #
  175. DHCLIENT_CLIENT_ID=""
  176.  
  177. ## Type:    string("dhcpcd dhclient")
  178. ## Default:    ""
  179. #
  180. # specify a vendor class ID ( -i option)
  181. #
  182. # Specifies the vendor class identifier string.  dhcpcd uses the default vendor
  183. # class identifier string (system name, system release, and machine type) if it
  184. # is not specified.
  185. #
  186. DHCLIENT_VENDOR_CLASS_ID=""
  187.  
  188. ## Type:    yesno
  189. ## Default:    no
  190. #
  191. # Send a DHCPRELEASE to the server (sign off the address)? (yes|no)
  192. # This may lead to getting a different address/hostname next time an address
  193. # is requested. But some servers require it.
  194. #
  195. DHCLIENT_RELEASE_BEFORE_QUIT="no"
  196.  
  197. ## Type:    string
  198. ## Default:    ""
  199. #
  200. # Run this script when the interface is brought up, down, or the IP address
  201. # changes ( -c option)
  202. #
  203. # Per default, /etc/sysconfig/network/scripts/dhcpcd-hook is run.
  204. # To disable this functionality altogether you can enter "/bin/true" here.
  205. #
  206. DHCLIENT_SCRIPT_EXE=""
  207.  
  208. ## Type:    yesno
  209. ## Default    yes
  210. #
  211. # Force dhcpcd to calculate UDP checksum on received packets. (yes|no)
  212. # This corresponds to dhcpcd's -C option.
  213. #
  214. DHCLIENT_UDP_CHECKSUM="yes"
  215.  
  216. ## Type:    string
  217. ## Default:    ""
  218. #
  219. # additional options, e.g. "-B"
  220. #
  221. DHCLIENT_ADDITIONAL_OPTIONS=""
  222.  
  223. ## Type:    integer
  224. ## Default:    0
  225. #
  226. # Some interfaces need time to initialize. Add the latency time in seconds
  227. # so these can be handled properly. Should probably set per interface rather than here.
  228. #
  229. DHCLIENT_SLEEP="0"
  230.  
  231. ## Type:    integer
  232. ## Default:    5
  233. #
  234. # When the DHCP client is started at boot time, the boot process will stop
  235. # until the interface is successfully configured, but at most for
  236. # DHCLIENT_WAIT_AT_BOOT seconds.
  237. #
  238. DHCLIENT_WAIT_AT_BOOT="5"
  239.