Re: [zones-discuss] Install zones, configure as DHCP client

2009-02-12 Thread Arun Gupta
Closing the loop ... I published a blog on how to install zones at: http://blogs.sun.com/arungupta/entry/totd_68_installing_zones_in Thanks! -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org

Re: [zones-discuss] Install zones, configure as DHCP client

2009-02-09 Thread Bill Walker
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

Re: [zones-discuss] Install zones, configure as DHCP client

2009-02-09 Thread James Carlson
Bill Walker writes: If you are really needing DHCP for some reason, I'll defer to others with more experience in those realms. The only supported way to do this today is to use exclusive stack instance zones (set ip-type = exclusive). It would be nice to have DHCP supported as an option for

Re: [zones-discuss] Install zones, configure as DHCP client

2009-02-09 Thread Arun Gupta
Thanks! 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 ? -Arun Bill Walker wrote: So my question is this, why DHCP? If you are trying to assign an IP at

Re: [zones-discuss] Install zones, configure as DHCP client

2009-02-09 Thread Arun Gupta
Hi James, Can you explain what is exclusive stack instance mean in this context ? Will creating zones in a Virtual Box image qualify as that ? -Arun James Carlson wrote: Bill Walker writes: If you are really needing DHCP for some reason, I'll defer to others with more experience in those

Re: [zones-discuss] Install zones, configure as DHCP client

2009-02-09 Thread James Carlson
Arun Gupta writes: Can you explain what is exclusive stack instance mean in this context ? See the ip-type parameter in zonecfg(1M). Zones can be created using one of two different networking models. In the default shared model, the zones are just given IP addresses on links that are

Re: [zones-discuss] Install zones, configure as DHCP client

2009-02-09 Thread Bill Walker
Something like this should do the trick: host# zonecfg -z my-zone zonecfg:my-zone remove net physical=e1000g0 zonecfg:my-zone add net zonecfg:my-zone:net set address=192.168.0.99/24 zonecfg:my-zone:net set physical=e1000g0 zonecfg:my-zone:net end zonecfg:my-zone commit zonecfg:my-zone exit host#

Re: [zones-discuss] Install zones, configure as DHCP client

2009-02-09 Thread Arun Gupta
Ok, this is helpful and I'm able to make progress. I've installed the zone, configured the properties mentioned below and now booting it. What Name service should I be using ? I come from Windows/Mac world where all these are defaulted and typically not required to be configured explicitly :)

Re: [zones-discuss] Install zones, configure as DHCP client

2009-02-09 Thread Arun Gupta
Thanks James! With an exclusive stack instance, the non-global zone is able to control most of the IP configuration aspects of the interface, including using DHCP to configure the address. (It's unable to supply its own kernel modules, though, because there's still only one kernel image on

Re: [zones-discuss] Install zones, configure as DHCP client

2009-02-09 Thread Arun Gupta
Thanks Glenn, this helps in explanation! For now, I'd like something that is simple and easy to configure. It seems like static IP address is that route for now. -Arun Glenn Faden wrote: Arun, When running OpenSolaris as a VirtualBox guest, the DHCP service is provided by the VirtualBox