I prefer DHCP since I don't care about the IP address that is assigned 
to each zone. But willing to live with static IP as well.

Any guidelines on how to set the IP for each zone ?


Bill Walker wrote:
> 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
>>>> seems to quite involving
>>>> and keeps referring to multiple pointers instead of providing
>>>> consolidated docs.
>>>> Are these instructions available any where ?

Application Platform, Sun Microsystems, Inc.
zones-discuss mailing list

Reply via email to