*** From dhcp-server -- To unsubscribe, see the end of this message. ***

I'm trying to restrict internet access based on the hostname. I want no
fixed addresses -- all clients should be dynamic. The clients are all
Win95/98 (soon to be NT too) and the server is on RH5.2. I've been
reading through the mailing list that I've collected over the last few
months and this suggestion was in there:

    > Don't forget that  you can _also_ get the behaviour you want by
    > specifying address ranges, writing host declarations for all
    > authorized hosts, and writing "deny unknown-clients;"

                               _MelloN_


so I tried this in my dhcpd.conf:

subnet 207.135.151.128 netmask 255.255.255.192 {
  # Common Parameters
  range 207.135.151.143 207.135.151.190;
  deny unknown-clients;
  default-lease-time 25200;
  max-lease-time 25200;
  option broadcast-address 207.135.151.191;
  option domain-name "streaminfo.com";

  # Internet Access
  group {
    option routers 207.135.151.129;
    host thinkpad1{}
    host notebook{}
  }

  # No Internet
  group {
    host CDR{}
  }
}



If I comment the "deny unknown-clients" parameter, the server will hand
out leases to everyone, but with it uncommented, the server won't hand
out leases at all. The hostnames that I've added to the groups in the
.conf above *are* the names that show in the .leases file
"client-hostname" and *are* correct from the Network Neighborhood "ID"
tab, but somehow dhcpd isn't recognizing it. Do host delcarations
require fixed addresses to be recognized? 

I know it's a rather naive attempt.

Any help is be greatly appreciated.

Thanks,

-- 
   Ethan Vaughn
   [EMAIL PROTECTED]
-----------------------------------------------------------------------
To unsubscribe from this list, visit http://www.isc.org/dhcp-lists.html 
or send mail to [EMAIL PROTECTED] with the subject line of  
'unsubscribe'.
-----------------------------------------------------------------------

Reply via email to