[CentOS] Couple of CentOS 5.2 dhcp notes

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

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; # router being our router;
option domain-name "first.lan";
default-lease-time 6000 ;
max-lease-time 144000 ;
option subnet-mask;
allow booting;
allow bootp;
next-server ;
subnet netmask {
   group {
         default-lease-time 3600;
         max-lease-time 12000;
     host nt {
         hardware ethernet 00:60:97:71:26:52 ;
         fixed-address ;

More information about the CentOS mailing list