So my question is this, why DHCP?  If you are trying to assign an IP at 
boot time of a zone, you could zonecfg the IP before you boot the zone. 
  I take it that you have a couple zones that might change IP 
occasionally (or frequently).  If the zone changes IP as part of a zone 
reboot, then zonecfg is the easy solution.  Zone down, zonecfg remove 
net, zonecfg add net (set address and physical), zone boot.

If you are really needing DHCP for some reason, I'll defer to others 
with more experience in those realms.

bill.



Arun Gupta wrote:
> Hi Bill,
> 
> That might be it and I'm new to all this :)
> 
> End goal: Configure 2 non-global zones in a Open Solaris Virtual Box 
> image and assign them addresses using DHCP server running in Global zone.
> 
> What exact command would serve that purpose ?
> 
> -Arun
> 
> Bill Walker wrote:
>> Maybe I am missing something here, but wouldn't it be easier to do that 
>> kind of thing with zonecfg?  Unless you are changing some other settings 
>> other than the IP...  Just trying to understand the end result you are 
>> looking for.
>>
>> bill.
>>
>>
>> Arun Gupta wrote:
>>> I'm looking for simple instructions to install zones, configure them
>>> as DHCP clients to the DHCP server in global zone (all in an
>>> OpenSolaris VM using Virtual Bx). The documentation at
>>> http://docs.sun.com/app/docs/doc/817-1592/ seems to quite involving
>>> and keeps referring to multiple pointers instead of providing
>>> consolidated docs.
>>>
>>> Are these instructions available any where ?
> 

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to