[CentOS] Couple of CentOS 5.2 dhcp notes

Mon Jul 7 14:24:23 UTC 2008
R P Herrold <herrold at owlriver.com>

On Sun, 6 Jul 2008, Ian Forde wrote:

> Wrote 0 leases to leases file.
> Listening on LPF/eth0/00:00:de:ad:be:ef/10.0.0/24
> Sending on   LPF/eth0/00:00:de:ad:be:ef/10.0.0/24

??? This network 'name' literal (containing the '/'): 
"10.0.0/24" _looks_ wrong to me (it causes the 'punctuation' 
in the logfile entry to contain an extra '/'). Shouldn't this 
be, rather something, like: "FIRST-LAN"  I do not see a formal 
restriction on the characterset allowed there; this appears:

         Name should be the name of the shared network.    This
 	name  is  used when  printing debugging messages, so
 	it should be descriptive for the shared network.   The
 	name may have the syntax of a valid domain  name
         (although  it  will never be used as such), or it may
 	be any arbitrary name, enclosed in quotes.

I suggest you follow the charset of a valid 'domain name' 
and see if the problem stops.

-- Russ herrold


Jul  7 10:10:51 nfs dhcpd: Listening on LPF/eth0/00:01:02:05:54:ac/FIRST-LAN

shared-network FIRST-LAN {
option routers 10.16.1.1; # router being our router;
option domain-name "first.lan";
default-lease-time 6000 ;
max-lease-time 144000 ;
option subnet-mask 255.255.255.0;
allow booting;
allow bootp;
next-server 10.16.1.112 ;
subnet 10.16.1.0 netmask 255.255.255.0 {
   group {
         default-lease-time 3600;
         max-lease-time 12000;
     host nt {
         hardware ethernet 00:60:97:71:26:52 ;
         fixed-address 10.16.1.2 ;
     }
   }
}
}