<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-2" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18813">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV><FONT size=2 face=Arial>Hi,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I am working on a system which already has classes
with 'match-hardware' and a lot of subclass "classname" 1:macaddress; lines to
select between pools for different devices. Now I am planning to upgrade the
system and add new hosts (that are not in the existing system) and put them into
classes via vendor-class-identifier. Now the problem is, that also the existing
devices have the same vendor-class identifier. </FONT></DIV>
<DIV><FONT size=2 face=Arial>So my idea is to simply keep that subclass entries
for all the already existing devices and create a new class with vendor-id. I
have some questions about that:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>- will the existing devices that are identified via
subclass MAC entries be identified successfully although another class will be
on the of the configuration file where there will be the same vendor-id for the
devices that are not added yet?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>- when I add a new host via omshell
with</FONT></DIV>
<DIV><FONT size=2 face=Arial>set hardware-address, set hardware-type, set
known=1 and set group, I can see in leases file that a host entry exists with
some strange chars before the "host" word:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>^@^@^... @host nh1234444333 {<BR>
dynamic;<BR> hardware unknown-0 00:11:22:33:44:55;<BR> group
"newGroup";<BR>}<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>and then after some time the lease
appears:</FONT></DIV>
<DIV><FONT size=2 face=Arial>lease IP {<BR> starts 2 2009/10/06
12:23:15;<BR> ends 2 2009/10/06 12:40:41;<BR> tstp 2 2009/10/06
12:40:41;<BR> binding state free;<BR> hardware ethernet
00:11:22:33:44:55;<BR> uid "\001\...";<BR>}<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>Are those ^@ combinations normal? and is normal to
have a host defined in a leases file? </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I have been bugging with this for some time now and
I can't seem to find a solution.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2>TIA.</FONT></FONT></DIV>
<DIV><FONT size=2 face=Arial>Matej</FONT></DIV></DIV></BODY></HTML>