Penguin

Differences between version 4 and revision by previous author of DHCPNotes.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 4 Last edited on Tuesday, August 12, 2003 11:30:29 am by DanielLawson Revert
Older page: version 2 Last edited on Monday, May 5, 2003 10:54:03 pm by OrionEdwards Revert
@@ -1,10 +1,15 @@
+  
+Under [Debian] [Woody], you install "dhcp-client" for clients, and "dhcp" for the server. If you have interfaces other than eth0 and lo0 (such as wan0 for MetaNet), then by default dhcp will refuse to start. You need to edit /etc/default/dhcp and put __INTERFACES="eth0"__. Unfortunately this isn't documented anywhere sensible like the dhcpd man page or the README.Debian file.  
+  
+In /etc/dhcpd.conf, the options that take time values are in seconds, although the example file doesn't mention this. It's in the man page though, dhcpd.conf(5)  
+  
 !! Dynamic DNS 
 ISC [DHCP] version 3 and later support dynamic dns updates for DHCP leases. 
  
 I set this up with a seperate forward zone for the dynamic entries. This was mainly to prevent serial and zone file pollution, but also because the dynamic updates create journal files which make editing the static entries hard. 
  
-First of all, you *need* dhcp 3 and above. This is the default dhcp package in recent RedHats , in Debian Woody you want the dhcp3-server package. 
+First of all, you *need* dhcp 3 and above. This is the default dhcp package in recent RedHat , in Debian Woody you want the dhcp3-server package. 
  
 ! Create a key to use for the updates: 
  
  $rndc-confgen -r /dev/urandom 
@@ -15,9 +20,9 @@
  secret "bC9Up7x9abx5mnOKujzgEg=="; 
  }; 
  ... 
  
-! Note: On debian and other systems, rndc is called dnskeygen. RTFM for more. 128 bit HMAC-md5 keys work best 
+! Note: On debian and other systems, rndc is called dnskeygen. RTFM for more. 128 bit HMAC-md5 keys work best -- ''Actually, it *is* called 'rndc-confgen' under debian. It might be something else under redhat? ''  
  
 ! Edit named.conf 
  
 Take the contents of the above snippet, and add an entry into your named.conf for it. 
The following authors of this page have not agreed to the WlugWikiLicense. As such copyright to all content on this page is retained by the original authors. The following authors of this page have agreed to the WlugWikiLicense.

lib/blame.php (In template 'html'):177: Warning: Invalid argument supplied for foreach() (...repeated 2 times)

lib/plugin/WlugLicense.php (In template 'html'):99: Warning: Invalid argument supplied for foreach()

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors