Hi Jan,

I saw this post on caiman-discuss and I think I'm having the problem described. 
 I need to restrict my 2 available
DHCP addresses to my sparc clients in a heterogeneous environment.  Can I do 
this now with dhtadm?  I was unable to
do it with dhcpmgr.  I get "There is no hosts table entry with this name, the 
DHCP network table was not updated."

Can you provide me with an example dhtadm command line macro that would 
restrict my DHCP addresses to sparc clients?

Initial DHCP setup was done with installadm.

Here's info on my AI server:

bur67-05.root:/etc[99]->cat /etc/release
                          OpenSolaris 2009.06 snv_111b X86
            Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                         Use is subject to license terms.
                               Assembled 07 May 2009
bur67-05.root:/etc[100]->dhtadm -P
Name                    Type            Value
==================================================
dhcp_macro_sparc_install_service        Macro 
:BootSrvA=129.148.67.05:BootFile="http://129.148.67.05:5555/cgi-bin/wanboot-cgi":Rootpath="http://129.148.67.05:5555/target/images/AI_sparc_interact":
129.148.67.0            Macro 
:Subnet=255.255.255.0:Router=129.148.67.254:Broadcst=129.148.67.255:NISdmain="Ecd.East.Sun.COM":NISservs=129.148.9.199:
0100144F46FC30          Macro 
:Include=bur67-05:BootSrvA=129.148.67.5:BootFile="http://129.148.67.5:5555/cgi-bin/wanboot-cgi":
0100144F97A180          Macro 
:Include=bur67-05:BootSrvA=129.148.67.5:BootFile="http://129.148.67.5:5555/cgi-bin/wanboot-cgi":
bur67-05                Macro 
:Include=Locale:Timeserv=129.148.67.5:LeaseTim=86400:LeaseNeg:DNSdmain="east.sun.com":DNSserv=129.148.9.197
 129.148.9.196:
Locale                  Macro           :UTCoffst=-18000:
GrubMenu                Symbol          Site,150,ASCII,1,0

bur67-05.root:/etc[101]->cat /var/dhcp/SUNWfiles1_129_148_67_0
# SUNWfiles1_129_148_67_0
#
# Do NOT edit this file by hand -- use pntadm(1M) or dhcpmgr(1M) instead
#
129.148.67.75|0100144F866603|01|129.148.67.5|4294967295|4969440713826631682|dhcp_macro_sparc_install_service|
129.148.67.74|0100144F97A180|01|129.148.67.5|4294967295|13210746556937929321|dhcp_macro_sparc_install_service|
bur67-05.root:/etc[102]->

ID 0100144F97A180 above is one of my sparc clients. ID 0100144F866603 is a 
non-sparc client that grabbed the other available 
address.

I'm a "newbie" to DHCP server management and caiman-discuss.

Thank you,
George Kennedy

 >Hi Ethan,
 >
 >
 >Ethan Quach wrote:
 >> Jan,
 >>
 >> [5] mentions ISC DHCP servers are a supported configuration,
 >> but in [8] the statement is unclear.
 >>
 >> Is it possible to define the SUNW* vendor specific options on an
 >> ISC DHCP server?
 >
 >So far it seems that we wouldn't need to deal with vendor specific
 >options. The proposed solution assumes taking a look at string
 >sent by client to DHCP server as DHCP option 60 (vendor class identifier)
 >For Sun DHCP server, it would mean to create bunch of client class macros -
 >one for each client class.
 >
 >ISC DHCP provides more flexible matching algorithms, e.g.
 >it is possible to match for substring, something like
 >
 >class "ai_x86" {
 >        match if substring (option vendor-class-identifier, 0, 9) 
 > ="PXEClient";
 >        filename  "pxe_grub";
 >}
 >
 >
 >class "ai_sparc" {
 >        match if substring (option vendor-class-identifier, 0, 4) ="SUNW";
 >        filename  "http://192.168.100.2:5555/cgi-bin/wanboot-cgi";;
 >}
 >
 >
 >Thank you for your comments !
 >Jan
 >

Reply via email to