Mary,

I was able to assign the Client ID with pntadm and then set the "Forever" flag:

# pntadm -M 129.148.67.74 -i 0100144F97A180 129.148.67.0
# pntadm -P 129.148.67.0
Client ID       Flags   Client IP       Server IP       Lease Expiration   
Macro           Comment

0100144F97A180  00      129.148.67.74   129.148.67.5    Zero               
dhcp_macro_sparc_install_service


# pntadm -M 129.148.67.74 -f 'PERMANENT+MANUAL' 129.148.67.0
# pntadm -P 129.148.67.0
Client ID       Flags   Client IP       Server IP       Lease Expiration   
Macro           Comment

0100144F97A180  03      129.148.67.74   129.148.67.5    Forever            
dhcp_macro_sparc_install_service


This got me past the errors I was getting when trying to do the same thing via 
dhcpmgr.

Thank you,
George

On 06/24/09 13:45, mary ding wrote:
> George:
> 
> I am not an dhcp expert but this is what I did.  I choose not to use 
> dynamic assigment in my network.
> 
> 
> 
> You can consider permanently assign the IP address to a specific macro.
> 
> In my case, I created a mac specific macro for linea-v245 with its Mac 
> address:
> 
> # dhtadm -P | grep 0100144FA2574C
> 0100144FA2574C          Macro 
> :BootSrvA=10.6.68.21:BootFile="http://10.6.68.21:5555/cgi-bin/wanboot-cgi":
> #
> 
> 
> Then I use dhcpmgr to create an IP address and assign it permanently to 
> this Mac address and it works:
> 
> 
> # pntadm -P 10.6.68.0 | grep linea-v245
> 0100144FA2574C    03      10.6.68.63    10.6.68.47    Forever 
> 0100144FA2574C    linea-v245
> #
> 
> 
> George Kennedy wrote:
>> Hello,
>>
>> I'm running 2009.06 snv_111b X86 on my AI DHCP server with 2 available 
>> DHCP addresses.  I need to restrict the addresses to my 2 sparc 
>> clients as they are being "stolen" by other non-sparc DHCP clients.  I 
>> tried using dhcpmgr to do the restrict ( 
>> http://docs.sun.com/app/docs/doc/806-5529/6jehkcs61?a=view ), but when 
>> I click OK I get "There is no hosts table entry with this name, the 
>> DHCP network table was not updated."  Is this a bug?  The 2 addresses 
>> are in my /etc/hosts file and dhcpmgr Addresses window.  Is there a 
>> way to do the restrict with dhtadm instead?  If so, can you provide 
>> the specifics?
>>
>> See attached "dhtadm -P" output including the macros for the 2 sparc 
>> clients I want to restrict my DHCP addresses to.
>>
>> Here's /var/dhcp/SUNWfiles1_129_148_67_0 showing the 2 addresses I'm 
>> trying to restrict to my sparc clients.
>>
>> # 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|
>>  
>>
>>
>> Thank you in advance,
>> George Kennedy
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> caiman-discuss mailing list
>> caiman-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
> 


Reply via email to