clients with no hostname

jeffrey j donovan donovan at beth.k12.pa.us
Wed Jan 18 13:05:59 UTC 2012


Greetings

I have been giving out ip addresses to machines on my network. I'm looking at my lease file and I have found many devices do not have a hostname identifier.

IP address: 10.153.15.101    Lease status: Active    Lease start: 17/01/2012 09:01:11    Lease end: 18/01/2012 09:01:11    Mac address: 00:1e:52:70:f7:53    WINS name: FHS-CFF-LA06-06
IP address: 10.153.15.114    Lease status: Active    Lease start: 17/01/2012 09:01:35    Lease end: 18/01/2012 09:01:35    Mac address: 00:1e:52:70:f7:5e    WINS name: FHS-CFF-LA06-02
IP address: 10.153.15.115    Lease status: Active    Lease start: 17/01/2012 08:27:05    Lease end: 18/01/2012 08:27:05    Mac address: 00:23:12:06:20:4a
IP address: 10.153.15.117    Lease status: Active    Lease start: 17/01/2012 08:45:28    Lease end: 19/01/2012 08:45:28    Mac address: 00:23:12:06:20:6e


how can I ensure a client has a hostname before dhcp hands out an address . in this case, two machines have the correct WINS name, the other has nothing.

Is there a way I can say,...

If WINS name =  " blank" then send this address , else send this.

or

if WINS name = F00 then send " ipaddress "


any insight would be helpful.
-j


More information about the dhcp-users mailing list