Penguin

Differences between version 5 and predecessor to the previous major change of DHCPNotes.

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

Newer page: version 5 Last edited on Tuesday, August 12, 2003 9:27:02 pm by CraigBox Revert
Older page: version 4 Last edited on Tuesday, August 12, 2003 11:30:29 am by DanielLawson Revert
@@ -1,5 +1,4 @@
-  
 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) 
  
@@ -20,9 +19,9 @@
  secret "bC9Up7x9abx5mnOKujzgEg=="; 
  }; 
  ... 
  
-! 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? ''  
+__ Note:__ '' rndc'' might be called '' dnskeygen'' . [ RTFM] for more. 128 bit HMAC-md5 keys work best. 
  
 ! Edit named.conf 
  
 Take the contents of the above snippet, and add an entry into your named.conf for it. 
@@ -38,18 +37,22 @@
  allow-update { key DHCP_UPDATER; }; 
  
 e.g., I have: 
  
- zone "dyn.mydomain.something" { 
+ zone "dyn.mydomain.something. " { 
  type master; 
  file "/etc/bind/zone/db.dyn.mydomain.something"; 
  allow-update { key DHCP_UPDATER; }; 
  }; 
  
+Remember to add it to the reverse zone as well:  
+  
+ zone "z.y.x.in-addr.arpa."  
  
 Note that if you use a new zone (ie, not your normal zone) you'll need to create the basic zone file for it, ie SOA entry and so on. Thats another topic tho. 
  
-! Edit dhcpd.conf 
+!Edit dhcpd.conf  
+  
 This assumes you have a working DHCP3 config file. 
  
 Add the following entries to your dhcp.conf: 
  
@@ -83,8 +86,9 @@
  subnet 10.0.0.0 netmask 255.255.255.0 { 
  option subnet-mask 255.255.255.0; 
  
  option domain-name "mydomain.something"; 
+ option routers 10.0.0.254;  
  option domain-name-servers 10.0.0.1; 
  option netbios-name-servers 10.0.0.1; 
  
  range dynamic-bootp 10.0.0.150 10.0.0.250; 
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